Commit Graph
20 Commits
Author SHA1 Message Date
Yota Hamada f8c36d56f8 feat: add step with config alias (#2021) 2026-04-21 01:28:12 +09:00
Yota Hamada 2c47e3f284 fix: migrate GitHub org references to dagucloud 2026-04-06 13:16:44 +09:00
Yota Hamada c7476bfb06 fix: resolve DAG env/params references in container env variables (#1778) 2026-03-15 20:54:19 +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 e8673de974 fix: container shell execution bug (#1709) (#1711) 2026-03-02 12:42:06 +09:00
Yota Hamada f460e2e1bb feat: adopt DAG schema to snake_case (#1670) 2026-02-14 18:09:40 +09:00
Yota Hamada 96d046f818 feat: dollar sign escape syntax (#1634)
Resolves #1628
2026-02-06 09:59:04 +09:00
Yota Hamada 59234c7519 feat(#1589): add shell config option to container (#1592)
* Configurable shell wrapper for container step execution (supports
advanced shell flags, multi-command patterns) in both exec and image
modes.
* Runtime will honor configured shell wrappers when running step
commands.
2026-01-21 13:41:28 +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 d7af927179 fix: output is not captured for container step (#1567)
* **Bug Fixes**
* Fixed container execution to properly use configured start commands
when step-level commands are not specified

* **Tests**
* Added regression test to verify container command output is correctly
captured
2026-01-11 12:44:49 +09:00
Yota Hamada 09736db277 chore: migrate test code to simpler syntax 2026-01-04 22:57:18 +09:00
Yota Hamada 8dd3bcaf5c feat(all): add shell field for ssh config (#1546)
* **New Features**
- SSH now supports optional shell configuration for remote command
execution; shell can be specified at DAG or step level with proper
precedence handling.
- Added controls for variable expansion behavior in command evaluation.

* **Bug Fixes**
- Improved Docker container timeout error reporting with clearer status
information.

* **Tests**
  - Expanded shell detection and command building test coverage.
  - Added comprehensive shell configuration precedence tests for SSH.
2026-01-01 23:11:47 +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 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 d0193cb8c0 feat(core): Add step-level container field (#1501)
* **New Features**
* Steps can now specify their own container configuration, overriding
DAG-level containers.
* Schema updated to support step-level container field and clarify env
merge behavior.

* **Bug Fixes**
* Validation prevents using both container and executor on the same
step.
* Validation prevents using script together with container (use command
instead).

* **Improvements**
* Enhanced Docker/runtime handling: env merging, working-dir/volumes
shortcuts, runtime evaluation, and richer logs.

* **Tests**
* Added unit and integration tests covering step containers, evaluation
helpers, and conflict cases.
2025-12-24 00:35:42 +09:00
Yota Hamada 882b6ebbfa fix(runtime): decode log tail in proper encoding (#1449)
* **New Features**
* Logs and recent stderr tails now decode many encodings (Shift_JIS,
EUC-JP, ISO-8859-1, Windows-1252, GBK, Big5, EUC-KR, UTF-8); log
encoding can be specified.

* **Bug Fixes**
* Environment and secret propagation during execution setup improved so
secrets correctly override env vars and PATH handling preserved.

* **Tests**
* Added comprehensive tests covering multiple encodings and charset name
variants.
2025-12-06 22:53:40 +09:00
YotaHamada a7e61b5653 feat(spec): add DAG level shell field (#1426)
- add dag level 'shell' field
- refactor to handle shell detection consistently
2025-11-30 02:31:49 +09:00
YotaHamada ac06b5ecfb refactor(all): Refactor logging code to use typed attributes (#1422) 2025-11-24 05:40:46 +09:00
YotaHamada a010632957 fix(docker): container initialization bug with registryAuths field (#1330) 2025-10-16 23:51:13 +09:00
YotaHamada 85439bc71e Refactor internal packages into layered architecture (#1319) 2025-10-13 03:52:00 +09:00