fix(capsule-pipeline): harden publication auth and reporting - #355
Merged
Brian Krabach (bkrabach) merged 2 commits intoSep 8, 2026
Merged
Conversation
Check the selected capsule publication credential before creating a branch or publishing capsule artifacts, and report incomplete publication without inferring unobserved side effects. Generated with Amplifier Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
Generated with Amplifier Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>
7 tasks
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
Harden the two source-owned specify workflows at the publication boundary for issue #78 follow-up work.
The port/consumer-side follow-up belongs in
amplifier-bundle-dot-runnerafter this source change is reviewed and merged; this PR does not change the engine, core contracts, DOT graphs, or publication credentials.Related evidence: https://github.com/microsoft/amplifier-bundle-dot-runner/actions/runs/34227191070 (historical issue #78 run; evidence only, not a fix or closure of #78).
Verification checklist
.github/workflows/capsule-specify.yml,.github/workflows/feature-specify.yml, andtests/test_capsule_publication_boundary.py.git diff --check origin/main..HEADpasses.python -m pytest tests/test_capsule_publication_boundary.py -q— 10 passed.ghnetwork boundary; real pair-integrity and shipped-gate scripts are exercised.specs/EXTENSIONS.mdentry is required.Verification evidence
The focused harness covers both source workflows (5 scenarios each):
GH_TOKENexpression and records the PR URL.The historical run showed the capsule branch push succeeded before
gh pr createreturnedHTTP 401: Bad credentialsfrom GitHub GraphQL. This change deliberately does not claim that the credential was expired or revoked; it adds a bounded preflight and removes the false side-effect claim.Notes for reviewers
Generated with Amplifier
Co-Authored-By: Amplifier 240397093+microsoft-amplifier@users.noreply.github.com