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
bootstrap.sh check: bridge hello hangs with no timeout when the session broker is down #13045
the token, tailnet, and fleet phases succeeded, and check itself got as far as:
check: laptop agent port answers on the tailnet
check: fleet secrets resolve
check: no session broker answering yet (init.sh starts it; bws fallback still works)
check: 1Password CLI/token did not verify (op is restored from ~/tools or login data is missing)
Then it blocked on fleet bridge hello --agent grok --groups grok (the #12897 fix is in effect; this was not --groups muse). There is no timeout around that probe. An outer timeout 600 killed the script (exit 124) with no check: bridge hello failed or check: all good line.
init was skipped, and the leftover fleet proxy serve process on this seat was already dead, so ~/.cache/laptop-agent/broker.sock had no live broker. Check treats a missing session broker as a warning and then calls hello anyway, which hung instead of failing fast.
After starting fleet proxy serve so it picked up the newly provisioned ~/tools/laptop-agent-token, the same hello returned in seconds (exit 0) and enroll reported registered: true.
Why it matters
--skip init (or a stale/dead session broker) turns check into an unbounded hang instead of a named failure. The script's documented "exit 1, the message names the phase" path never runs.
Suggested fix
Wrap the check-phase fleet bridge hello (and the follow-up inbox read) in a timeout, then treat a timeout as check: bridge hello failed.
Optionally start or restart the session broker before the hello probe when init was skipped or the broker socket is stale, since hello appears to depend on it in practice.
Seen on developing-today/code main at 65f4921, seat name/kind/groups grok, 2026-11-23 around 1:24–1:34 AM CST.
Claiming this slice (Lane KZ, sandbox fix lane). Premise verified first-hand on current main: the check phase runs fleet bridge hello (and the follow-up fleet bridge inbox read) with no timeout, so a dead session broker turns check into an unbounded hang instead of the named check: bridge hello failed failure. Plan: bound both calls with a timeout in scripts/muse/bootstrap.sh, keeping the existing failure line/exit path; verify with a stubbed fleet whose hello hangs.
Done — landed in PR #13062, merged as 86ec6f3a1ee193927a548193a3fa1bd230ef5274 (head 0dec77e5176, SHA-guarded). This issue auto-closed as completed on the merge.
Change (scripts/muse/bootstrap.sh, check phase only): the bridge hello now runs as timeout 30 fleet bridge hello ..., and the follow-up inbox read in the success line is bounded by the same timeout 30. A timeout lands in the pre-existing check: bridge hello failed branch (rc=1 → check exits 1 naming the phase). The issue's optional broker auto-start suggestion was not taken — check is a probe phase, and the reported defect was the unbounded hang, which the timeout removes.
Verification (laptop worktree, stubbed fleet/op under a fake HOME, --only check):
Hang mode (stub hello sleeps 3600s): every other probe passes; hello cut at 30s; output check: bridge hello failed → FAILED: check: see the lines above; script exits 1 on its own, 30s total, no outer kill. (Pre-fix shape, per the grok-seat repro in this issue: hang until an outer timeout 600 kill, exit 124, no failure line.)
Activity
developing-today commentedon Nov 23, 2026
CODE-4760
dezren39 commentedon Nov 23, 2026
Claiming this slice (Lane KZ, sandbox fix lane). Premise verified first-hand on current main: the check phase runs
fleet bridge hello(and the follow-upfleet bridge inboxread) with no timeout, so a dead session broker turns check into an unbounded hang instead of the namedcheck: bridge hello failedfailure. Plan: bound both calls with a timeout inscripts/muse/bootstrap.sh, keeping the existing failure line/exit path; verify with a stubbedfleetwhose hello hangs.dezren39 commentedon Nov 23, 2026
Done — landed in PR #13062, merged as
86ec6f3a1ee193927a548193a3fa1bd230ef5274(head0dec77e5176, SHA-guarded). This issue auto-closed as completed on the merge.Change (
scripts/muse/bootstrap.sh, check phase only): the bridge hello now runs astimeout 30 fleet bridge hello ..., and the follow-up inbox read in the success line is bounded by the sametimeout 30. A timeout lands in the pre-existingcheck: bridge hello failedbranch (rc=1 → check exits 1 naming the phase). The issue's optional broker auto-start suggestion was not taken — check is a probe phase, and the reported defect was the unbounded hang, which the timeout removes.Verification (laptop worktree, stubbed
fleet/opunder a fake HOME,--only check):check: bridge hello failed→FAILED: check: see the lines above; script exits 1 on its own, 30s total, no outer kill. (Pre-fix shape, per the grok-seat repro in this issue: hang until an outertimeout 600kill, exit 124, no failure line.)[]):check: bridge hello as muse ok; unread commands: 0,check: all good, exit 0, ~0s.bash -nclean; post-merge, bothtimeout 30 fleet bridge ...calls re-read on main (bootstrap.sh lines 776/779).test(muse): add timeout to restricted sys_bin for bootstrap check (#1…
fix(scripts-test): symlink timeout into muse bootstrap check-op fixture