feat: pipeline config consumption via proteus#150
Open
mvillmow wants to merge 1 commit into
Open
Conversation
261740a to
4a3e16a
Compare
Implement config-driven pipeline execution via new proteus package: - Create schemas/pipeline.schema.json (Draft-07) with per-type and per-function arg validation - Implement proteus/pipeline modules: loader, topology, handlers, runner, CLI - Loader validates YAML against schema and builds Pipeline dataclass (no field injection) - Topology sorts stages by depends_on with explicit edge-case guards (self-loops, unknown deps, cycles) - Handlers emit config-driven argv via cmd_dagger/cmd_skopeo/cmd_dispatch with PipelineConfigError guards - Runner executes stages via subprocess.run (list argv, no shell injection) - CLI provides `validate` and `run` subcommands with --dry-run support - Update justfile pipeline/validate recipes to delegate to proteus - Add 25 unit/integration tests covering all modules and the real achaean-fleet.yaml config - Add check-jsonschema pre-commit hook for schema validation at commit time - Update CI workflows to use pixi + proteus for validation and execution - Add schema header comment to achaean-fleet.yaml for editor integration - Update CLAUDE.md to document pipeline config consumption (was known critical defect #1) Fixes: #1, #82 Replaces hardcoded pipeline steps with config-driven dispatch. Signed-off-by: mvillmow <4211002+mvillmow@users.noreply.github.com>
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
Closes #1. Implements config-driven pipeline execution via new
proteusPython package.configs/pipelines/*.yamlare now consumed by production codedepends_onwith explicit edge-case guardsjust pipeline <CONFIG>delegates topython -m proteus.pipeline runTest plan
Follow-up
#83 tracks fixing build/promote tag arithmetic in handlers once the foundation is in place.
Closes #1