INFRA: dedupe publish workflow + CHANGELOG v0.5.0 — audit #10, #11#13
Merged
Conversation
Collaborator
Author
|
CI This PR's only changes are:
Neither touches Python source, the The fix likely needs to land on Not blocking this PR's content review. Generated by Claude Code |
ryan10sa-star
added a commit
that referenced
this pull request
May 23, 2026
3 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
Two pre-launch audit fixes. Neither fix alone publishes v0.5.0 to npm or PyPI — see "Manual step required" below.
Audit context:
pyproject.toml,python/pyproject.toml, andtypescript/package.jsonall declare0.5.0, but the published npm + PyPI artifacts are still0.4.0because nov0.5.0GitHub Release has been cut. Every README install command therefore pulls a build that is missing the catalog sync / gate check / signed receipts surface ARIA depends on.Fix 1 — audit #11: dedupe npm publish step
.github/workflows/publish.ymlhad two consecutivenpm publish --provenancesteps for the unscopedcarapace-sdkpackage. The second one fails withEPUBLISHCONFLICT(the same version is already published by the first step), turning green publishes red.Diff
- name: Publish working-directory: typescript run: npm publish --provenance env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - name: Publish - working-directory: typescript - run: npm publish --provenance pypi:Only one
npm publishstep remains (the one that hasNODE_AUTH_TOKENwired up). PyPI job untouched.Commit:
bc77950a639dddf040b6166d854611efb2508e03Fix 2 — audit #10: add CHANGELOG entry for v0.5.0
CHANGELOG.mdstopped at[0.4.0] — 2026-05-16. Added a new[0.5.0] — 2026-05-23section pulled from the actual phase-B commits (be8e199,5c9c1ec,e4274da,b9b78c0,3f9ce59).New section
Commit:
87282471d4b7b4df28093d4ede1047822f50ac40Manual step required — Ryan must cut the v0.5.0 release
Merging this PR does NOT publish v0.5.0 to npm or PyPI. The publish workflow only fires on
release: [published], which the GitHub API cannot trigger from a PR context. After this PR is merged tomain, Ryan must manually create the release tag:gh release create v0.5.0 \ --title "v0.5.0" \ --notes-from-tag \ --target main(Or equivalent through the GitHub UI: Releases → "Draft a new release" → tag
v0.5.0→ targetmain→ Publish.)Until that release is cut, npm + PyPI stay at
0.4.0regardless of this merged PR, and every README install command will continue pulling a build that is missing the catalog sync / gate check / signed receipts surface ARIA depends on.Out of scope (separate audit items)
.github/workflows/ci.yml— untouched.pyproject.toml/python/pyproject.toml/typescript/package.jsonversions — unchanged (already 0.5.0).SECURITY.md— separate audit item, not addressed here.Test plan
gh release create v0.5.0 ...Publish Packagesworkflow runs once and only onenpm publishstep executes (noEPUBLISHCONFLICT)npm view carapace-sdk versionreturns0.5.0pip index versions carapace-sdklists0.5.0https://claude.ai/code/session_01UEu5f1gCA5nGnZrf67RK1c
Generated by Claude Code
Need help on this PR? Tag
@codesmithwith what you need. Autofix is disabled.