Skip to content

Fix a discovery race in the external auth refresh test - #51710

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8c280ca7287dab09230d534a44ca80d0835d2ef2
Oct 7, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/8c280ca7287dab09230d534a44ca80d0835d2ef2

Conversation

@copyberry

@copyberry copyberry Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Fix a discovery race in the external auth refresh test

Background discovery can cache a successful response before the test mounts
its unauthorized-response mock, bypassing the intended token refresh.

Mount the 401 mock before invalidating the route cached during login in
external_auth_refreshes_on_unauthorized.

Background discovery can cache a successful response before the test mounts
its unauthorized-response mock, bypassing the intended token refresh.

Mount the `401` mock before invalidating the route cached during login in
`external_auth_refreshes_on_unauthorized`.

GitOrigin-RevId: 8c280ca7287dab09230d534a44ca80d0835d2ef2
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/8c280ca7287dab09230d534a44ca80d0835d2ef2 branch from 1cc0907 to 0e15206 Compare October 7, 2026 14:40
@copyberry
copyberry Bot merged commit 0e15206 into main Oct 7, 2026
@chatgpt-codex-connector

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-07T14:41:00.763134Z 1cc0907 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/8c280ca7287dab09230d534a44ca80d0835d2ef2 branch October 7, 2026 14:41
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 7, 2026
@tomas-cabaj
tomas-cabaj deployed to issue-triage October 7, 2026 14:43 — with Image GitHub Actions Active
@tomas-cabaj
tomas-cabaj deployed to issue-triage October 7, 2026 14:43 — with Image GitHub Actions Active
@tomas-cabaj
tomas-cabaj deployed to issue-triage October 7, 2026 14:43 — with Image GitHub Actions Active
@saschat04
saschat04 deployed to issue-triage October 7, 2026 14:49 — with Image GitHub Actions Active
@saschat04
saschat04 deployed to issue-triage October 7, 2026 14:49 — with Image GitHub Actions Active
@saschat04
saschat04 deployed to issue-triage October 7, 2026 14:49 — with Image GitHub Actions Active
@lNwNl
lNwNl deployed to issue-triage October 7, 2026 15:03 — with Image GitHub Actions Active
@lNwNl
lNwNl deployed to issue-triage October 7, 2026 15:03 — with Image GitHub Actions Active
@lNwNl
lNwNl deployed to issue-triage October 7, 2026 15:03 — with Image GitHub Actions Active
@ssimonlin
ssimonlin deployed to issue-triage October 7, 2026 15:03 — with Image GitHub Actions Active
@ssimonlin
ssimonlin deployed to issue-triage October 7, 2026 15:03 — with Image GitHub Actions Active
@ssimonlin
ssimonlin deployed to issue-triage October 7, 2026 15:03 — with Image GitHub Actions Active
@lNwNl
lNwNl deployed to issue-triage October 7, 2026 15:04 — with Image GitHub Actions Active
@ssimonlin
ssimonlin deployed to issue-triage October 7, 2026 15:04 — with Image GitHub Actions Active
@cmoiccool
cmoiccool deployed to issue-triage October 7, 2026 15:22 — with Image GitHub Actions Active
@josch87
josch87 deployed to issue-triage October 7, 2026 15:23 — with Image GitHub Actions Active
@josch87
josch87 deployed to issue-triage October 7, 2026 15:23 — with Image GitHub Actions Active
@josch87
josch87 deployed to issue-triage October 7, 2026 15:23 — with Image GitHub Actions Active
@josch87
josch87 deployed to issue-triage October 7, 2026 15:24 — with Image GitHub Actions Active
@zauceng
zauceng deployed to issue-triage October 7, 2026 15:32 — with Image GitHub Actions Active
@zauceng
zauceng deployed to issue-triage October 7, 2026 15:32 — with Image GitHub Actions Active
@zauceng
zauceng deployed to issue-triage October 7, 2026 15:32 — with Image GitHub Actions Active
@sunz9970-sys
sunz9970-sys deployed to issue-triage October 7, 2026 15:35 — with Image GitHub Actions Active
@sunz9970-sys
sunz9970-sys deployed to issue-triage October 7, 2026 15:35 — with Image GitHub Actions Active
@sunz9970-sys
sunz9970-sys deployed to issue-triage October 7, 2026 15:35 — with Image GitHub Actions Active
@sunz9970-sys
sunz9970-sys deployed to issue-triage October 7, 2026 15:36 — with Image GitHub Actions Active
@snkeone
snkeone deployed to issue-triage October 7, 2026 15:37 — with Image GitHub Actions Active
@snkeone
snkeone deployed to issue-triage October 7, 2026 15:37 — with Image GitHub Actions Active
@snkeone
snkeone deployed to issue-triage October 7, 2026 15:37 — with Image GitHub Actions Active
@unlikelxxbd
unlikelxxbd deployed to issue-triage October 7, 2026 15:40 — with Image GitHub Actions Active
@unlikelxxbd
unlikelxxbd deployed to issue-triage October 7, 2026 15:40 — with Image GitHub Actions Active

This branch was successfully deployed

1 active deployment
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.