Repository navigation
ci: build once, gate the digest, promote what was tested (RT#1550) - #126
Merged
Merged
Conversation
Replace the Quay+GHCR build-and-push workflow with the constitution v1.39.1 container-release caller. Gate: boot=command runs the pushed digest over test/data/test01.log and requires byte-identical output to the recorded known-good test/output/test01-hash.output (plus --version), proving the entrypoint, venv and imports work end to end; proven locally and a mismatching log fails it. Remove the security.yml container-scan job that rebuilt the image only to scan it (the release workflow scans the gated digest). Drop GHCR from .specify/memory/constitution.md. Move Inherits and all workflow pins from v1.31.0 to v1.39.1; validator passes. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01R7Y1jh5QhdxRuFKyWVev5h
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
boot: command. petit is a CLI (distroless,ENTRYPOINT ["petit"]), so the gate runs the pushed digest overtest/data/test01.logwith--hashand requires byte-identical output to the recorded known-goodtest/output/test01-hash.output, plus--version. That proves the entrypoint, venv and imports work and the output is right, not just that it starts. A different log fails the same comparison.build-and-pushworkflow (replaced by onecontainer.ymlcalling container-release v1.39.1,default-branch: master, weekly schedule kept) and thecontainer-scanjob insecurity.ymlthat rebuilt the image only to scan it (Trivy now scans the gated digest). Kept CodeQL, dependency-audit, CI, packages, PyPI publish..specify/memory/constitution.mdnow says Quay only. (docs/demo/Containerfileuses an upstreamghcr.io/charmbraceletbase, which is fine and is not published.)Inheritsand every workflow pin moved v1.31.0 to v1.39.1; validator PASS, no other changes needed.:latestalready moved only on a stablev*tag). Note the old branch tag:masterbecomes:main.Test plan
Version: 4.10.3then golden-output compare of test01 hash output OK (exit 0); test02 log against test01 expected output fails as intendedvalidate-constitution.pyv1.39.1: PASS🤖 Generated with Claude Code
https://claude.ai/code/session_01R7Y1jh5QhdxRuFKyWVev5h