Commit Graph
13 Commits
Author SHA1 Message Date
Yota Hamada a4c2a3c613 Resolve routes, policies, and base config per project (P13 part 2) (#4232)
With projects on, a DAG's workspace label still added the workspace's
route set, policy set, and base config, a project other than the
default one had no base config, and any developer could change
notification channels and incident providers and read their previews.

A run now reads its routes, policies, and base config in its project
alone: base.yaml in a project's DAG directory, paths.base_config for
the default project, and no workspace layer. Channels, providers, and
SMTP settings change only through admins, and other users see only
their names and types. With projects off, nothing changes.
2026-11-27 11:14:55 +09:00
Yota Hamada a208ba8184 refactor: simplify internal package ownership (#2539) 2026-08-09 10:31:46 +09:00
Yota Hamada 739cf37682 refactor: separate workflow IR and domain contracts (#2537) 2026-08-08 17:25:04 +09:00
Yota Hamada 8f1f566356 fix: align v2 distribution paths (#2464) 2026-07-31 17:10:54 +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 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 f460e2e1bb feat: adopt DAG schema to snake_case (#1670) 2026-02-14 18:09:40 +09:00
Yota Hamada 2fbe2614ba refactor: deprecate DAG-level maxActiveRuns and enhance queue stability (#1598)
* **Deprecations**
* Deprecated `maxActiveRuns` for local DAG-based queues; configure
concurrency via a global queue (`queue` field).
* Local queues now enforce FIFO (sequential) processing with fixed
concurrency of 1.

* **Bug Fixes**
* Improved queue processing with in-flight tracking to avoid duplicate
task dispatches.
2026-01-23 00:20:46 +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 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
YotaHamadaandCopilot 1fb5f30d11 feat(cmd): add exec command for ad-hoc DAG runs (#1384)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-02 20:47:39 +09:00