Skip to content

Windows: accept the deadline form of an unreachable decision provider - #357

Merged
sathish-mg merged 1 commit into
mainfrom
fix/windows-unreachable-provider-test
Sep 25, 2026
Merged

sathish-mg merged 1 commit into
mainfrom
fix/windows-unreachable-provider-test

Conversation

@sathish-mg

Copy link
Copy Markdown
Contributor

Last red job on main after #356.

an_unreachable_provider_is_a_retryable_e002 (areev-llm) connects to a closed loopback port and pins that the backend reports a retryable transport error (DEC-E002) rather than hanging. Unix refuses that connect immediately. GitHub's Windows runner has been observed to stall it instead, intermittently (the test was green on the two previous Windows runs, then stalled past the 2 s default deadline on bd8e43b), so the same physical condition, no listener, arrived as DEC-E004. Both are the backend declining to hang. The test now accepts either shape on Windows and keeps the strict immediate-refusal classification on Unix, where the OS guarantees it.

CI runs the workspace under nextest, which reports every failure instead of stopping at the first failing binary, so this was the only remaining Windows failure.

Possible follow-up for the decision-backend owner, deliberately not done here: a connect-phase timeout classified as "unreachable" (transport, retryable) would make the classification platform-independent and let a chain move past an unreachable host with budget to spare, but it changes the "one deadline" budget semantics recorded in the proposal.

Local: cargo test -p areev-llm --test decide (30 passed, strict path), clippy clean.

`an_unreachable_provider_is_a_retryable_e002` connects to a closed loopback
port and pins that the backend reports a retryable transport error rather
than hanging. Unix refuses such a connect at once. GitHub's Windows runner
has been observed, intermittently (green twice, then a stall past the 2 s
default deadline), to stall it instead — the same physical condition, no
listener, reported by the OS as "no answer" rather than "no connection", so
the backend classified it as DEC-E004 instead of DEC-E002. Both are the
backend declining to hang. The test now accepts either shape on Windows and
keeps the strict immediate-refusal classification where the OS guarantees
the refusal.

This was the last red job on main after #356: CI runs the workspace under
nextest, which reports every failure rather than stopping at the first
failing binary, so nothing else is hiding behind it.
@sathish-mg
sathish-mg requested a review from a team as a code owner September 25, 2026 15:51
@sathish-mg
sathish-mg merged commit 2ebf41f into main Sep 25, 2026
@sathish-mg
sathish-mg deleted the fix/windows-unreachable-provider-test branch September 25, 2026 15:51
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