Skip to content

Widen shipped patchrail range to <0.8.0 (0.7.x is contract-compatible) - #9

Merged
PabloCodes7 merged 1 commit into
mainfrom
widen-range-0.7-canary
Jul 19, 2026
Merged

Widen shipped patchrail range to <0.8.0 (0.7.x is contract-compatible)#9
PabloCodes7 merged 1 commit into
mainfrom
widen-range-0.7-canary

Conversation

@PabloCodes7

Copy link
Copy Markdown
Contributor

The action pinned patchrail>=0.6.0,<0.7.0, but PyPI is already at 0.7.3. Every @v1 consumer has been installing a 0.6.x classifier — weeks of fixes and new failure classes never reaching them.

The latest-patchrail canary is the gate for this move: it runs the real ci explain -> annotate.py path against the newest release. Verified locally that 0.7.3 still emits the patchrail.ci_result.v1 contract annotate.py reads (python_test_failure, confidence 0.95, guide fix/python-test-failure, no "No classification"), and pytest -q (guide slugs / README snippets / no-log path) passes against it — 35 passed.

Change: bump the upper bound one minor, respecting the bound-by-minor convention documented inline in action.yml (>=0.6.0,<0.7.0>=0.6.0,<0.8.0). Floor stays 0.6.0. test.yml greps the spec straight out of action.yml, so this is a single source of truth.

CI on this PR is the authoritative check: merge only if the full suite — including latest-patchrail against 0.7.3 — is green.

PyPI is at 0.7.3 while the action still pinned <0.7.0, so every
consumer of @v1 was installing a 0.6.x classifier. The latest-patchrail
canary confirms the newest release still emits the ci_result.v1 contract
that scripts/annotate.py reads (python_test_failure + guide URL, no
'No classification'), and the fix-guide-slugs pytest passes against it.
Move the upper bound one minor deliberately, per the bound-by-minor
convention documented in action.yml.
@PabloCodes7
PabloCodes7 merged commit 1c6581c into main Jul 19, 2026
5 checks passed
@PabloCodes7
PabloCodes7 deleted the widen-range-0.7-canary branch July 19, 2026 07:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant