Repository navigation
fix(stripe): say what the changelog check covered, never "none affect your code" (UPT-115) - #243
Merged
Merged
Conversation
… your code" (UPT-115) The PR headline and Behavior cell now say how many API changes matched the code by field name and how many breaking changes can't be matched that way. Breaking entries that change a default or name no field, parameter or event get their own list in plain view, a new default first, instead of the collapsed no-evidence list. Computed at render time, so stored reports get it. entryTouches matches a resource only at the start of a word: "parameter" no longer tags meter, "prevent" event, "surcharge" charge, "syntax" tax. The catalog is regenerated (970 entries, 0 stale touches, was 80) and a contract test keeps touches equal to entryTouches. Round 4's dms-saas report is a fixture: the clover billing-mode entry renders first under the new heading, with an accurate headline. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Lucas Braum <[email protected]>
…ames from titles (UPT-115) The list of breaking changes no field name can match follows UPT-106's rule instead of being exempt from the budget: whole when it fits, else its count, the first 10 with new defaults first, and where the full list is. It ranks with the other never-dropped lists, above test output. entryTouches reads field names from the title only, with URLs and link targets stripped: a slug like postal_code_in_card_form_for_non_us_countries named no field and kept that entry out of the list. The catalog is regenerated from the same source; 28 entries lose slug-only field names. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Lucas Braum <[email protected]>
Merged
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.
UPT-115. ADR 0017 found that round 4's dms-saas PR (uptide-bench/AntelopeJS--dms-saas#13) had the clover billing-mode entry in hand and still said "230 API changes, none affect your code". This PR fixes the wording and where that entry is shown, and the two catalog defects the ADR found. Behavior records and
omits-propertymatching are UPT-113, not here.What the PR body says now
Headline and Behavior cell. They say what was checked, never "none affect your code":
A new list in plain view under "Stripe API changelog". It sits below the evidence list, outside the collapsed one:
report.jsongets it with no rerun.The pack's own section line (on the migration page) changes from "N of M affect your code" to "N of M matched your code by name".
Stripe changelog catalog
The
meterbug.entryTouchestagged a resource wherever its name appeared inside a word. "parameter" becamemeter, "prevent" becameevent, "surcharge" becamecharge, and "syntax" becametax. A resource name must now start a word. Plurals still match: "taxes" starts with "tax".The 80 stale entries. At origin/main, 80 of 972 checked-in
touchesdiffered from whatentryTouchescomputes:meter, every one from "parameter".Regenerated with
pnpm build:stripe-changelog(2026-10-19), thenbiome formatas before:touchesmeterwith no "meter" in title or URLinvoice_item14,subscription_schedule9,subscription_item6,meter6 (real meter entries),billing_portal3.event2 ("Dispute Preventions", "Prevents reusing client secrets"),charge2 ("surcharge"),tax2 ("syntax").touchesmust equalentryTouches(entry), so the next matcher change fails until the catalog is regenerated.Fixtures and tests
fix/__fixtures__/stripe-dms-saas-round-4.json. Round 4's stored Stripe section andapiChangesfor dms-saas (basil → dahlia).report.jsonwasn't kept, so I rebuilt it from the pre-regeneration catalog and the resources dms-saas6390f43calls.New report test. It renders round 4 with the new code:
New catalog test. "…unrecognized API parameters" and "Prevents reusing client secrets" tag no resource. "Adds billing meters and meter events" still tags
meterandevent.Updated:
apiChangeSummarycases and the verdict/table test;largeStripeReportand the caps test). Their breaking entries now name a field (old_field). They test grouping and caps, and with no field name all 30 would move into the new list. The longer titles let 9 fewer non-breaking lines fit in two budget snapshots.For review
postal_code_in_card_form_for_non_us_countriesnamed no field and kept that entry out of the new list. Regenerating from the same Stripe source changestoucheson 28 entries, nearly all slug noise (cs_add_checkout_session_permissions). Three are breaking: the postal-code one, and two.previewentries no stable upgrade reaches.####. That matches the evidence list above it.Verification
pnpm lint: clean. One warning and one info, both pre-existing and in files this PR doesn't touch.pnpm typecheck: passes.pnpm build: passes.pnpm --filter @uptide/core test: 2310 passed, 32 skipped.pnpm --filter uptide test: 536 passed.CI was not watched.
🤖 Generated with Claude Code