You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fleet clients: probe-based UDS/TCP transport selection (from #5699) #6218
Implementation follow-up from the design decision on #5699 (adopted 2026-11-05, task 10135 triage).
Scope
Client migrations to probe-based transport selection (explicit URL/env override wins, then the [<role>] transport config preference, then probe: socket file exists + connect succeeds -> UDS, else TCP — the dispatch client's probe-then-choose pattern, crates/fleet-dispatch/src/lib.rs:152-183):
queue client direct path (crates/fleet-queue/src/client.rs:69-84,100-113)
queue-broker's DirectSecrets hop to secrets-broker (crates/fleet-queue/src/queue_broker.rs:48-51,604-605) — gains a unix:// form or sibling secrets_socket setting
laptop-local fleet secrets path
On the way past: fix the queue client's hardcoded broker-sock path (client.rs:55-57) to ask fleet-config instead.
Sandbox consumers are untouched — they speak UDS to their local proxy, a different socket.
Acceptance
Each migrated client works over UDS when the role socket answers and falls back to TCP when it does not.
No behavior change when only TCP is configured.
Acceptance criteria
Fleet clients select UDS vs TCP per role by probing, with no manual configuration.
A failed or absent socket probe falls back to TCP within the same connection attempt.
Probe behavior is covered by tests for socket-present, socket-absent, and socket-stale cases.
Resumed by lane code-f (task 14372). Fresh verification: PR #8033 OPEN at 5d63b51, diff matches the #6218 intent (fleet-config RoleTransport/probe_socket, queue client + queue-broker + fleet-secrets route selection, 6 files); Codex review failed on usage limits with zero findings (disposition posted on PR #8033); checks still QUEUED (fleet Actions stall). Merging PR #8033 under standing merge authority, then completing task 14372 and closing this issue.
Done: PR #8033 merged (squash, merge commit 5763542) implementing probe-based UDS/TCP transport selection for fleet broker clients per the #5699 design. Verified by lane code-f on task 14372 resume: diff matches intent, laptop tests recorded by the implementing lane (fleet-config 26, fleet-queue 119, fleet-secrets, fleet + fleet-dispatch suites) all passing, Codex review produced no findings (failed on usage limits; disposition on PR #8033). Closing as complete.
agent-note:v1 task 11118 lane code-m: picked up, execution lane opencode (row 3448), handed off to claimant and parked 1200s. Fresh check 2026-11-09T08:09:26Z: issue #6218 OPEN, no hard-stop labels
Activity
developing-today commentedon Nov 5, 2026
CODE-1817
dezren39 commentedon Nov 5, 2026
Intake review
🤖 Agent note · filed
54 remaining items
dezren39 commentedon Nov 9, 2026
Resumed by lane code-f (task 14372). Fresh verification: PR #8033 OPEN at 5d63b51, diff matches the #6218 intent (fleet-config RoleTransport/probe_socket, queue client + queue-broker + fleet-secrets route selection, 6 files); Codex review failed on usage limits with zero findings (disposition posted on PR #8033); checks still QUEUED (fleet Actions stall). Merging PR #8033 under standing merge authority, then completing task 14372 and closing this issue.
feat(fleet): probe-based UDS/TCP transport selection for broker clien…
dezren39 commentedon Nov 9, 2026
Done: PR #8033 merged (squash, merge commit 5763542) implementing probe-based UDS/TCP transport selection for fleet broker clients per the #5699 design. Verified by lane code-f on task 14372 resume: diff matches intent, laptop tests recorded by the implementing lane (fleet-config 26, fleet-queue 119, fleet-secrets, fleet + fleet-dispatch suites) all passing, Codex review produced no findings (failed on usage limits; disposition on PR #8033). Closing as complete.
dezren39 commentedon Nov 9, 2026
agent-note:v1 task 11118 lane code-m: picked up, execution lane opencode (row 3448), handed off to claimant and parked 1200s. Fresh check 2026-11-09T08:09:26Z: issue #6218 OPEN, no hard-stop labels