Repository navigation
Fix PyPI release retries - #1253
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
|
Warning Review limit reached
Next review available in: 55 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe publish workflow now checks whether the Python SDK version exists on PyPI before building and publishing. It conditionally executes those steps when the version is absent, while GitHub changelog release creation retains its existing changeset-based condition. ChangesPython SDK PyPI publishing
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9aa7dde380
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/ci.yml:
- Around line 874-909: The Python SDK publish gate currently derives
should_publish solely from PyPI and can run before npm publication completes.
Update the release workflow around the “Check Python SDK release status” step
and its downstream Python publish condition to require an explicit successful
npm-publication signal from changesets/action, or skip Python publishing while
changesets/action is in PR-create/publish mode; preserve the existing PyPI
version check once npm readiness is confirmed.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: e5d823f4-58b8-45cc-bf81-a5d98f642a8c
📒 Files selected for processing (1)
.github/workflows/ci.yml
9aa7dde to
f0f2587
Compare
Web previewCommit: |
Summary
skip-existingsafeguardWhy
The npm packages published successfully, but the first PyPI OIDC attempt failed before the trusted publisher was configured. On retry, Changesets found no unpublished npm packages and returned
published=false, which skipped the still-pending Python release. This change makes recovery retries publish Python whenever its local version is absent from PyPI.Validation
git diff --check.github/workflows/ci.ymlwith PyYAMLphaseo@2.0.6correctly reportsshould_publish=trueCreated with Codex
Summary by CodeRabbit