Thanks to visit codestin.com
Credit goes to github.com

Skip to content

test(cli): wait for OAuth server readiness - #28358

Merged
hugodutka merged 2 commits into
mainfrom
hugo/eng-3257-oauth-readiness
Aug 20, 2026
Merged

test(cli): wait for OAuth server readiness#28358
hugodutka merged 2 commits into
mainfrom
hugo/eng-3257-oauth-readiness

Conversation

@hugodutka

@hugodutka hugodutka commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The OAuth GitHub default provider test treated the config URL as proof that the restarted HTTP server was ready. On macOS, the first SDK request could reach the listener before it was ready to serve and fail with readLoopPeekFailLocked.

Poll AuthMethods through the Coder SDK with the existing bounded retry helper before asserting its response, both before and after the restart.

Closes https://linear.app/codercom/issue/ENG-3257/flake-testserveroauth2githubdefaultproviderallowedorg

Generated by Coder Agents.

@linear-code

linear-code Bot commented Aug 20, 2026

Copy link
Copy Markdown

ENG-3257

@hugodutka
hugodutka marked this pull request as ready for review August 20, 2026 11:04
@hugodutka
hugodutka requested a review from johnstcn August 20, 2026 11:05
@hugodutka
hugodutka merged commit 36bae07 into main Aug 20, 2026
37 checks passed
@hugodutka
hugodutka deleted the hugo/eng-3257-oauth-readiness branch August 20, 2026 11:13
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 20, 2026
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.

2 participants