Repository navigation
ci(release): keep bootstrap PyPI projects on the token until they have a trusted publisher - #492
Merged
Merged
Conversation
…e a trusted publisher traceAI-semantic-kernel 0.1.1 and traceAI-voyage 0.1.1 were rejected with 403 in run 41264130787: after its first upload a bootstrap project switched to trusted publishing, which it does not have yet. Listed projects now keep the bootstrap token until they are removed from the list. Also wait up to an hour for Central: the 1.0.1 reactor bundle uploaded but was still publishing when the plugin's 30-minute default ran out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
Fixes two publish failures from the #481 release (run 41264130787).
PyPI 403 for
traceAI-semantic-kernel0.1.1 andtraceAI-voyage0.1.1. Both projects were created by their first upload withPYPI_BOOTSTRAP_TOKEN. The plan then switched them to trusted publishing, which they don't have, and PyPI answered403 Invalid API Token: OIDC scoped token is not valid for project 'traceAI-voyage'. Projects listed inconfig.jsonpypi_bootstrap_tokennow keep using the token until someone adds their trusted publisher and removes them from the list. The same thing would have happened on the next release of every other listed project that has already been published (ag2, discoveryengine, elevenlabs-agents, firecrawl, openai-realtime, parallel, replicate, tavily, typesafe). The config comment and RELEASING.md describe the hand-off.Java 1.0.1 timed out. Central accepted the reactor bundle (deployment
250d7c46-…), but it was still publishing when the plugin's 30-minute defaultwaitMaxTimeran out. This raises it to 3600 s, the parameter from the 0.12.0 plugin descriptor, and the job timeout to 90 minutes so the job isn't killed first.Tests:
python3 -m unittest discover -s .github/releasepasses (54 tests).release_plan.py --checkis consistent. The updated bootstrap test fails on the old rule.citype, so release-please bumps nothing. The pom change only applies to the next Java publish.🤖 Generated with Claude Code