Commit Graph
65 Commits
Author SHA1 Message Date
Yota Hamada 8f1f566356 fix: align v2 distribution paths (#2464) 2026-07-31 17:10:54 +09:00
GiebischandYota Hamada cba1426b1c feat: support variable substitution in worker_selector keys and values (#2417)
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2026-07-30 20:45:22 +09:00
Yota Hamada 20e78dfc29 feat: record DAG run trigger actor (#2423) 2026-07-25 14:43:07 +09:00
Yota Hamada 15db123bd9 fix: target step retries in persisted child DAG runs (#2419) 2026-07-25 13:52:58 +09:00
Yota Hamada 642ea6efd6 feat: add git worktree actions (#2391) 2026-07-20 00:10:06 +09:00
Yota Hamada 0957b7388f refactor: remove built-in AI agent (#2335) 2026-06-30 23:32:23 +09:00
Yota Hamada 9cd4097129 refactor: remove shared-volume worker mode (#2327) 2026-06-28 12:49:06 +09:00
4 Bytes Robby eb1b37936f executor: fix nil pointer when sub-DAG not in worker local store (#2258) 2026-06-04 09:19:14 +09:00
Yota Hamada c213570d74 feat: complete runtime profile management (#2246) 2026-06-03 00:23:54 +09:00
Yota Hamada dd88f5300d refactor: move local subworkflows behind runner (#2247) 2026-06-02 00:35:08 +09:00
Yota Hamada a4344a23e7 refactor: move subworkflow dispatch behind runner (#2244) 2026-06-01 20:48:40 +09:00
Yota Hamada 90e344ee2a refactor: move coordinator transport behind runtime ports (#2235) 2026-06-01 14:35:08 +09:00
Yota Hamada 552ef02539 refactor: introduce managed process lifecycle (#2216) 2026-05-27 19:52:34 +09:00
Yota Hamada 1f41fc5b25 refactor: deepen process termination intent (#2210) 2026-05-26 11:17:39 +09:00
Yota Hamada d1cbf382ff refactor: centralize platform file I/O (#2209) 2026-05-26 09:29:49 +09:00
Yota Hamada a9c7b31518 refactor: deepen proc heartbeat observation (#2207) 2026-05-26 01:34:35 +09:00
Yota Hamada aded506fef feat: add remote action executor (#2167) 2026-05-18 13:37:26 +09:00
Yota Hamada d886436f06 feat: add DAG-level aqua tools (#2150) 2026-05-16 01:33:49 +09:00
Yota Hamada 8415513935 feat: add action schema v2 (#2122) 2026-05-14 21:05:44 +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 67c4663c73 Fix worker selector for sub-DAG calls (#2029) 2026-04-22 21:25:18 +09:00
Yota Hamada d502813215 feat: add embedded Dagu API (#2011) 2026-04-19 23:36:23 +09:00
Yota Hamada 382df9622d feat: make DAG labels canonical (#2013) 2026-04-19 23:27:42 +09:00
Yota Hamada 45b11e0db1 ci: run tests on windows-latest (#1997) 2026-04-16 10:51:49 +09:00
Yota Hamada 8b42bba4fc fix: distribute agent snapshots to shared-nothing workers (#1986) 2026-04-11 01:03:53 +09:00
Yota Hamada 2c47e3f284 fix: migrate GitHub org references to dagucloud 2026-04-06 13:16:44 +09:00
Yota Hamada 955b0bca03 fix: route reschedule through enqueue (#1966) 2026-04-04 17:32:46 +09:00
Yota Hamada 743029916a fix: prevent distributed runs from remaining running after execution stops (#1851) 2026-03-25 14:21:16 +09:00
Yota Hamada c335040a5c refactor: make scheduler proc-authoritative (#1824) 2026-03-22 21:06:57 +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 200bd7a75b feat: propagate schedule time through DAG run lifecycle (#1763) 2026-03-13 19:48:48 +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
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 95b8bfb07e fix: propagate base config to workers in distributed mode (#1739) (#1745) 2026-03-08 20:38:04 +09:00
Yota Hamada a4f7d60a52 feat: add tags parameter to start and enqueue APIs (#1730) 2026-03-07 20:32:02 +09:00
Yota Hamada 4de003c524 feat: agent step type (#1681) 2026-02-15 21:38:50 +09:00
Yota Hamada f460e2e1bb feat: adopt DAG schema to snake_case (#1670) 2026-02-14 18:09:40 +09:00
Yota Hamada 5394d09878 chore: Upgrade to go 1.26 (#1655) 2026-02-12 22:37:40 +09:00
Yota Hamada 5c7afbbfed reafctor: renaming persistence store for clarity (#1653) 2026-02-12 11:57:06 +09:00
Yota Hamada 8a67644e84 feat: default execution mode (#1642) 2026-02-07 22:47:56 +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 a5a5c59df8 feat: Trigger visibility (#1612)
* **New Features**
* Track and surface a DAG run "trigger type" (manual, scheduler,
webhook, sub‑DAG, retry, unknown) across API, CLI, and UI.
  * UI: new trigger-type indicator shown in DAG status overview.

* **Improvements**
  * CLI: options to specify trigger type when starting/enqueueing runs.
* Better error aggregation and more consistent audit logging for DAG and
webhook actions.
2026-01-27 19:16:03 +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 e623f5d556 feat: enhance stability of distributed execution (#1580)
* **New Features**
  * Added shared-nothing worker mode for distributed deployments.
* Improved remote progress display with terminal width awareness and
worker ID truncation.

* **Bug Fixes**
* Enhanced error handling for lost coordinator connections with
consecutive error tracking.
  * Added file sync for improved data durability in status writes.

* **Configuration**
* Added configurable retry behavior for coordinator connections
(MaxRetries and RetryInterval with exponential backoff).

* **Style**
  * Removed excess padding from table containers in DAG details UI.
2026-01-15 01:13:00 +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 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