Skip to content

Test concurrent OAuth refresh redemption in the local PostgreSQL fixture - #1140

Merged
sidneyswift merged 2 commits into
mainfrom
codex/oauth-refresh-race
Oct 25, 2026
Merged

sidneyswift merged 2 commits into
mainfrom
codex/oauth-refresh-race

Conversation

@sswiftdrtv

@sswiftdrtv sswiftdrtv commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

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.

@vercel

vercel Bot commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
api Ready Ready Preview Oct 25, 2026 4:25am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Oct 25, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

This branch was successfully deployed

1 active deployment
Preview — 54810cb0 Deployed Oct 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants