Repository navigation
Description
Follow-up to #15131 (broker unreachable 2026-11-25T14:00:28Z to 2026-11-26T10:30:27Z, ~20.5h). Cause verified firsthand on the broker host (amd) user journal:
- 03:38:42:
queue-broker: cannot bind 100.99.113.103:4801: Cannot assign requested address, restart counter hit 5,start-limit-hit; same for laptop-agent and the tailnet socket. - 04:22:21 (after manual reset+restart):
listening on 100.99.113.103:4801, backend turso. Broker healthy since.
The services start before Tailscale assigns the address, burn through their restart budget, and stay down after the address appears. Next reboot can repeat the outage exactly.
Scope: add a startup guard so the broker (and laptop-agent) survive Tailscale not being ready. Options (pick one, record why): bind-retry with backoff inside fleet serve, systemd ordering on the Tailscale address (After/Wants on the tailnet unit or address check), or a Restart policy that does not hit start-limit before the address exists. Cover laptop-agent the same way; it failed the same bind.
Acceptance:
- Reboot-shape proof: with Tailscale delayed/absent at boot, the broker and laptop-agent end up listening once the address appears, with no manual reset.
- No behavior change once the address exists at start.
- Regression coverage names its oracle (a test or a boot-drill record on this issue).
Out of scope: closing #15131 (human closes per #10136); changing bind addresses.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-26T10:37:42Z",
"session_id": "ses_e5ded47a8e5ffeTMjRD6YISpCt",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code",
"repo": "developing-today/code",
"branch": "main",
"sha": "6fd30c93b62a4b6fba19e6444c7d69f343fb93a1"
},
"auth_subject": "oc-code-02",
"stamped_by": "fleet 0.1.0 (native)"
}
}Refs #15131.
Activity
developing-today-fleet commentedon Nov 26, 2026
Intake review
dezren39 commentedon Nov 26, 2026
Progress: opened #15570 with the startup bind guard slice (code-g). All three daemons retry only EADDRNOTAVAIL for up to 10 minutes with 1s→15s backoff; other errors fail immediately. Actual daemon-startup regression test fails against the original source with errno 99, then passes with the fix. Latest Rust and Python suites: 8/8 each; Rust production shares the tested driver. Remaining scope: live reboot drill and recovery beyond repeated exhausted retry budgets (systemd can still eventually hit its restart limit). This is a reviewable slice, not full completion of #15533.
developing-today-fleet commentedon Nov 26, 2026
agent-note:v1 — graph hygiene audit slice N2 under #14863 (queue-lane-SC, 2026-11-26)
State correction (comment-only): status/needs-triage is stale. Progress was recorded on this issue at 2026-11-26T11:54Z — the startup bind-guard slice was opened as #15570 (all three daemons retry only EADDRNOTAVAIL for up to 10 minutes with backoff) — so triage is done and implementation is in flight under the child, yet the issue still carries status/needs-triage. Same recurring class as slice N1 (needs-triage not moved when work starts). Flagged for the owning lane; the audit made no label change. Refs #14863
developing-today-fleet commentedon Nov 26, 2026
Triage refresh (oc-code-05, 2026-11-26): partially implemented, not resolved. PR #15570 is MERGED (77df348); it adds identical EADDRNOTAVAIL-only retry guards to queue-broker, secrets-broker and laptop-agent with bounded backoff. Tests and pre-change failure are documented in the PR. This selects in-process retry because it is host-agnostic/testable and preserves immediate bind when the address exists. Remaining acceptance is the live reboot-shape drill (delayed/absent Tailscale then listener recovery without manual reset) and evaluating behavior beyond repeated 10-minute retry budgets/systemd restart limits. No behavior change is claimed for that scenario. The laptop is currently unreachable via Fleet; no live reboot drill can be performed in this run. Resume the scoped operational proof when the laptop route is reachable; keep #15533 open.
9 remaining items
dezren39 commentedon Nov 27, 2026
🤖 Lane 2352-B-A (bravo SUSTAIN, 2026-11-26 23:52 CST) — shepherd progress: PR #15946 merged; its fleet-command run still in progress (metadata only)
1587b51fd74b2af827ea6bfeff3a02a09b020f1f) was MERGED at 2026-11-27T05:56:03Z, merge commit16bb7f72c35e2f00d139a7411fec947f7e8e8fcf, on lane 2322-D's verification evidence posted on the PR — this shepherd lane did not merge it (at my first poll it was OPEN/CLEAN/MERGEABLE with the run below still running).in_progressat my last polls (~05:52–05:57Z, updatedAt 05:52:47Z), no conclusion yet. Metadata only; no CI logs read.dezren39 commentedon Nov 27, 2026
🤖 Agent note · Lane 2337-A-C (alpha DRIVE, 2026-11-26 23:37 CST) — PR #15946 verification failed; not merged
The fleet-command verification run 45944879391 for PR #15946 (head
1587b51fd) concludedfailureat 2026-11-27T05:58:21Z (metadata only — CI logs held, not read). Per the wake note from lane 2307-C-E, the PR is not merged and stays open pending a successful re-verification.This issue remains open in any case: PR #15946 is Refs-only and the reboot drill for the deploy start-limit change is still outstanding.
dezren39 commentedon Nov 27, 2026
🤖 Correction · Lane 2337-A-C (alpha DRIVE) — PR #15946 was merged; its verification run then failed
Correcting my note above: PR #15946 was merged at 2026-11-27T05:56:03Z (merge commit
16bb7f72) while its fleet-command verification run 45944879391 was still in progress; the run concludedfailureat 05:58:21Z (metadata only — CI logs held, not read). So the change has landed, but on a verification that ultimately failed; whether the failure implicates the merged change is undetermined from metadata alone and is flagged for a future lane.This issue correctly remains open: PR #15946 was Refs-only, and the reboot drill for the deploy start-limit change is still outstanding.
developing-today-fleet commentedon Nov 27, 2026
Decided: owner-park/blocked labels on this issue are not a hold — proceed with verification, keep issue open (live reboot drill outstanding).
Why: lane-guard hold check: no held/user/owned/do-not-auto-edit labels (FDR-0013; assignment/park labels hold nothing). Both code slices verified present on origin/main: #15570 (77df348, EADDRNOTAVAIL-only bind retry) and #15946 (16bb7f7, RestartSec 5s + StartLimitIntervalSec 0 on the three daemons). Fresh remote verification: dezren39/fleet run 45996133642 SUCCESS at target HEAD ccf3954 (= origin/main at dispatch; both merges ancestors) — pkgs/deploy/test_deploy_slice2.py OK.
Undo: a later PR advances the drill or the close decision.
By: lane code-f
Verification evidence (lane code-f, 2026-11-27):
Next step: ops lane with broker-host hands runs the live delayed-address boot drill and records it here; close only then per FDR-0010.
developing-today-fleet commentedon Nov 28, 2026
🤖 Agent note · dated re-check — lane 1637-A (failure lane, alpha DRIVE, 2026-11-28 16:37 CST)
Transport and the laptop route have both recovered since the last re-checks, verified firsthand this run:
gh issue view+gh api).~/tools/laptop-ssh.sh echoreturned exit 0 at 2026-11-28T22:40Z. On the laptop (hostamd, 2026-11-28T22:42Z): Tailscale BackendState=Running with 100.99.113.103 assigned; user unitsqueue-broker.service,secrets-broker.service,laptop-agent.serviceall active/running; listeners live on 100.99.113.103:4801 (fleet, queue-broker), 100.99.113.103:4800 (fleet), 100.99.113.103:4799 (python3, laptop-agent).Drill NOT executed by this lane: the remaining acceptance is the literal reboot-shape drill (delayed/absent Tailscale at boot → listeners recover with no manual reset). Rebooting
amdfrom this lane would kill the laptop-agent channel and every in-flight fleet lane currently running through this host (delta 1622 + alpha 1637 runs are live on it right now), so the drill was not started blind from a gh failure lane.Wake (unchanged in substance, now schedulable): an ops lane in a maintenance window with the fleet quiesced reboots
amd(or delays Tailscale past broker start), then records on this issue: Tailscale assignment time, each of queue-broker / secrets-broker / laptop-agent listener recovery on 100.99.113.103 with no manual reset, and behavior beyond the 10-minute bind-guard budget / systemd start limits. #15533 stays OPEN until that record exists.dezren39 commentedon Nov 29, 2026
Census re-verification — CEN-C16 (2026-11-29; delivery completed in a follow-up pass — the original drafts were lost with the census poster scratch, this text is regenerated from the C16 findings record).
Verdict: blocked (operational proof only)
Blocker: the live reboot-shape drill (delayed/absent Tailscale at boot → listeners recover, no manual reset) needs a maintenance window on host
amdwith the fleet quiesced — rebooting mid-flight would kill the laptop-agent channel every lane uses. That is an ops scheduling decision, not a code blocker.Strengths: complete arc — root cause journal-evidenced in the body; both code slices landed (PR #15570 EADDRNOTAVAIL bind retry for all three daemons; PR #15946 RestartSec 5s + StartLimitIntervalSec 0), design choice recorded, remote verification run 45996133642 SUCCESS; latest recheck (2026-11-28) confirms all three units active with listeners on 100.99.113.103.
Gaps: none in detail. One recorded wrinkle: PR #15946 merged minutes before its verification run concluded failure (metadata-only); the later run 45996133642 succeeded on the merged main, which is the operative evidence.
Priority: priority/high — unchanged (this outage class took the broker down ~20.5h in #15131).
Label actions (census): none (labels sane).
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).
STRENGTHS: Firsthand root cause from the broker host's journal (bind attempts before Tailscale assigned 100.99.113.103, restart budget exhausted, start-limit-hit), bounded scope with three named fix options and a pick-one-and-record-why instruction, and acceptance that demands a reboot-shape proof rather than a unit test alone. kind/infrastructure + priority/high already set.
GAPS: The code is fully landed — PR #15570 (EADDRNOTAVAIL-only bounded retry in queue-broker, secrets-broker, laptop-agent) and PR #15946 (deploy-side restartDelaySec / startLimitIntervalSec) both merged. The only remainder is the acceptance's live reboot drill: a boot where Tailscale is delayed and the services come up listening with no manual reset. That needs a coordinated amd-6 reboot window (the #8787 host drill needs the same kind of session — they could share one). status/blocked is accurate for that remainder; a decision note on the issue already records that the park/blocked labels are not a hold.
FIXES I APPLIED: None — labels and priority verified correct.
REMAINS: A coordinated laptop reboot drill. Drewry does not need to decide anything; it needs a scheduled window, ideally combined with other amd-6 reboot-gated verifications (darwin-nix#2352's post-rebuild check, CF-9's first-fire check).
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 recheck: body, labels and all comments re-read firsthand for this pass. Two full census verdicts from earlier today already stand on this issue (Felix and CEN-C15/C16 lanes) — their verdicts are not duplicated here; this note records only the residual check and any residual fix.
Residual check (kind/infrastructure; priority/high; status: status/blocked; acceptance criteria present): no residual gaps found — verified complete, no changes.
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · lane 1537-D (alpha DRIVE author lane, 2026-11-29) — CLAIM. Taking the startup-guard slice of #15533: broker/laptop-agent must survive Tailscale assigning 100.99.113.103 late at boot. Plan: locate the bind path + unit definitions across developing-today/code and dezren39/fleet, pick the guard option with evidence, land via PR, verify via fleet Actions exec / repo CI on the pushed branch. Queue rung is down (broker tunnel os error 11, #16762 family) so this is a direct claim per the work-loop no-queue fallback.
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · lane 1537-D RELEASE + premise verdict (2026-11-29). Claim released: the code work of #15533 is already landed on main, verified by two agreeing reads (source + commit history):
pkgs/fleet/crates/fleet-queue/src/bind_guard.rstcp_bind_with_retryis wired into bothqueue_broker.rsandsecrets_broker.rsrun()(EADDRNOTAVAIL-only retry, queue-broker/laptop-agent bind fails at boot before Tailscale assigns 100.99.113.103 — add startup guard (follows #15131) #15533 comment in source), landed by PR fix(fleet): retry tailnet broker binds at startup #15570 (77df348, 2026-11-26).pkgs/laptop-agent/tests/test_bind_guard.py, hermetic-import fix laptop-agent test suite: two pre-existing failures on main (test_bind_guard loader error, ExecGrace attach FAIL) #16558).Remainder is exactly the acceptance reboot-drill: a live reboot of amd with Tailscale delayed — a live production operation on the fleet laptop, outside a sandbox author lane. Issue stays open for that drill; no further code slice is owed here.
developing-today-fleet commentedon Nov 30, 2026
Decision — 2026-11-29, taken under Drew's standing decision posture (2026-11-23) and his 2026-11-29 order to handle the census's untouched items. This issue waited on approval for the reboot drill.
The drill is approved. Planning and execution are fleet work from this point.
One remainder is Drew's and is recorded exactly: confirm a reboot window for the laptop (
amd) during which the drill may reboot it. Once a window is confirmed on this thread, the fleet runs the drill inside it without further approval.developing-today-fleet commentedon Nov 30, 2026
🤖 Lane 0407-O (charlie ADVANCE, 2026-11-30 04:07 CST) — claim-scan verdict: GENUINE STOP, not claimed.
Issue + ALL comments read live this run; transport verified firsthand (two consecutive
gh api rate_limitrc=0). No live claim (lane 1537-D claimed 2026-11-29T21:44Z and released 21:48Z with the same verdict).amdwith Tailscale delayed — a live production operation (stop type 2 of 3). The 2026-11-30T01:38Z decision note on this issue approves the drill as fleet work but records one Drew remainder: confirm a reboot window foramdon this thread. No window is confirmed yet.developing-today-fleet commentedon Nov 30, 2026
🤖 P3.1 reparenting — Felix lane 0640-XW (plan: #17071). This issue was an open sub-issue under closed parent #15131, which has no parent or named successor epic, so per the destination rule it is detached to top-level. GraphQL
removeSubIssue, verifiedparent: null. No state, labels, or priority band changed.developing-today-fleet commentedon Dec 1, 2026
🤖 Lane 1852-B (bravo SUSTAIN queue-truth, 2026-11-30) — queue-leg evidence for the parked task bound to this issue.
Full claim-scan done live this run (body + all 21 comments). Concur with lane 0407-O's genuine-stop verdict: the code work is landed (PR #15570 bind retry + PR #15946 systemd restart delay) and the sole remainder is Drew confirming a reboot window for the laptop drill — not claimed.
Queue-truth evidence recorded while reconciling the fleet queue against GitHub: the queue leg is still down from this seat, so no parked-task wake tied to queue recovery has fired. Two consecutive spaced
fleet agent doctorreads this run: queue ok:false (repo-queue: not found; then broker tunnel to 100.99.113.103:4801Resource temporarily unavailable (os error 11)) and shell ok:false (laptop-agent HTTP 502, same tunnel), bridge/github ok:true, fleet.tomldirect = falseverified firsthand. Zero queue mutations were made this run (the doctor gate for mutations did not pass).Wake (machine-checkable): two consecutive spaced
fleet agent doctorreads with queue ok:true AND shell ok:true, plus Drew's reboot-window confirmation on this thread for the drill remainder.