Repository navigation
[R46-P2-S3] Test the cards script - #112
Merged
Merged
Conversation
Section 24 of tests/run.sh runs scripts/cards.py against a stand-in gh that answers from saved issue lists in tests/fixtures/cards/ and logs each call. Covers the verify list and its grouping, the last named row, each label change, the regression match, the step after a merge (and its failure path), and the bug list page's pills. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
d6veteran
marked this pull request as ready for review
November 20, 2026 01:19
Contributor
Author
|
ck cost for this pull request: $1.72, built by [done] [R46-P2-S3] [Robin Opus medium] Test the cards script. [done] [R46-P2-S3] [Robin Opus medium] Test the cards script cost summary
Prices from https://platform.claude.com/docs/en/about-claude/pricing.md, as of 2026-11-19. |
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.
Stage R46-P2-S3 of
docs/plan/2026-11-19-robins-card-loop.md. Tests only; no product code changed.What it adds
Section 24 of
tests/run.sh, 12 checks ofscripts/cards.py. A stand-in forgh(tests/fixtures/cards/gh) answers from saved issue lists beside it and logs every call; any otherghis pointed at a host that does not exist, so no test reaches GitHub.Test case:line and noverifiedlabel, rows read from that line only (bold or not, a link's address skipped), grouped by card.to verifyafter a merge, each removing the other label in the same call.verifiedbug naming that exact row.Test case:line, in their own repository; a failedghgives one line, never a traceback, and the merge step's call never raises.Each case fails when its part is broken
Broken by hand one at a time, then restored: the verified filter, the grouping by card, the row order, the link skip, each of the three label changes, the exact-row match, the Test case check after a merge, the merge step's catch, the re-opened, to verify, verified and test case pills, and the link check. Each break failed at least one check.
Time added to one run of the suite
About 0.05 minutes (3 seconds of a 40-second run on the Mac).
🤖 Generated with Claude Code