Repository navigation
chore(deps): bump github.com/stripe/stripe-go/v87 from 87.0.0 to 87.2.0 - #217
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [github.com/stripe/stripe-go/v87](https://github.com/stripe/stripe-go) from 87.0.0 to 87.2.0. - [Release notes](https://github.com/stripe/stripe-go/releases) - [Changelog](https://github.com/stripe/stripe-go/blob/master/CHANGELOG.md) - [Commits](stripe/stripe-go@v87.0.0...v87.2.0) --- updated-dependencies: - dependency-name: github.com/stripe/stripe-go/v87 dependency-version: 87.2.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
harshsaver
left a comment
There was a problem hiding this comment.
🤖 Agentbox PR audit: changes requested
What needs to change
Please apply the fix plan above.
n/a
What this PR changes
- What it does: Updates the Stripe payments library and its number-parsing dependency. Requests to Stripe move from its September 30 release to its November 18 release.
- What changes in the product: Nothing visible is expected in normal use. Checkout, payment settings, payment-status checks and access updates retain their current flow.
- Why it exists: It is the routine monthly dependency update from Dependabot.
- Why merge (or why not yet): The reviewed billing paths remain compatible, and all 11 CI checks passed. First correct two documents that still describe the previous library and Stripe release.
- What to expect after merging: Existing Stripe event notifications configured for September keep working. Operators can align their endpoint with the November release after testing. Confirm a successful test-mode delivery and watch delivery failures after deployment.
Full audit (Claude (claude-opus-5-5, xhigh) × Codex (gpt-6.1-sol, xhigh), 2 turns, commit 3fb847c)
PR audit: #217 — chore(deps): bump github.com/stripe/stripe-go/v87 from 87.0.0 to 87.2.0
Head: 3fb847c
Sign-off
- Claude (claude-opus-5-5, xhigh): ✅ satisfied. The bump is safe for this app (checksums match, CI is green, upstream changes are additive or don't apply). Two docs still name the old Stripe pin; that is a 4-line fix.
- Codex (gpt-6.1-sol, xhigh): ✅ satisfied — confirmed both documentation findings and the four-line fix plan; no additional blocking regression found.
Decision
fix — The dependency update is sound, but two documentation files retain the previous Stripe pin and API version. Update their four lines before merging.
Should this exist?
- Verdict: yes — This follows the monthly Go dependency updates configured in
.github/dependabot.yml:9-13and updates an existing billing dependency owned by Harsh (.github/CODEOWNERS:11-12). - Product-rule issues: None. No billing policy, desktop limit or background timer is added. The indirect decimal dependency introduces a library-defined exponent bound for decoding provider data; this protects the hosted server and does not restrict supported workspace purchases. The outbound API change stays within Stripe’s compatible
endiverelease family. Stripe versioning policy, decimal changes. - Simpler alternative: None. Updating the existing official SDK avoids application-specific fixes.
- Real-launch evidence: not applicable — Only hosted billing integration behavior is affected; no Desktop, Lantern or Harness CLI launch behavior changes.
What changes (plain language)
- What it does: Updates the Stripe payments library and its number-parsing dependency. Requests to Stripe move from its September 30 release to its November 18 release.
- What changes in the product: Nothing visible is expected in normal use. Checkout, payment settings, payment-status checks and access updates retain their current flow.
- Why it exists: It is the routine monthly dependency update from Dependabot.
- Why merge (or why not yet): The reviewed billing paths remain compatible, and all 11 CI checks passed. First correct two documents that still describe the previous library and Stripe release.
- What to expect after merging: Existing Stripe event notifications configured for September keep working. Operators can align their endpoint with the November release after testing. Confirm a successful test-mode delivery and watch delivery failures after deployment.
Findings
Blocking
docs/dependencies.md:27-31— The public pin record still names v87.0.0, API version2026-09-30.endive, and the old release link, whilego.mod:13now selects v87.2.0. The SDK’s API constant changes to2026-11-18.endive. This violatesCONTRIBUTING.md:62, which requires updating the public pin record in the same PR. The general reference to Go lock files atdocs/dependencies.md:3does not correct the explicitly outdated Stripe paragraph. New SDK API constant, previous constant.docs/hosted-billing.md:76-77— Operator instructions still prescribe2026-09-30.endiveas matching the pinned SDK. After this update, that matching-version claim is false. Stripe recommends configuring webhook endpoints to match the SDK’s pinned API version. Following the old instructions does not cause an immediate outage, because these two versions remain compatible, but the installation instructions must describe the new pin correctly. Stripe webhook version guidance.
Non-blocking
- Existing webhook endpoints remain compatible.
bus/hosted_billing_webhook.go:23usesConstructEventWithOptionswith API-version validation enabled. The compatibility logic compares the release family, so Septemberendiveevents pass against the NovemberendiveSDK. This conclusion follows the implementation, despite comments describing a version “match” more generally. The compatibility logic is unchanged between the reviewed versions. SDK compatibility implementation. - Webhook compatibility has a small existing test gap.
bus/hosted_billing_test.go:186always putsstripe.APIVersionin signed fixtures. These tests cannot independently demonstrate acceptance of events from the previously configured endpoint version. A signed fixture using the olderendiveversion would document this deployment case; optional for this PR. - Retry behavior stays disabled.
bus/hosted_billing.go:67explicitly setsMaxNetworkRetries: 0. The SDK checks that limit before evaluating response headers or status codes. Consequently, the retry-ordering fix does not introduce retries or sleeps here. SDK retry implementation, upstream fix. - Telemetry remains disabled. Both the application client (
bus/hosted_billing.go:67) and fixture client (bus/hosted_billing_test.go:52) explicitly disable telemetry. The new cache separates clients by that setting; no other production Stripe client was found. SDK telemetry cache. - Idempotency behavior remains appropriate. The typed
Expireservice replaces nil parameters with an empty parameter object in both versions. Calls atbus/hosted_billing_checkout.go:72andbus/hosted_deletion.go:178therefore already received generated keys. The explicit customer and checkout keys atbus/hosted_billing.go:229,304remain intact. Typed service, request headers. - Webhook validation changes do not expose secrets through this service. The new whitespace-only-secret rejection cannot reject a normally configured instance:
bus/hosted_billing.go:55already requires awhsec_prefix and minimum length. Richer signature errors can contain the secret’s last four characters, butbus/hosted_billing_webhook.go:24-25discards that error and returns a generic failure. SDK signature validation. - Malformed empty-list handling does change, safely. The SDK now reports an error for empty pages with
has_more: trueand stops pagination after errors. Atbus/hosted_billing.go:278-281, this promptly returnsbillingUnavailable()instead of potentially fetching the same malformed page repeatedly. Atbus/hosted_billing_reconcile.go:84,111, it returnsbillingUnavailable()before the existing conflict checks at:87,114. No new purchase or access extension is authorized by either failure path. This qualifies the previous audit’s blanket statement that runtime behavior is unchanged. SDK pagination implementation. - The API upgrade has no identified billing-contract break. Stripe labels the October and November GA additions as non-breaking. The base September release’s breaking entries are already part of v87.0.0; preview changes are not selected. The application’s validations at
bus/hosted_billing.go:156,170,259andbus/hosted_billing_reconcile.go:13,118,165-176remain supported. Newly available portal subscription pausing requires explicit operator configuration; upgrading alone does not enable it. Endive changelog, portal pausing impact. - Decimal is used indirectly, even without an application import. Stripe decodes decimal fields such as
Price.UnitAmountDecimal; absence of a direct import alone does not establish safety. However, the configured USD prices and integer quantities atbus/hosted_billing.go:73,75,156,303do not require extreme exponents. The new decoding bound comes from the library, and the application does not call the changed power, rounding or shift methods. No relevant regression was found. Stripe price type, decimal behavior changes. - Maintainer review remains required.
CONTRIBUTING.md:58-59requires approving maintainer and code-owner review. GitHub shows Harsh’s review requested and at least one approval required. Green CI does not remove that merge requirement. PR discussion and review state. - Optional documentation cleanup:
docs/hosted-billing.md:77could eventually reference the pin record instead of duplicating its date. That would reduce future drift. Keep this PR’s fix to the four agreed replacements.
Fix plan
One commit on the PR branch. Docs only; four lines in two files. Suggested message: docs: record stripe-go v87.2.0 and Stripe API 2026-11-18.endive pin.
docs/dependencies.md:28: replace**v87.0.0** client and webhook signature verifier, pinned to Stripe API versionwith**v87.2.0** client and webhook signature verifier, pinned to Stripe API version.docs/dependencies.md:29: replace`2026-09-30.endive`. The service uses a separate workspace billing flow and doeswith`2026-11-18.endive`. The service uses a separate workspace billing flow and does.docs/dependencies.md:31: replace[stripe-go v87.0.0](https://github.com/stripe/stripe-go/releases/tag/v87.0.0).with[stripe-go v87.2.0](https://github.com/stripe/stripe-go/releases/tag/v87.2.0).docs/hosted-billing.md:77: replaceStripe API **2026-09-30.endive**, matching the pinned stripe-go v87 SDK. Subscribe to:withStripe API **2026-11-18.endive**, matching the pinned stripe-go v87 SDK. Subscribe to:
After the commit, git grep -n '2026-09-30.endive\|87\.0\.0' -- docs go.mod should return nothing. The unrelated date references in docs/portable-contract-verification-2026-09.md:77,213 should remain.
Message to the developer
Please apply the fix plan above.
n/a
Questions for Harsh
n/a
Verification
- Independently read the full
git diff 4efe404f5aaaee841e327ed08b87bb8020f4bffe...HEAD. Only two version selections ingo.modand four checksum entries ingo.sumchange. Confirmed HEAD and its single parent match the supplied head and base. - Attempted
gh pr view 217 -R october-dev/october-bus --comments; the CLI could not connect to GitHub. Read the public PR discussion through the web tool instead, including the description, linked upstream changes and requested review. No separate product issue or author launch evidence was present. - Independently read the repository contribution policy, dependency records, operator instructions, Dependabot configuration and code ownership.
- Read every production Stripe call site in
bus/hosted_billing.go,hosted_billing_checkout.go,hosted_billing_reconcile.go,hosted_billing_webhook.goandhosted_deletion.go, plus the client and signed-event fixtures. Also checked the billing maintenance caller and repository-wide Stripe/decimal usage. - Compared relevant cached v87.0.0 implementations with the published v87.2.0 source: API constants, webhook compatibility, request headers, retry limit, telemetry cache, typed checkout expiration and pagination. Read the upstream release notes, decimal changelog and Stripe’s API-versioning policy.
- Independently confirmed the Go floors: Stripe requires Go 1.24 and decimal requires Go 1.10, below this repository’s Go 1.26 language floor and Go 1.27 toolchain. Stripe’s only changed module requirement is decimal v1.4.0→v1.5.0. Stripe module requirements, decimal module requirements.
- Checksum evidence: Claude reported exact sum.golang.org matches in turn 1: Stripe
h1:ypVhBi…RSc=/ moduleh1:i+Gslw…Wes=, decimalh1:HxSWk3…FPc=/ moduleh1:gawqmD…cwME=. Codex independently matched both decimal entries against Stripe’s publishedgo.sum; checksum-database lookup URLs were inaccessible this turn, so the Stripe checksum-database comparison remains Claude’s verification. Upstream decimal checksums. - CI: The supplied snapshot and Claude’s turn-1 rollup report all 11 checks successful. Codex independently followed the PR’s checks page for
3fb847cto run46726802888, which reports Success, with all three runtime jobs and both Node compatibility jobs completed. The hosted and vulnerability jobs also explicitly report success. This resolves the earlier uncertainty linking that run to the PR head. Head checks, successful run. - Read
.github/workflows/ci.yml: runtime jobs cover tests, vet and builds; Ubuntu also runs race tests. The hosted job runs hosted/PostgreSQL regressions, and the vulnerability job runs govulncheck. There is no tidy gate. - No PR code, installs, tests, builds or scripts were executed. No checkout files were modified. For Harsh’s trusted final verification, retain:
go mod verifygo mod tidy && git diff --exit-code go.mod go.sumgo test -race ./bus -run 'Billing|Hosted'- Send a valid subscribed Stripe test-mode event to
/api/billing/webhookand confirm a 200 response.
Audit log
- Turn 1 (Claude (claude-opus-5-5, xhigh)): Audited from scratch. Checked the go.sum lines against sum.golang.org, the go directives, and every stripe-go call site against upstream v87.0.0→v87.2.0 source (webhook version check, retries, idempotency, telemetry, list iterator, secret validation) plus Stripe's endive changelog and versioning policy. Found the public pin record (
docs/dependencies.md:27-31) and the operator webhook instruction (docs/hosted-billing.md:77) left at v87.0.0 /2026-09-30.endive. Decision: fix, with an exact 4-line docs plan. - Turn 2 (Codex (gpt-6.1-sol, xhigh)): Independently confirmed both blocking documentation findings and the unchanged four-line fix. Rechecked billing call sites and upstream compatibility; found no additional blocker. Qualified the unchanged-behavior claim for malformed list responses and indirect decimal decoding, confirmed the successful CI run’s connection to head
3fb847c, and recorded checksum revalidation limits. Removed unrelated sibling-PR instructions and unnecessary latest-version claims. Satisfied; decision remains fix, with no material changes.
Automated review by Harsh's agentbox: two AI reviewers audited this PR against the project ruleset and agreed on it.
Bumps github.com/stripe/stripe-go/v87 from 87.0.0 to 87.2.0.
Release notes
Sourced from github.com/stripe/stripe-go/v87's releases.
Changelog
Sourced from github.com/stripe/stripe-go/v87's changelog.
... (truncated)
Commits
c97713aBump version to 87.2.01d5ce31Update generated code (#2496)5b0adf7Send an Idempotency-Key on write requests made without params (#2494)2e403faAdd error messages to help users debug signature verification failures (#2482)32e824eFix telemetry user-agent cache isolation across clients 🪿✨ (#2490)d041eb2Run full CI on canary branches (#2487)5612143Upgrade decimal to v1.5.0 to reject excessive decoded exponents 🪿✨ (#2488)9ecb8e6Bump version to 87.1.02df6b75Update generated code (#2479)8599b38Preserve event context when fetching event related objects (#2480)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)