52 Commits
Author SHA1 Message Date
Yota Hamada 36d9b901b9 feat: implement step run command spec (#2304) 2026-06-20 02:25:45 +09:00
Yota Hamada 69b6977f56 fix: repair stale local subdag retry status (#2301) 2026-06-19 14:00:26 +09:00
Yota Hamada f9ffea5046 feat: implement step outputs spec (#2296) 2026-06-19 08:27:41 +09:00
Yota Hamada 6a61c7ff39 feat: surface passive value reference notices (#2290) 2026-06-17 23:05:10 +09:00
Yota Hamada f952e060d1 fix: make value resolution misses warning-only (#2287) 2026-06-17 10:53:10 +09:00
Yota Hamada 2c86ea652a refactor: define value resolution rules (#2285) 2026-06-16 10:45:14 +09:00
Yota Hamada 1f41fc5b25 refactor: deepen process termination intent (#2210) 2026-05-26 11:17:39 +09:00
Yota Hamada a9c7b31518 refactor: deepen proc heartbeat observation (#2207) 2026-05-26 01:34:35 +09:00
Yota Hamada ab321452ae refactor: extract StepExecutor for step execution (#2185) 2026-05-20 21:55:21 +09:00
Yota Hamada aded506fef feat: add remote action executor (#2167) 2026-05-18 13:37:26 +09:00
Yota Hamada 8415513935 feat: add action schema v2 (#2122) 2026-05-14 21:05:44 +09:00
Yota Hamada d9d76ca2bf feat: validate step output contracts (#2105) 2026-05-07 13:02:03 +09:00
Yota Hamada 7a25852008 feat: carry push-back context into AI steps (#2109) 2026-05-06 23:51:59 +09:00
Yota Hamada dbe2416c1b fix: clean up step validation errors (#2098) 2026-05-06 18:22:53 +09:00
Yota Hamada d60fa49f5a fix: stop evaluating step backticks by default (#2075) 2026-04-30 18:22:44 +09:00
Yota Hamada 5d9abfec41 fix: preserve literal code fences in template config (#2072) 2026-04-30 17:24:10 +09:00
Yota Hamada 44cfcf38d0 feat: replace object output with structured step outputs (#2052) 2026-04-29 20:28:54 +09:00
Yota Hamada c1ea23cd42 fix: harden DAG param validation and artifact inference (#2049) 2026-04-29 07:25:16 +09:00
Yota Hamada ef762f6756 refactor: simplify loader and execution boundaries (#2034) 2026-04-25 14:30:02 +09:00
Yota Hamada 2c47e3f284 fix: migrate GitHub org references to dagucloud 2026-04-06 13:16:44 +09:00
Madhav PrabhooandMadhav Prabhoo 57f4f3a2d5 feat: add JSON Schema validation for step outputs (#1867)
Co-authored-by: Madhav Prabhoo <madhav.prabhoo@computuspay.com>
2026-03-28 19:35:52 +09:00
Yota Hamada ae62a462b3 feat: allow variable references in repeat_policy numeric fields (#1822) 2026-03-22 01:56:04 +09:00
Yota Hamada 7aeae018a5 fix: resolve parallel sub-DAG item targets and harden cancellation (#1797) 2026-03-19 14:37:41 +09:00
Yota Hamada a61a34ee3d fix: unblock parallel scheduling during subdag retries (#1796) 2026-03-19 13:06:43 +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 5394d09878 chore: Upgrade to go 1.26 (#1655) 2026-02-12 22:37:40 +09:00
Yota Hamada 96d046f818 feat: dollar sign escape syntax (#1634)
Resolves #1628
2026-02-06 09:59:04 +09:00
Yota Hamada 6cf71a316e fix: temp file naming for DAG names near 40-char limit (#1633)
Resolves #1631
2026-02-05 16:19:39 +09:00
Yota Hamada 4027aa4075 feat: restrict OS env expansion to DAG env (#1632) 2026-02-05 16:19:15 +09:00
Yota Hamada 8852bc9256 feat: tool calling support for chat step (#1591)
* **New Features**
* Added LLM tool calling capability, enabling assistants to invoke
external tools and sub-DAGs during chat interactions
* Tool definitions and call details now visible in chat history with
expandable tool information cards
* Sub-DAG execution runs from tool calls are now tracked and linked with
DAG names for better traceability
* Tools can be configured per chat step to define available functions
for the LLM to use

* **Enhancements**
* Chat messages now display tool calls made by the assistant alongside
regular content
* UI improved to show tool parameters and execution details within chat
history
2026-01-19 02:03:42 +09:00
Yota Hamada 621444e0a1 feat: shared connection pool for pg (#1584)
* **New Features**
* Worker-level PostgreSQL connection pool configuration to manage
connections across multiple DAGs in a single worker process.
* Centralized connection pool management for shared-nothing worker mode
with reference-counted pool lifecycle.

* **Improvements**
* Executor resource cleanup to ensure proper connection and resource
release after execution.
* Fixed connection pool defaults for improved stability and consistency.
2026-01-17 13:17:22 +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 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 8dd3bcaf5c feat(all): add shell field for ssh config (#1546)
* **New Features**
- SSH now supports optional shell configuration for remote command
execution; shell can be specified at DAG or step level with proper
precedence handling.
- Added controls for variable expansion behavior in command evaluation.

* **Bug Fixes**
- Improved Docker container timeout error reporting with clearer status
information.

* **Tests**
  - Expanded shell detection and command building test coverage.
  - Added comprehensive shell configuration precedence tests for SSH.
2026-01-01 23:11:47 +09:00
Yota Hamada 14f55ebf1f fix(runtime): occasional race in closing log file (#1517)
* **Bug Fixes**
* Improved output flushing synchronization during shutdown to prevent
race conditions.
  * Enhanced teardown process to prevent concurrent execution issues.

* **Refactor**
* Refined output lifecycle management for more reliable resource cleanup
and prevention of redundant operations after closure.
2025-12-30 00:48:35 +09:00
Yota Hamada 3e9d49d1e0 feat(all): multiple commands syntax (#1506)
* **New Features**
* Steps can contain multiple commands executed sequentially; UIs and
runners display and run command lists.

* **Validation**
* Executors advertise capabilities and produce clearer errors when
features conflict or are unsupported (multi-command vs
sub-workflow/script/container).

* **API**
* Step payloads now use a commands list for command entries; legacy
single-command fields remain supported for compatibility.

* **Integration & UX**
* Schemas, APIs, reporting, and UI components updated to present and
handle the commands array.
2025-12-27 03:42:15 +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
KriyanshiandYota Hamada ea16511957 added timeoutSec at step level (#1412)
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2025-11-14 02:22:06 +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 b6e390fed8 Adopt “Sub DAG” terminology across backend, UI, and docs (#1362) 2025-10-29 09:06:15 +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
YotaHamada 05fc6b02eb Fix distributed child DAG status propagation (#1358) 2025-10-24 19:26:37 +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