Skip to content

test(http-client): make redirect fixture reads deterministic - #725

Merged
GraciousGazelles merged 2 commits into
mainfrom
repair/redirect-windows-w13583
Sep 3, 2026
Merged

GraciousGazelles merged 2 commits into
mainfrom
repair/redirect-windows-w13583

Conversation

@GraciousGazelles

@GraciousGazelles GraciousGazelles commented Sep 3, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • make all accepted HTTP test streams blocking before timeout, header reads, or writes
  • preserve production redirect/routing behavior and bounded listener polling

Failure rationale

The native Windows gnullvm health run exposed WouldBlock/connection-reset failures in test-only listeners. The listeners intentionally use nonblocking mode while waiting for accept; accepted sockets inherit that mode on Windows. Switching each accepted test stream back to blocking mode before I/O removes the test-fixture race without changing production code or adding sleeps.

Validation

Fresh required PR CI and hosted Windows/macOS validation are being launched for successor head c18e7f898851201cc729ac83c18f8c4801a64809.

Context

This follows upstream precedent around blocking test streams (PRs openai#34978 and openai#38918).

Refs: w13583

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-03T04:18:16.281838Z a7414ad 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.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 3, 2026
Merged via the queue into main with commit b3b9e44 Sep 3, 2026
88 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/redirect-windows-w13583 branch September 3, 2026 06:34
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.

1 participant