Add parallel execution, result capture, and volumes support#1
Merged
vdemeester merged 3 commits intomainfrom Feb 3, 2026
Merged
Add parallel execution, result capture, and volumes support#1vdemeester merged 3 commits intomainfrom
vdemeester merged 3 commits intomainfrom
Conversation
- Add DAG type that organizes tasks into execution levels based on runAfter - Tasks at the same level execute concurrently via goroutines - Tasks wait for all dependencies before starting (level-based scheduling) - Includes comprehensive tests for DAG building and parallel execution Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add captureResults function to read from /tekton/results/ directory - Results are trimmed of whitespace before storage - Enables $(tasks.taskname.results.resultname) substitution - Add results-pipelinerun.yaml example demonstrating result passing Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add Volume, VolumeSource, VolumeMount types to pkg/types - Support EmptyDir, ConfigMap, and Secret volume types - Add VolumeMounts field to Step for per-step mounting - Integrate volume mounting into executor - Add volumes-pipelinerun.yaml example Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
vdemeester
added a commit
that referenced
this pull request
Feb 5, 2026
Successfully completed all 5 tasks of Phase 1: ✅ Task #1: Backend interface created (326 LOC, 7 tests) ✅ Task #2: Orchestrator package extracted (600 LOC, 40+ tests) ✅ Task #3: Dagger backend refactored (550 LOC, 15 tests) ✅ Task #4: CLI updated to use new backend ✅ Task #5: All tests passing, chisel builds and runs Architecture: - pkg/backend/backend.go - Interface for pluggable backends - pkg/orchestrator/ - Generic orchestration logic (reusable) - pkg/backend/dagger/ - Dagger implementation - cmd/chisel - Uses backend abstraction Results: - Zero regressions in chisel functionality - 80% code reuse achieved (types, parser, UI, orchestrator) - Clean separation of concerns - Ready for Phase 2 (Mallet CLI stub) Binary: 29MB, all examples work, dry-run validated
vdemeester
added a commit
that referenced
this pull request
Feb 5, 2026
Successfully completed all 5 tasks of Phase 1: ✅ Task #1: Backend interface created (326 LOC, 7 tests) ✅ Task #2: Orchestrator package extracted (600 LOC, 40+ tests) ✅ Task #3: Dagger backend refactored (550 LOC, 15 tests) ✅ Task #4: CLI updated to use new backend ✅ Task #5: All tests passing, chisel builds and runs Architecture: - pkg/backend/backend.go - Interface for pluggable backends - pkg/orchestrator/ - Generic orchestration logic (reusable) - pkg/backend/dagger/ - Dagger implementation - cmd/chisel - Uses backend abstraction Results: - Zero regressions in chisel functionality - 80% code reuse achieved (types, parser, UI, orchestrator) - Clean separation of concerns - Ready for Phase 2 (Mallet CLI stub) Binary: 29MB, all examples work, dry-run validated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
runAfterdependencies/tekton/results/directory and enable$(tasks.foo.results.bar)substitutionvolumeMountsChanges
Parallel Execution
DAGtype organizes tasks into execution levelsrunAfterdependencies between levelsResult Capture
/tekton/results/<name>after step executionVolumes
Volume,VolumeSource,VolumeMounttypesvolumeMountsfor mounting into containersNew Files
Test plan
🤖 Generated with Claude Code