Fix brokered dispatch fallback when the host broker is unavailable #1272

Merged
coilyco-ops merged 4 commits from issue-1240 into main 2026-07-14 11:48:52 +00:00
Member

This narrows broker forwarding so read-only surfaces make one real broker request and treat an unavailable broker as a fallback signal instead of surfacing the raw TCP refusal. PR/workflow reads now fall back to the direct path when the host broker is absent, and list/logs do the same.

  • What changed: removed probe-before-request forwarding, normalized unavailable-broker errors, and added regression tests for one broker accept per call.
  • Why: the advertised broker addr can disappear or never be listening, and the caller should not fail on the raw connection refusal.
  • Test/CI: ward exec test, ward exec vet, ward exec lint.

closes #1240
ward.workflow: pull-request-and-merge

This narrows broker forwarding so read-only surfaces make one real broker request and treat an unavailable broker as a fallback signal instead of surfacing the raw TCP refusal. PR/workflow reads now fall back to the direct path when the host broker is absent, and list/logs do the same. - What changed: removed probe-before-request forwarding, normalized unavailable-broker errors, and added regression tests for one broker accept per call. - Why: the advertised broker addr can disappear or never be listening, and the caller should not fail on the raw connection refusal. - Test/CI: `ward exec test`, `ward exec vet`, `ward exec lint`. closes #1240 ward.workflow: pull-request-and-merge
fix stale broker fallback on director surfaces
Some checks failed
test / test (pull_request) Failing after 10m2s
025e54c89d
fix broker probe tests to ignore reachability dial
All checks were successful
test / test (pull_request) Successful in 48s
315cd98daa
fix: tolerate unavailable dispatch broker
All checks were successful
test / test (pull_request) Successful in 2m47s
80845b0353
Merge origin/main into issue-1240
All checks were successful
test / test (pull_request) Successful in 35s
41f38f57db
Sign in to join this conversation.
No description provided.