Skip to content

fix(frontdoor): let the probes take the bound they wait for - #623

Merged
Mearman merged 1 commit into
mainfrom
fix/probe-timeout-parameter
Oct 27, 2026
Merged

Mearman merged 1 commit into
mainfrom
fix/probe-timeout-parameter

Conversation

@Mearman

@Mearman Mearman commented Oct 27, 2026

Copy link
Copy Markdown
Member

The probe tests that read a verdict ran the probe under the production bound, so on a loaded machine starting the worker thread alone could outlast it and the test saw "the probe did not finish within 3000ms" where it was asking what a refused connection looks like (#604).

probeFrontDoorSync and probeListenerAcceptSync now take the bound as a parameter that defaults to PROBE_TIMEOUT_MS, the same way the statusline ports take their run limit. The tests that read a verdict give them a bound no loaded machine reaches; the test of the bound itself keeps the production one, and a new test pins that the bound a caller gives is the one the probe gives up at.

Fixes #604

The tests that read the verdict of a probe ran it under the bound production uses, so on a
loaded machine the worker thread's start alone could outlast it and the test saw the probe's
own timeout where it was asking what a refused connection looks like. Both probes now take
the bound as a parameter that defaults to the production one, and the tests that read a
verdict give them a bound no loaded machine reaches. The test of the bound itself keeps the
production value, and a new one pins that the bound given is the one the probe gives up at.

Fixes #604
@chatgpt-codex-connector

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 ⚠️ Failed 2026-10-27T19:55:30.602619Z
We couldn’t complete this review. Comment @codex security review to try again.
7590c44 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@Mearman
Mearman merged commit 8699fb4 into main Oct 27, 2026
32 checks passed
@Mearman
Mearman deleted the fix/probe-timeout-parameter branch October 27, 2026 20:01
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.

front door probe tests overrun the production probe bound under load

1 participant