Repository navigation
Test concurrent OAuth refresh redemption in the local PostgreSQL fixture - #1140
Merged
Merged
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
sidneyswift
marked this pull request as ready for review
October 25, 2026 04:28
This branch was successfully deployed
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.
Sequential refresh replay and atomic storage consumption were covered separately. This composes them through the installed local oidc-provider library and existing loopback fixture: two requests reach consumption of the same refresh token, PostgreSQL permits exactly one successor, and a later sequential replay revokes that chain without affecting an independent grant.
The provider test file rejects non-loopback fetches and disables automatic redirect following. Metadata uses the existing in-memory map; all identities, tokens and keys are synthetic, and storage uses the isolated disposable PostgreSQL socket. Runtime behavior and external access are unchanged.
Final composed head 54810cb preserves actual main 2918d48. Contribution is byte-identical; upstream pack-inspection retry settings are outside the exercised dependency path. Both independent reviews retain zero findings at this head.
All four exact-head CI workflows pass: OAuth compatibility, Unit Tests, Lint and Format. Vercel and CodeRabbit also pass. The 25 passing local provider/storage tests on disposable PostgreSQL 17.7, typecheck and local lint remain attributed to original 03abaab; no unaffected local rerun is claimed.
Advances recoupable/mono#209 and #214 under #207. This is local protocol/storage acceptance, not hosted-provider, production refresh, real-account, Privy-consent, named-client or complete launch acceptance. Coordinator owns merge.