68 Commits
Author SHA1 Message Date
Yota Hamada fa9e41b999 refactor(config): load only necessary config for context (#1467)
* **New Features**
* Service-scoped configuration loader with explicit per-command flag
binding and a loader-based API.

* **Bug Fixes**
* More robust parsing of environment and key=value inputs; malformed
entries are ignored.
* Logging, TLS, peer, scheduler and timezone settings consistently read
from the new Core config namespace.

* **Refactor**
* Public config field renamed: Global → Core — update config files and
tools to use Core.* fields.
2025-12-10 00:31:08 +09:00
Yota Hamada d4b8484ca8 feat(all): implement builtin user management feature (#1463)
* **New Features**
* Built-in RBAC auth with JWT login, token handling, and user lifecycle
APIs (list/create/view/update/delete, reset/change password).
* **UI**
* Login flow, protected routes, Users management page,
change/reset-password modals, user menu and role-aware navigation.
* **Behavior**
* v1 routes disabled when auth enabled; runtime config exposes authMode
and usersDir; client persists auth token.
* **Documentation**
  * Added builtin auth docs and new env/config options.
* **Tests**
* Extensive tests for auth service, file-backed store, and API handlers.
2025-12-09 18:09:11 +09:00
Yota Hamada b4c857d7b4 feat(all): Resource monitoring for CPU, memory, disk (#1461)
* **New Features**
* Resource history API (GET /services/resources/history) returning CPU,
memory, disk and load time series; supports duration and remote-node
query params.
* Background resource monitoring service with in-memory retention and
configurable sampling interval.
* Resource Usage charts added to System Status with loading/error
states, current-value display, auto-refresh and last-updated timestamp.

* **Chores**
* Monitoring config defaults (retention 24h, interval 5s), config
parsing and environment bindings.
  * Server startup integrates resource service lifecycle.

* **Tests**
* New unit and integration tests for the monitoring service, store, ring
buffer, and API.
2025-12-08 01:46:10 +09:00
YotaHamada c79f7c51ec feat(ui): Add system path information (#1443)
* Added Paths display panel in System Status page, showing system
filesystem locations (DAGs, logs, config files, etc.) with
copy-to-clipboard functionality.

* **UI/UX Improvements**
* Updated System Status controls with more compact button sizing and
simplified labels.

* **Changes**
  * Modified DAG rename operation to streamline the process.
2025-12-04 21:06:20 +09:00
YotaHamada 8b340e63f6 fix(all): resolve working directory relative paths correctly (#1436)
- DAG-level relative `workingDir` now resolves against DAG file location
- Step-level relative `dir` now resolves against DAG's `workingDir`
2025-12-02 21:58:12 +09:00
YotaHamada 74096780fe fix(scheduler): start DAG entry reader on startup (#1427)
fixes #1423 

- Fix bug where the entry reader was not started
- Add test to ensure cron scheduler invokes job properly
2025-11-30 21:43:50 +09:00
YotaHamada a7e61b5653 feat(spec): add DAG level shell field (#1426)
- add dag level 'shell' field
- refactor to handle shell detection consistently
2025-11-30 02:31:49 +09:00
YotaHamada 067e330cfc status: rename canceled state to aborted across CLI, API, and UI (#1405) 2025-11-11 23:54:43 +09:00
YotaHamada 2bc19afa9a fix(api): expose health check without auth (#1406) 2025-11-11 23:32:17 +09:00
YotaHamadaandCopilot 73855a282b Enhance distributed execution support (#1360)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-26 18:08:56 +09:00
YotaHamadaandCopilot c861c6be41 runtime: align canonical status strings and expose DAG_RUN_STATUS to handlers (#1340)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-19 23:30:38 +09:00
YotaHamadaandCopilot 02eeb5bc8f fix: scheduler queue starves when retry dispatch blocks heartbeat detection (#1339)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-19 18:42:12 +09:00
YotaHamada 85439bc71e Refactor internal packages into layered architecture (#1319) 2025-10-13 03:52:00 +09:00
YotaHamada 17e719382d Add Executor Validation and Shebang Handling in Scripts (#1318) 2025-10-12 13:48:39 +09:00
YotaHamada 1133d2b725 feat: limit system environment variables passed to step processes (#1303) 2025-10-10 02:29:42 +09:00
YotaHamada ea12a936ac [#1196] feat: Enforce DAG-level maxActiveRuns configuration in API and CLI when starting a DAG-run (#1214) 2025-08-23 19:25:07 +09:00
Yota Hamada 77f828cb10 refactor: use working directory defined in DAG 2025-08-21 19:01:01 +09:00
YotaHamada 695a8692ff [#1203] Trim spaces (#1204) 2025-08-20 11:06:02 +09:00
YotaHamada e36d62a398 fix: improve directory lock and active process management (#1202) 2025-08-20 11:06:02 +09:00
YotaHamada 2ba625226e feat: auto-create example DAGs for new users (#1190) 2025-08-14 00:25:17 +09:00
YotaHamada 30707f2068 [#1187] fix: register configured host name instead of resolved IP (#1188) 2025-08-13 01:34:31 +09:00
YotaHamada e4331c3efe feat: system status UI for scheduler and coordinator services (#1177) 2025-08-10 20:11:25 +09:00
YotaHamada 2c11473d60 refactor: separate proc group name from dag name for better queue management (#1174) 2025-08-09 18:40:34 +09:00
YotaHamada 88bd4e254b feat: add high availability support for scheduler (#1147) 2025-07-29 14:35:24 +09:00
YotaHamada 7985e26034 feat: implement file-based service discovery for distributed execution (#1145) 2025-07-29 02:29:56 +09:00
Yota Hamada dd13178bc5 refactor(tests): simplify test code 2025-07-23 20:05:09 +09:00
Yota Hamada f2fa8fb486 refactor(tests): config yamls in tests 2025-07-23 17:36:02 +09:00
Yota Hamada 1110a1c300 refactor(tests): define configs inside tests 2025-07-23 11:49:19 +09:00
Yota Hamada 48db46cc00 refactor: simplify vibe-coded test code 2025-07-23 11:49:19 +09:00
YotaHamada 5c086da8f1 [#1028] feat: implement distributed task execution (#1116) 2025-07-22 12:52:12 +09:00
YotaHamada 5d48e5283f feat: Add step-level Partial Success status for sub-DAG execution steps (#1115) 2025-07-21 14:34:25 +09:00
Paul DoronilaandYotaHamada 7cd3c7df8f feat: initial windows support (#1066)
Co-authored-by: YotaHamada <yohamta@gmail.com>
2025-06-28 20:10:46 +09:00
YotaHamada a87ef7ea37 refactor: add context to parameters 2025-06-15 14:27:39 +09:00
YotaHamada a19b329a43 feat: add dag-run-id option 2025-06-10 18:26:01 +09:00
YotaHamada 2967d22849 [fb-next] Command for migrating history data from v1.16.x to v1.17.x (#969) 2025-06-01 00:56:07 +09:00
YotaHamada bff3e99a9f fix: start button to enqueue QueueItem (#964) 2025-05-30 17:45:04 +09:00
YotaHamada 33a52457e9 [#942] Add permissions field to the config (#962) 2025-05-29 21:44:10 +09:00
YotaHamada add6ab6f87 Cleanup (#957) 2025-05-28 01:57:02 +09:00
YotaHamadaandKriyanshi Shah b98063dd87 [#938] Add Queue Feature (#940)
Original implementation by Kriyanshi: https://github.com/dagu-org/dagu/pull/690

Co-authored-by: Kriyanshi Shah <59494745+kriyanshii@users.noreply.github.com>
2025-05-24 15:46:29 +09:00
YotaHamada e8b7ab4f85 fix: scheduler does not pass config file to DAG executions 2025-05-20 21:22:25 +09:00
YotaHamada 768ebca543 [#918] Evaluated conditions and command arguments should be visible on the Web UI (#930) 2025-05-12 18:11:23 +09:00
YotaHamada 0b9007850e Implement workflow details page for child workflows (#927) 2025-05-10 22:51:24 +09:00
YotaHamada 506e8ee718 Implement paginated log loading (#923) 2025-05-06 23:16:11 +09:00
YotaHamada 5ec999ef32 Add endpoints for managing sub-DAG runs (#915) 2025-05-06 14:47:19 +09:00
YotaHamada b3866c4186 Use same request ID for sub-DAG retries (#911) 2025-04-29 11:39:04 +09:00
YotaHamada e71fc0b713 [#786] API v2 (#900) 2025-04-15 23:41:40 +09:00
YotaHamada 6464890e1b [#786] Concurrent execution for a same DAG (#886) 2025-03-27 09:14:46 +09:00
Yota Hamada be37a0be88 [#854] config: fix: BasePath config is not working (#860) 2025-02-25 01:28:59 +09:00
Yota Hamada 6db86b9130 [#846] Fix: issue in calling sub-DAG (#848) 2025-02-18 23:51:05 +09:00
Yota Hamada 2c2a5cefe5 test: add integration tests (#838) 2025-02-14 19:01:48 +09:00