fix(ci): widen resolve-dev-version search window for quiet main#658
Open
fix(ci): widen resolve-dev-version search window for quiet main#658
Conversation
Increase --limit from 10 to 100 when listing recent successful Dev Build & Publish runs. At hourly cadence, 100 candidates covers ~4 days of quiet main (no new commits triggers check-changes skip, producing success without a dev-version artifact). Previously, >~10 skipped runs could exhaust the window and false-positive as a broken dev pipeline.
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
--limitfrom 10 to 100 in theresolve-dev-versionjob'sgh run listcallmain(no new commits → check-changes skip → success without artifact)mainis quiet for >~10 hoursRoot cause
resolve-dev-versionlisted only the 10 most recent successful Dev Build & Publish runs. Whenmainhas had no new commits for >10 hours, all recent runs are no-op skips (check-changes gate completes assuccesswithout uploading adev-versionartifact). The resolver exhausted its 10-candidate window and errored as if the dev pipeline was broken. (CI-0061)Verification
Release Readiness run on this branch with
skip_integration=true:https://github.com/pinecone-io/python-sdk/actions/runs/25576424039
Resolve latest dev wheel versionjob completed successfully. All wheel build jobs green.Note
Low Risk
Low risk: only adjusts GitHub Actions workflow logic to scan more past successful runs, reducing false CI failures without touching product code.
Overview
Improves
release-readinessrobustness whenmainis quiet. Theresolve-dev-versionstep now searches a larger set of recent successfuldev-publishruns (limit 10 → 100) when looking for thedev-versionartifact, and documents the rationale.This prevents the workflow from failing when recent successful runs were no-op skips that didn’t upload the artifact.
Reviewed by Cursor Bugbot for commit 41c5c44. Bugbot is set up for automated code reviews on this repo. Configure here.