fix(capsule-pipeline): align consumer publication auth and reporting - #98
Merged
Brian Krabach (bkrabach) merged 2 commits intoSep 8, 2026
Merged
Conversation
Add a read-only credential preflight before publication-side mutation and report capsule publication independently of residual terminal evidence. Verification: python3 -m unittest discover -s . -p 'test_*.py' -v (82 tests passed, 1 optional external-baseline skip); external b17 baseline exercised with PUBLICATION_BASELINE_REPO/SHA. Tests: capsule pipeline stdlib discovery; workflow YAML parse; shell syntax; Ruff; git diff --check. Generated with Amplifier Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
Use explicit non-raising subprocess expectations and items iteration in the boundary harness. Verification: uvx ruff@0.16.6 check --select I,PLW1510,PLC0206 .github/capsule-pipeline/test_publication_boundary.py; uvx ruff@0.16.6 format --check .github/capsule-pipeline/test_publication_boundary.py; python3 -m unittest discover -s . -p 'test_*.py' -v (82 total: 81 passed, 1 optional baseline skipped); optional b17 baseline control passed. Generated with Amplifier Co-Authored-By: Amplifier <240397093+microsoft-amplifier@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
Port the source-owned publication-authentication and reporting correction from
amplifier-bundle-attractorPR #355 into the dot-runner consumer.CAPSULE_PR_TOKEN-then-github.tokenpublication credential selection used by the workflow.This follows source PR #355, now merged:
microsoft/amplifier-bundle-attractor#355
The original issue #78 run is related evidence only, not fixed or closed by this PR:
https://github.com/microsoft/amplifier-bundle-dot-runner/actions/runs/34227191070
Verification
https://github.com/microsoft/amplifier-bundle-attractor/actions/runs/34263919213
429f507b0a6c2e71c42b9949dfa34982db7af9camainatb17ccda49a20be901119e02c2f6c2c043d7ec845; no concurrent main advancement was found before publication.4 passed, 1 skipped, 6 subtests passed.ghnetwork boundary was stubbed.Checklist
.github/workflows/feature-specify.yml,.github/workflows/capsule-specify.yml, and.github/capsule-pipeline/test_publication_boundary.py.specs/EXTENSIONS.md,ledger/, orcontracts/files changed.Review notes
Generated with Amplifier
Co-Authored-By: Amplifier 240397093+microsoft-amplifier@users.noreply.github.com