[ISSUE-12] Implement bounded full-build executor and material flow#80
Merged
Gonza10V merged 1 commit intoMay 6, 2026
Merged
Conversation
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.
Motivation
Description
BuildContextdataclass to holdsbol,inventory,build_document,options, and optionaladapters/graph/logger(src/buildcompiler/execution/context.py).FullBuildExecutorwith a bounded worklist loop, deterministic promotion of missing inputs (promoted idspromoted:<stage>:<sha1-12>), product indexing/deduplication, optional transformation/plating chaining (deduped), and finalFullBuildResultaggregation (src/buildcompiler/execution/executor.py).buildcompiler.executionand wiredBuildCompiler.plan,BuildCompiler.execute, and module-levelfull_buildto instantiateFullBuildPlanner/FullBuildExecutorwhen not injected; added clearValueErrorwhen required dependencies are missing (src/buildcompiler/execution/__init__.py,src/buildcompiler/api/compiler.py).buildcompiler.api.optionswhere appropriate and small test additions (src/buildcompiler/stages/*,src/buildcompiler/planning/*,src/buildcompiler/inventory/selector.py).Testing
pytest tests/unit/execution tests/unit/apiwhich passed locally (14 passed, including newtests/unit/execution/test_executor.py).ruff check/ruff formaton the targeted files;ruff formatreformatted 3 files and final checks passed for the edited files.uvtoolchain:uv run pytest ...failed due to fetching optionalSBOLInventorydependency from GitHub (network/Git access error), so the smallest reproducible commands to verify this PR are thepytestandruffcommands listed above which succeeded locally.Codex Task