Director surface dispatch broker address refuses connections, blocking sibling warded dispatch #1257

Merged
coilyco-ops merged 2 commits from issue-1240 into main 2026-07-14 09:34:56 +00:00
Member

Fix stale broker fallbacks on read-only director surfaces.

The director surface now probes broker reachability before choosing the brokered dispatch path. If the advertised TCP broker is unreachable, warded engineer and PR workflow verbs fall back to the direct path instead of failing on TCP refusal, and the preflight error now names an unreachable broker when no fallback exists.

  • warded engineer no longer hard-fails on a dead broker address.
  • ward agent pr status and PR merge/rerun verbs degrade to direct Forgejo access when broker forwarding is not available.
  • Added unit coverage for reachable vs unreachable broker states and the fallback branch.

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

Fix stale broker fallbacks on read-only director surfaces. The director surface now probes broker reachability before choosing the brokered dispatch path. If the advertised TCP broker is unreachable, `warded engineer` and PR workflow verbs fall back to the direct path instead of failing on TCP refusal, and the preflight error now names an unreachable broker when no fallback exists. - `warded engineer` no longer hard-fails on a dead broker address. - `ward agent pr status` and PR merge/rerun verbs degrade to direct Forgejo access when broker forwarding is not available. - Added unit coverage for reachable vs unreachable broker states and the fallback branch. 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
Sign in to join this conversation.
No description provided.