118 Commits
Author SHA1 Message Date
Yota Hamada aded506fef feat: add remote action executor (#2167) 2026-05-18 13:37:26 +09:00
Yota Hamada df306f9d90 feat: add dag enqueue action (#2163) 2026-05-17 01:15:33 +09:00
Yota Hamada 8415513935 feat: add action schema v2 (#2122) 2026-05-14 21:05:44 +09:00
Yota Hamada 59d92fc196 feat: add workspace base config (#2108) 2026-05-07 00:08:32 +09:00
Yota Hamada 6ecb0b286e feat: add worker prometheus metrics (#2104) 2026-05-06 21:19:00 +09:00
Yota Hamada 13e0f802cf fix: preserve dag-run artifact paths in index (#2087) 2026-05-05 18:07:48 +09:00
Yota Hamada a2055d9471 fix: corroborate stale distributed run repair with worker heartbeats (#2041) 2026-04-27 19:56:39 +09:00
Yota Hamada 63be5b4911 feat: add approval rewind and push-back history (#2038) 2026-04-26 20:18:05 +09:00
Yota Hamada b8b8a018ee feat: add kubernetes secret provider (#2006) 2026-04-16 20:13:51 +09:00
Yota Hamada 45b11e0db1 ci: run tests on windows-latest (#1997) 2026-04-16 10:51:49 +09:00
Yota Hamada 84f7492149 feat: add DAG run artifacts support (#1998) 2026-04-12 18:43:14 +09:00
Yota Hamada 56348b88b1 feat(spec): add build-time custom step types (#1987) 2026-04-11 02:52:50 +09:00
Yota Hamada 8b42bba4fc fix: distribute agent snapshots to shared-nothing workers (#1986) 2026-04-11 01:03:53 +09:00
Yota Hamada 3b4c426f3d fix: expire stale pending dispatch reservations (#1982) 2026-04-10 23:10:35 +09:00
Yota Hamada 493e192053 fix: honor inherited DAG type during validation (#1981) 2026-04-10 07:54:04 +09:00
Yota Hamada 2c47e3f284 fix: migrate GitHub org references to dagucloud 2026-04-06 13:16:44 +09:00
Yota Hamada 8c9106d886 Fix reschedule for inline DAG run snapshots (#1965) 2026-04-04 11:29:56 +09:00
Yota Hamada e052405b41 feat: add centralized event store (#1885) 2026-04-01 10:08:20 +09:00
Yota Hamada 1c6d0c724b Preserve DAG env parity in subprocess relaunches (#1860) 2026-03-27 12:39:33 +09:00
Yota Hamada d127f4234c fix: recover stale queued distributed runs stuck after worker ack (#1857) 2026-03-27 00:49:11 +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 38be2a268f feat: add coordinator and worker health endpoints (#1802) 2026-03-19 18:25:28 +09:00
Yota Hamada 189cc011ae feat: add DAG-level retry policy (#1774) 2026-03-15 22:44:03 +09:00
Yota Hamada f998dc1f60 fix: eliminate false positive zombie detector kills (#1773) 2026-03-15 13:47:43 +09:00
Yota Hamada 4b1f78f162 feat(scheduler): route catchup runs through enqueue path with deterministic IDs (#1772) 2026-03-15 12:03:52 +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 d9e8d82e34 feat: Add license feature (#1701) 2026-02-26 16:37:50 +09:00
Yota Hamada c0e7cf7e1c feat: default authentication mode to builtin (#1688) 2026-02-19 21:55:30 +09:00
KriyanshiandYota Hamada 7bf67e41fa scheduler: respect global queue capacity on retry (#1676)
Co-authored-by: Yota Hamada <yohamta@gmail.com>
2026-02-16 20:21:25 +09:00
Yota Hamada c5c1fafd4b feat: adopt snake_case for config fields (#1675) 2026-02-14 22:05:42 +09:00
Yota Hamada 9b2b943087 feat: Agent tool permission (#1667) 2026-02-14 03:47:28 +09:00
Yota Hamada d496dde431 feat: coordinator flag (#1662) 2026-02-13 22:36:31 +09:00
Yota Hamada 5394d09878 chore: Upgrade to go 1.26 (#1655) 2026-02-12 22:37:40 +09:00
Yota Hamada 86d0e9d0c7 feat: scheduler catch-up (#1649) 2026-02-11 19:42:02 +09:00
Yota Hamada 8a67644e84 feat: default execution mode (#1642) 2026-02-07 22:47:56 +09:00
Yota Hamada 96071865ca feat: history subcommand (#1621) 2026-02-02 15:55:10 +09:00
Yota Hamada bb3c1a697d feat: DAG files Git-sync (#1597)
* **New Features**
* Added comprehensive Git synchronization for DAG definitions, including
pull from remote, publish/push changes, and conflict resolution.
* Read-only mode enforces sync-controlled access when push operations
are disabled.
* Per-DAG status tracking and diffing capabilities to compare local vs.
remote versions.
* Background auto-sync option for automated repository synchronization.

* **UI Enhancements**
  * New Git Sync dashboard with status overview and per-DAG management.
* Configuration dialog for repository, branch, and authentication
settings.
  * Diff viewer for visual comparison of local and remote DAG versions.
2026-01-22 16:49:52 +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 97fa5f8e7d feat(config): add metrics endpoint configuration (#1526)
* **New Features**
* Config option to control metrics endpoint access: "public" or
"private" (default: private; configurable via config or SERVER_METRICS).
* Cache mode setting ("low", "normal", "high"; default: normal) to tune
cache limits and behavior (config or CACHE env).
* Telemetry now emits per‑DAG and cache metrics; caches can be
registered for observability.

* **Tests**
* Added/updated tests for metrics modes, cache modes, env overrides,
telemetry and cache behavior.
2026-01-01 02:54:45 +09:00
Yota Hamada a88b73f90a feat(all): add exec field for supporting external containers (#1522)
* **New Features**
* Execute commands inside existing running containers ("exec" mode) with
optional user, working directory, and env overrides.
* Container field accepts either a simple string (container name) or an
object configuration.

* **Bug Fixes / Reliability**
* Runtime now waits for target containers to be running and reports
clearer container states and errors.
  * Skips container creation when using exec mode.

* **Documentation**
* Schema updated to enforce mutual exclusivity between exec and image
and clarify field applicability.
2025-12-31 22:32:07 +09:00
Yota Hamada 4633850d2d feat(all): storing output data (#1511)
* **New Features**
* Added DAG run outputs API endpoint to retrieve execution outputs with
metadata
* New outputs visualization UI with search, filtering, and
copy-to-clipboard functionality
* Flexible output configuration supporting custom keys and omit options
  * Timeline view for DAG execution visualization

* **Improvements**
  * Automatic snake_case to camelCase conversion for output keys
  * Secret masking applied to collected outputs
* Metadata tracking includes DAG name, run ID, attempt ID, status, and
completion timestamp
2025-12-28 14:37:41 +09:00
Yota Hamada 140afbaffe feat(al): API key management (#1509)
* **New Features**
* Full API Key management: create, list, retrieve, update, revoke; keys
usable for authentication.

* **API**
* OpenAPI/schema and server routes added for API key CRUD with
comprehensive request/response/error variants.

* **Auth & Middleware**
* Service-level generation, validation, last-used tracking and
middleware path for API key auth.

* **Storage & Config**
* File-backed API key store with in-memory index and new config path for
API keys directory.

* **UI**
* Admin API Keys page, nav item, create/edit modal, list and revoke
flows; simplified role label.

* **Tests**
* Extensive unit/integration tests covering store, service, API,
middleware, and UI.
2025-12-27 19:21:44 +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
Yota Hamada 3ebfa3cbf2 fix(scheduler): queue processor should respect maxConcurrency config in global config (#1482)
* **New Features**
  * Configurable exponential backoff for scheduler retries.
* Global queues from configuration persist when idle and keep configured
concurrency.

* **Improvements**
  * Increased server startup timeout for greater reliability.
* Queue management now distinguishes persistent global queues from
dynamic queues.

* **Tests**
  * Added integration test validating global-queue concurrency.
* Updated scheduler tests to inject a fast backoff config for
deterministic retries.
2025-12-14 17:56:09 +09:00
Yota Hamada 5e7ce83afa fix(auth): allow API token auth to work alongside builtin mode (#1480)
* **New Features**
* JWT login/usage added; multiple auth methods (JWT, API token, Basic,
OIDC) can be enabled and used together.
* New auth-related API error codes: auth.unauthorized,
auth.token_invalid, auth.forbidden.
* **Behavior**
* Built-in auth mode ignores Basic auth (warning exposed); health and
login endpoints remain public.
* App clears stale built-in tokens at startup; Authorization headers
applied reliably.
* **Tests**
* Extensive auth tests and improved test helpers for auth flows and
headers.
* **Chores**
  * Persisted users path added to test configs.
2025-12-14 17:24:48 +09:00
Yota Hamada 0498640f11 test(spec): add integration tests for special envs (#1479)
* **Tests**
* Added comprehensive tests validating environment variable visibility
across all handler types and execution phases.

* **Refactor**
* Simplified configuration handling by removing a global locking layer
around config access.

* **Chores**
* Improved test isolation by switching to local configuration instances
to avoid shared global state.
2025-12-14 08:48:27 +09:00