Skip to content

test(bridge): widen blockPort's EADDRINUSE retry window - #99

Merged
Mearman merged 1 commit into
mainfrom
fix/blockport-retry-budget
Sep 14, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/blockport-retry-budget

Conversation

@Mearman

@Mearman Mearman commented Sep 14, 2026

Copy link
Copy Markdown
Member

Two separate mutation-testing dry runs (against the newly-expanded 14-file matrix) hit an uncaught EADDRINUSE from blockPort() in port-discovery.unit.test.ts exhausting its own retry budget -- the 5-attempt/50ms window (~250ms) added in an earlier fix for the same class of flake wasn't always enough against a genuinely sustained ephemeral-port collision on a loaded runner. Widens to 10 attempts at 100ms (~1s total).

The prior 5-attempt/50ms budget (~250ms total) still wasn't always
enough against a genuinely sustained ephemeral-port collision on a
loaded CI runner -- two separate mutation-testing dry runs hit an
uncaught EADDRINUSE from blockPort exhausting its retries. Widen to
10 attempts at 100ms (~1s total) to give real contention more room
to clear before giving up for real.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 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-14T06:31:56.232646Z 6c9b53a 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.

@Mearman
Mearman merged commit 0d3afb8 into main Sep 14, 2026
6 checks passed
@Mearman
Mearman deleted the fix/blockport-retry-budget branch September 14, 2026 06:33
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.21.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant