feat: update to Stripe API version 2026-11-18.endive #965
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.40) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 306 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.343
Real PR Conversation Timeline
1 comments
"Review active on #965"
general
weight: 0.35
yordis
What
Regenerates the library against
stripe/openapiv2602 and moves the defaultStripe-Versionfrom2025-11-17.cloverto2026-11-18.endive.| | Before | After |
|---|---|---|
| Stripe API version |
2025-11-17.clover|2026-11-18.endive||
stripe/openapi| v2129 (Apr 2026) | v2602 (Nov 2026) || Generated modules | 162 | 371 |
| Spec | 380 paths / 1529 schemas | 398 / 1884 |
No generated modules were removed, so there are no breaking removals.
Why it drifted
The nightly
stripe-codegenworkflow has not produced a commit since April, for two independent reasons:ubuntu-20.04, a retired runner label, so every scheduled run sat queued until the 24h limit cancelled it.::set-output, which GitHub has disabled, so thecheckjob could not have compared tags even on a live runner.Both are fixed here, along with
timeout-minutesso the next failure is loud, OTP 27 / Elixir 1.19 and stripe-mock v0.198.0 to matchci.yaml, andad-m/github-push-actionpinned to a SHA instead of@master.The workflow now also pins
Stripe-Versionfrom the spec'sinfo.version. It only ever committed generated code, so that header drifted on its own.Generator changes
The regeneration did not run clean; two changes were needed:
@operation_identity_mapping(lib/openapi/phases/compile.ex). The generator raises on any operation missing from that map.errorschema is excluded inBuildModules. It is Stripe's API error envelope (StripeErrorResponse), carries no operations, and generatedStripe.Error, colliding with the hand-writtenlib/stripe/error.ex.Verification
mix test(364 tests, 0 failures),mix compile --warnings-as-errors,mix format --check-formatted,mix credo --strict,mix docs— all clean on Elixir 1.19.5 / OTP 27.1.⚠️ stripe-mock 0.198.0 predates endive and routes 412 paths against the spec's 398, so endive-only surface area is not exercised. The green suite confirms nothing regressed, not that the new endpoints work.
Note for reviewers
feat:on the regeneration commit will make release-please cut 3.4.0. The default API version change is user-visible, so a patch seemed wrong — say the word if you'd rather it not cut a minor.🤖 Generated with Claude Code
https://claude.ai/code/session_019YfnR6hoDdNkKgsm6kKNvN