Commit Graph
60 Commits
Author SHA1 Message Date
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
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 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 f3d4577e42 fix(cmd): refactor start command not to prevent DAG from running unexpectedly (#1497)
* **Behavior Changes**
* Removed explicit no-queue and disable-max-active-runs options;
start/retry flows simplified to default local execution and streamlined
retry semantics.

* **New Features**
* Singleton mode now returns clear HTTP 409 conflicts when a singleton
DAG is already running or queued.
* Added top-level run Error field and an API to record early failures
for quicker failure visibility.

* **Bug Fixes**
* Improved process acquisition and restart/retry error handling; tests
updated to reflect local execution behavior.
2025-12-21 18:42:34 +09:00
Yota Hamada f04786c5e1 feat(all): Add support for multiple-level nested local DAGs (#1493)
* **New Features**
* Optional parentSubDAGRunId query to fetch nested sub-DAG runs; sub-run
lists and modal show root/parent DAG context, status filters with
counts, and improved keyboard navigation.

* **Bug Fixes / UX**
* Consolidated local DAG handling for multi-level execution, improved
error responses for missing runs, and small UI spacing tidy-ups.

* **Tests**
* Reorganized and expanded integration/unit tests for multi-level
sub-DAG scenarios and temp-DAG file handling.
2025-12-20 20:56:08 +09:00