Commit Graph
25 Commits
Author SHA1 Message Date
Yota Hamada 63be5b4911 feat: add approval rewind and push-back history (#2038) 2026-04-26 20:18:05 +09:00
Yota Hamada 6d6f75d821 feat: add edit-and-retry DAG runs (#2010) 2026-04-19 22:41:50 +09:00
Yota Hamada 84f7492149 feat: add DAG run artifacts support (#1998) 2026-04-12 18:43:14 +09:00
Yota Hamada 2c47e3f284 fix: migrate GitHub org references to dagucloud 2026-04-06 13:16:44 +09:00
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 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 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 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 32b319399a feat: sync chat messages for remote worker (#1577)
* **New Features**
* Added support for storing and persisting chat and LLM step messages
within workflow executions, maintaining message history across execution
states.

* **Improvements**
* Increased gRPC message size limits to 16 MB to accommodate larger
payloads and message data in status updates and communications.
2026-01-13 01:56:22 +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 fa6e876d60 feat(all): display worker ID for DAG-runs (#1527)
* **New Features**
* Worker identification now tracked and displayed for DAG runs
throughout the system
* DAG run list and details views show the worker that executed the run
(e.g., 'local' for local execution)
* Worker information exposed in API responses for DAG run details and
summaries
  * New worker parameter support for execution and retry operations
2026-01-01 01:04:56 +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 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
YotaHamada d4bc387a83 refactor(runtime):event driven loop (#1418) 2025-11-21 18:05:37 +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 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
YotaHamada 85439bc71e Refactor internal packages into layered architecture (#1319) 2025-10-13 03:52:00 +09:00