Repository navigation
Windows: accept the deadline form of an unreachable decision provider - #357
Merged
Merged
Conversation
`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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Last red job on
mainafter #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 asDEC-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.