ci(packaging): publish only the tagged pypi package#450
Merged
Conversation
Infer the package to upload from component release tags so a client release does not attempt to republish an immutable SDK wheel, and keep explicit package selection for manual dispatches. Co-authored-by: Cursor <cursoragent@cursor.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
agentex-client-v*oragentex-sdk-v*).all,agentex-client, oragentex-sdkpublishes.Test plan
bash -n bin/publish-pypiNotes
This prevents the PyPI immutability failure mode. It does not, by itself, solve release-please source attribution for
src/agentex/lib/**; that still needs a structural source move underadk/or custom release attribution.This intentionally uses a non-releasing PR title (
ci) so the tooling-only change does not create a new client release. For future releases where both components bump, the component tags will publish in separate runs; the previous script attempted slim-before-heavy atomicity in one run, but that is what exposed sibling-wheel republish collisions.Greptile Summary
This PR narrows PyPI publishing to the requested package. The main changes are:
all,agentex-client, oragentex-sdkpublishes.PYPI_PACKAGE.allpreserving client-before-SDK order.Confidence Score: 5/5
The change is narrowly scoped to publishing target selection and does not alter runtime package code.
The edited workflow and script align with the intended tag/manual-input behavior, and no blocking issues were identified in the changed files.
What T-Rex did
Reviews (2): Last reviewed commit: "fix(packaging): publish only the tagged ..." | Re-trigger Greptile