22 Commits
Author SHA1 Message Date
Yota Hamada a61a34ee3d fix: unblock parallel scheduling during subdag retries (#1796) 2026-03-19 13:06:43 +09:00
Yota Hamada 189cc011ae feat: add DAG-level retry policy (#1774) 2026-03-15 22:44:03 +09:00
Yota Hamada 88a9f297bd refactor: rename abort handler contract to onAbort (#1764) 2026-03-13 20:00:13 +09:00
Yota Hamada b581118067 chore: add GPL-3.0 license headers to source files
Add copyright and SPDX license identifier headers to all Go source
files, test files, shell scripts, and proto files.
2026-03-09 18:38:11 +09:00
Ofer Herman 84a7f97d55 fix: SubDAG step shows no "View Sub DAG Run" link while child DAG is … (#1748) 2026-03-09 10:46:08 +09:00
Yota Hamada f1b080319a feat: add generic approval field for human-in-the-loop on any step type (#1743) 2026-03-08 20:38:20 +09:00
Yota Hamada 56015b3f74 feat: calculate API costs for agent steps (#1697) 2026-02-22 23:09:41 +09:00
Yota Hamada 5c7afbbfed reafctor: renaming persistence store for clarity (#1653) 2026-02-12 11:57:06 +09:00
Yota Hamada 4027aa4075 feat: restrict OS env expansion to DAG env (#1632) 2026-02-05 16:19:15 +09:00
Yota Hamada ce036b8344 feat: isolate environment variables of workers (#1581)
* **New Features**
* Restore DAGs from prior runs while preserving params and environment
context.
* Immutable, layered environment scope with source provenance and secret
masking.
* Context-aware variable expansion and command substitution (scope- and
JSON-path-aware).
* Server can accept a pre-bound listener; reporter supports structured
mail configuration.

* **Bug Fixes**
* Sensitive fields (env, params, credentials, SMTP/SSH, container env)
excluded from JSON output.

* **Refactor**
* Many build-time expansions deferred to runtime for safer, predictable
evaluation.
2026-01-16 10:45:10 +09:00
Yota Hamada 1557b14f23 worker: fix problems in shared nothing worker (#1573)
* **New Features**
* Added distributed DAG execution support with coordinator integration
for remote execution on worker nodes.
* Introduced live remote progress display with spinner animation for
distributed DAG runs.
  * Added DAG run cancellation support for distributed executions.
  * Enabled real-time scheduler log streaming to coordinator.
  * Implemented graceful shutdown handling via SIGINT/SIGTERM signals.

* **Improvements**
* Automatic worker ID derivation from hostname when not explicitly
configured.
  * Enhanced log file error handling with proper 404 detection in UI.
2026-01-13 00:37:31 +09:00
Yota Hamada 29b138236c feat: audit logging for security operations (#1570)
* **New Features**
* Audit logging system now tracks user actions, login attempts, API key
changes, DAG operations, and system events with timestamps and IP
addresses
* Admin-only audit logs viewer to review detailed activity history with
filtering by category and user
* Interactive terminal access for admin users to execute commands
directly
* New configuration options to enable or disable audit logging and
terminal features as needed
2026-01-11 23:21:30 +09:00
Yota Hamada ed2da6bbbb feat: shared-nothing worker (#1564)
* **New Features**
* Distributed execution: remote status pushing, per-step log streaming,
pluggable log writer factory, queued-run support.
* Static coordinator discovery via new CLI/env flag and static registry;
remote task handler for workers and temp-DAG helper.
* Coordinator RPCs to report status, stream logs, and query sub-run
status.

* **Bug Fixes**
* Improved zombie detection, graceful shutdown, and cancellation
handling via heartbeat directives; safer resource cleanup.

* **Tests**
* Extensive new and updated unit/integration tests for remote workflows,
logs, status, retries, and cancellations.
2026-01-11 16:37:42 +09:00
Yota Hamada a74d401388 feat(core): waiting status (#1554)
* **New Features**
* Added Human-In-The-Loop (HITL) approval workflow: pause DAGs at
designated steps awaiting manual approval or rejection.
* Introduced "Waiting for approval" and "Rejected" statuses for
workflows and steps.
* New approval and rejection APIs with optional input fields and
rejection reasons.
  * Added wait-status notifications and event handlers.
  * UI modals for approving/rejecting steps with dynamic configuration.
  * Dashboard now displays metrics for waiting and rejected DAG runs.
2026-01-04 18:22:00 +09:00
Yota Hamada 4930f41044 feat(core): add chat executor type (#1548)
* **New Features**
* LLM/chat executor for AI-powered steps with multi-provider support and
streaming responses
* DAG-level LLM config with inheritance and per-step overrides
(provider, model, system prompt, generation params)
* Persisted chat messages and context passing for multi-turn
conversations across steps

* **Bug Fixes / Reliability**
* Improved LLM/message validation and defaulting to prevent
misconfiguration and ensure consistent behavior
2026-01-04 18:08:49 +09:00
Yota Hamada 4bfde0dc07 feat(config): validation to ensure absolute path (#1528)
* **Bug Fixes**
- Configuration path resolution now properly detects and reports errors
instead of failing silently, improving configuration validation
- Child processes now correctly inherit all environment variables from
the parent process, ensuring proper runtime behavior
- Enhanced error logging with additional context for better
troubleshooting of configuration issues

* **Tests**
- Added tests for configuration file path resolution with relative and
symlinked paths
2026-01-01 03:16:47 +09:00
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 78844bf40a feat(spec): add init handler field (#1455)
* **New Features**
* Added an Init handler that runs (after preconditions) before workflow
steps; its status is surfaced and failure prevents steps from running.
  * Added a canonical Abort handler and retained Cancel as deprecated.
* Runtime and status now include OnInit nodes; option to skip inheriting
base handlers for sub-DAG runs.

* **Documentation**
* Schema updated to document init and abort hooks and lifecycle
ordering.

* **Tests**
* New integration tests for Init, abort/cancel behavior, skipping base
handlers, and lifecycle paths.
2025-12-07 04:31:18 +09:00
Yota Hamada 882b6ebbfa fix(runtime): decode log tail in proper encoding (#1449)
* **New Features**
* Logs and recent stderr tails now decode many encodings (Shift_JIS,
EUC-JP, ISO-8859-1, Windows-1252, GBK, Big5, EUC-KR, UTF-8); log
encoding can be specified.

* **Bug Fixes**
* Environment and secret propagation during execution setup improved so
secrets correctly override env vars and PATH handling preserved.

* **Tests**
* Added comprehensive tests covering multiple encodings and charset name
variants.
2025-12-06 22:53:40 +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 ac06b5ecfb refactor(all): Refactor logging code to use typed attributes (#1422) 2025-11-24 05:40:46 +09:00
YotaHamada d4bc387a83 refactor(runtime):event driven loop (#1418) 2025-11-21 18:05:37 +09:00