Repository navigation
provider, exec: the lane a failure names is a wire fact provider reads - #1105
Merged
Merged
Conversation
Only internal/taxonomy and internal/provider may compare a provider error's status against a threshold; exec's private failedLane read a relayed 5xx by status. The fact moves to provider.FailedLane, beside the retry avoidance it feeds, and exec asks for it instead. Behaviour unchanged; the reasoning moved with the rule. Co-Authored-By: codeaf <[email protected]>
Co-Authored-By: codeaf <[email protected]>
AbirAbbas
added a commit
that referenced
this pull request
Sep 18, 2026
… custom connections (#1194) Lands the integration branch santos/dev (#1108, head 6db5125, 152 commits over dev) on dev as one squash, plus two fixes that kept its touched-packages job red: the pool start-up test empties the CI word it is not about (649bb4b), and a zombie leader no longer keeps a job's process group alive on Linux, which had delayed every finished background job by the two-second termination grace since #1155 (053e6a9). #1108 carries the full account; the 94 change entries under docs/changes/unreleased/ are the per-change record. The commits folded in, oldest first: 5c413ef Keep archived evidence readable while tasks finish 3705a0c Document recovery evidence retrieval change 7834cc7 tui3, manual: a question's own answer box answers to the whole caret vocabulary 99d66e9 task: Add open/all source toggle to crew config c1e4cb5 docs: the change entry for the crew model family toggle e63b439 crew: round-1 review fixes
Turns
santos/devgreen.TestOnlyTheTaxonomyTurnsAStatusIntoAMovefailed onsantos/dev:197d8933addedfailedLanetointernal/exec, which comparesAPIError.Status >= 500to decide which upstream lane a retry should avoid. The law allows onlyinternal/taxonomyandinternal/providerto read a status; its allowlist is empty and only shrinks.Fix
"Which lane did this failure name" is a fact about the wire, so it moves to
internal/providerasFailedLane(err), besideWithRetryAvoid/RetryAvoidFrom, which it feeds.execcalls it and its private copy is deleted. The behaviour is byte-identical: a 5xx relayed from a named upstream names that provider (trimmed), a cut stream names its provider, anything else names nobody. The allowlist and the law test are untouched.internal/execretry tests pass unchanged:TestARetryAfterANamedUpstreamFailureAvoidsEveryLaneThatFailed,TestARetryAfterACutStreamAvoidsTheLaneTheStreamNamed,TestAnUpstream4xxNamesNoLaneToAvoid.TestFailedLaneNamesWhoTheFailureImplicatedtable test ininternal/provider.Evidence
make checkon this head over ssh on Spark; see the PR comment for the result and SHA.🤖 Generated with Claude Code