Repository navigation
feat(hac): Built Docker role images currently carry no org.holon.source-commit label, so merged e... - #482
Open
thomashan wants to merge 7 commits into
Conversation
Description: Built Docker role images currently carry no org.holon.source-commit label, so merged engine fixes can remain undeployed in stale container images while host preflight runs unseen. Goal: Stamp org.holon.source-commit on every Holon image via build args/labels in apps/sandbox-executor/Dockerfile, apps/sandbox-executor/docker-bake.hcl, and apps/sandbox-executor/build_all_images.sh, and update apps/sandbox-executor/src/sandbox_executor/preflight.py to read the runner image's org.holon.source-commit label, report any mismatch against the host commit in preflight results, and fail launch unless an explicit override is set. Add hermetic unit tests in apps/sandbox-executor/tests/test_preflight.py under uv run pytest. Code is self-explaining: no docstrings and no comments except '# why:' comments that record a reason the code cannot show. Generated by Holon Intent Agent at 2026-12-02T23:26:35Z
…mage-source-commit-label/P-1796254010-CLA-CO5.5/_
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
Built Docker role images currently carry no org.holon.source-commit label, so merged engine fixes can remain undeployed in stale container images while host preflight runs unseen.
Goal:
Stamp org.holon.source-commit on every Holon image via build args/labels in apps/sandbox-executor/Dockerfile, apps/sandbox-executor/docker-bake.hcl, and apps/sandbox-executor/build_all_images.sh, and update apps/sandbox-executor/src/sandbox_executor/preflight.py to read the runner image's org.holon.source-commit label, report any mismatch against the host commit in preflight results, and fail launch unless an explicit override is set. Add hermetic unit tests in apps/sandbox-executor/tests/test_preflight.py under uv run pytest. Code is self-explaining: no docstrings and no comments except '# why:' comments that record a reason the code cannot show.
Key Changes
References
None
Plan & Validation Metadata
P-1796254010-CLA-CO5.547.75claude-agentclaude-opus-5-5