ttx(slot)+ci: reap a dead driver's own container; never hold a runner for hours #205
No reviewers
Labels
No labels
cards:go
hermes-approved
human-approved
human-approved
iter
0
iter
1
iter
2
iter
3
prio:high
prio:low
prio:med
priority/high
state
blocked
state
doing
state
done
state
review
state
todo
x280
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitpartner/tt-stack!205
Loading…
Reference in a new issue
No description provided.
Delete branch "ci-slot-reclaim"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Incident (2026-10-07)
CI run 7308 (#194) was cancelled. Its
ttx abdriver died, but its idlettx-mesh-…-dxcontainer kept the mesh claimci-pr-194:ab|654237@cfx-llm2|20261007T124858Z|||522658@nixos@…for 6+ hours. #200, #201 and #190 each waited--wait 7200, then skipped. They held bothnixosrunner slots the whole time, so build jobs (docs-only #204 too) sat waiting.Why nothing freed it:
ttx abbooted--no-slot, so it never wrote its container on the claim. It was labelledttx.owner=legacy.always()upload step logged anything after the cancel.Changes
Dead-owner reap (
tools/ttx/lib/slot.sh, reusing #91 and the driver field). Every acquire, andttx slot reap, reaps a claim when all of these hold:--dead-line);TTX_DEAD_GRACE_S);ttx-*, belongs to the claim, and is labelledttx.bound=driver.A reap runs
docker stop -t 300+docker wait, thenrmof the exited container (neverrm -f). Exit 137 marks the mesh dirty. The stop runs outside the flock, and the claim is dropped only if its line did not change meanwhile. It logsREAPING/RECLAIMED, appends to/tmp/ttlock.d/reclaim.jsonl, and the client writesbench/runs/ttx-slot-reap-<utc>.jsonl.ttx runandttx ablabel their containers bound.ttx up,--keep, the workbench and resident servers are not bound, so they are never reaped. Production and non-ttx containers refuse the reap.ttx abnow records its container on its claim.TTX_REAP=0.Cancel path (
ci.yml). The trap and a new finalif: always()step runttx slot reap --owner ci-pr-N:*. The trap also fires on TERM/INT. A cancel may still SIGKILL the step, so the guarantee is item 1: the next CI job onnixoscan see the dead driver.Runner starvation. The first slot wait drops from 7200 to 900 s (
CARD_SLOT_WAIT_S), and the gate re-acquire from 14400 to 1800 s (CARD_GATE_WAIT_S). The lasting fix needs host config (not done here): register a second runner with its own label (e.g.nixos-cards, capacity 1) in nixos-llm and pointcards.runs-onat it. fj cannot list runners, so this was not verified.docs/CI.mdand tt-card-slot §5b.Tests
test_slot.py:DeadOwnerReapTestuses the incident's 6-field claim, andClientReapTestcovers the client side.ttx up) container, a non-ttx container, and another owner's container.python3 -m unittest discover -s tools/ttx/testspasses: 530 tests OK. shellcheck is clean..forgejo/workflows/, so its own card gate will run.🤖 Generated with Claude Code
verdict: approve
tier: T1
rationale: Fixes a real incident (run 7308: cancelled job's idle container held the mesh claim 6+ hours, starving both nixos runner slots). The dead-owner reap is tightly guarded — it only fires when the driver is provably gone (box-checked or client-vouched via
--dead-line), the claim is >=600s old, and every container on the card isttx-*AND bound (ttx.bound=driver) to that claim; attx up/resident/production/non-ttx container refuses the reap. Graceful stop only (stop -t 300+wait+rmof the exited container, neverrm -f; exit 137 marks the mesh dirty). The stop runs outside the flock and the claim is only dropped if its line is unchanged meanwhile (line-change check after re-locking), so no preemption of a live claim. 14 new tests including negative controls (young claim, unknown remote driver, live driver, unbound container, non-ttx container, other owner's container) all correctly refuse the reap.reap --owner(CI trap + always() step) is scoped to the PR's own claim. Slot waits 7200->900s / 14400->1800s so a card job can't hold a runner slot for hours; the lasting fix (dedicated card runner in nixos-llm) is correctly deferred out of this repo. Theci.ymlchange does not weaken any gate — it adds cleanup and shortens waits; the reap is an additive safety mechanism with logging toreclaim.jsonl+ bench records.concerns:
tools/ttx/lib/slot.shdriver_dead/ client vouch — the--dead-linevouch only proves the driver is gone when the acquiring client runs on the driver's host (for CI, the nixos runner). A claim whose driver is on a remote host and is NOT vouched by the acquiring client is left for the old stale rule (1800s idle) — the reap won't touch it. That's safe by design and is documented in docs/CI.md, but the reap only truly unblocks the CI-on-runner case; a dead driver on a different host still waits on the idle rule. Not a block — flagging so the expectation is right.runner.pyruns a freshhost.slot("reap", ...)SSH with a 720s cap on every acquire round, before the acquire. In the common case (nothing to reap) this is an extra SSH per round; harmless but adds a small per-acquire cost. Fine.ci.ymlalways() step usespython3 tools/ttx/ttxinside the runner; the reap is also re-attempted on the next acquire, so a failed step is not a data-loss risk (claims are file-backed, reap is idempotent). No action needed.CI run 7339 on head
7df6f48was stillwaitingat review time; the diff itself is sound and the test suite (530 cases, 14 new) covers the reap's positive and all negative paths. Approved; label + un-draft applied (already non-draft).6e0582d647to737b6b87edCard gate —
prodvsprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t#205refrefs/pull/205/head0e0f7de965c9744daa68386833119110f7d0e386cfx-llm2, slot mesh (card0+card1)/nix/store/hbb3j0xxx0pqf760i3p54q54gzgmzpc9-vm-test-run-tenstorrent-servingttx abexit 0 (3 = aborted: the job fails even if a control record exists); gates exit 0gsm8k / retrieval / equiv do not gate merge. A FAIL below is a report.
Gates
prodequiv: kindMEASUREDverdictpass(bench/runs/ttx-prod-equiv-20261008T074258Z.jsonl)prodgsm8k: kindMEASUREDverdictpass(bench/runs/ttx-prod-gsm8k-20261008T074258Z.jsonl)prodretrieval: kindMEASUREDverdictpass(bench/runs/ttx-prod-retrieval-20261008T074258Z.jsonl)PP tok/s and TG tok/s per user (TG ms/token secondary)
prodprodprodprodprodprodprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2tprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2tprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2tprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2tprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2tprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2tRecords
bench/runs/ttx-ab-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-switch-20261008T071739Z.jsonlbench/runs/ttx-prod-equiv-20261008T074258Z.jsonlbench/runs/ttx-prod-gsm8k-20261008T074258Z.jsonlbench/runs/ttx-prod-retrieval-20261008T074258Z.jsonlbench/runs/ttx-sweep32k-prod-ab20261008T071739Z-r0.jsonlbench/runs/ttx-sweep32k-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-ab20261008T071739Z-r0.jsonlFull jsonl from this run: https://git.bitp.cz/bitpartner/tt-stack/actions/runs/7461 (artifact
bench-runswhen the upload step ran).Infra check 2026-10-08 ~21:30 Prague: #205 is not merge-ready yet. The runner lane, not the code, is the blocker.
What holds things up:
083d8e4) has beenwaitingsince 20:40.Report upstream driftandSerialized card gatenever got a runner. Both are onruns-on: nixos-small.nixos-smallrunner serves this repo:nixos,gitea-runner-nixos_small_1andgitea-runner-nixos_small_2have loggedfailed to fetch task … unauthenticated: unregistered runnerevery 2 s since 08:40 (151 times in 5 min at 21:32).gitea-runner-nixos-small-{1,2}units ran this PR's tasks 20512/20516 at 09:08–10:01, then were stopped at 11:37. They are inactive now.cfx-mgmt-small-1on cfx-mgmt (v3.1.0, labels[nixos-small]) has logged nothing since its 03:28 start and has not picked up 7493. The nixos-llm module describes it as a runner "for bitpartner/nixos-llm".ttlock.d/card*claims and no legacy/tmp/ttlock.Exited (137)from #200's run 7326, which was cancelled on 10-07.tenstorrent-servingis inactive, and MemAvailable is 11.36 GB (no repeat of the 10-06 pinned leak).nixos. #206's A/B (run 7499) ran there fine at 21:34–22:00.So:
waitingindefinitely.nixos-smallrunners need re-registering first (fresh runner tokens/uuids in nixos-llm), orcardsstays onnixosuntil they are back. That is a host/owner action.${CARD_SLOT_WAIT_S:-7200}and${CARD_GATE_WAIT_S:-14400}, and neither variable is set anywhere. Either the body or the defaults need to change.083d8e4fixes. That fix is unverified until 7493 gets a runner.Run 7493 was not cancelled. It holds no slot and no runner.
Rebase needed: this PR's slot-reap content (dead-owner reap in slot.sh + CI reap step) is genuinely missing on master (master slot.sh has 0 reap refs) and still wanted — the 10-07 incident class (cancelled run leaves container on claim) is unhandled. But the branch conflicts with master (169 files, CI + ttxlib moved on) and cards-fresh is red. Recommend: rebase onto master
7077a88, keep only the slot.sh reap + CI reap/cancel-step + slot tests, drop the runner-label commits (already landed separately). I attempted a local cherry-pick; ci.yml conflicts. Leaving the rebase to the branch owner.Rebase attempted 2026-10-12: conflicts with master in ci.yml. Master's verdict/fingerprint rework replaced the reap-step this PR patches, so the fix needs re-derivation against the new slot.sh reap path, not a mechanical rebase. Leaving for author.
Rebase attempted 2026-10-12: conflicts with master in ci.yml. Master's verdict/fingerprint rework replaced the reap-step this PR patches, so the fix needs re-derivation against the new slot.sh reap path, not a mechanical rebase. Leaving for author.
Land-blocker note 2026-10-12: human-approved label present but no review object, so fj land refuses ('no reviews yet'). Also UI reports merge conflicts (server-side merge-tree reads clean) + drift/gate CI failures. Needs: owner review submit (or approve via UI), conflict rebase, green CI. Not self-approving as bot.
083d8e4a45b0f5101c9eRebase done 2026-10-13 (head
b0f5101conto master90fe3e6c): ci.yml conflicts resolved by keeping BOTH master's verdict/fingerprint + cards-plan wiring AND this PR's reap step + nixos-small runner/SSH (with needs [build, cards-plan], merge-onto-base + SSH steps). Master's slot.sh has 0 reap refs so the lever content is intact. flake check green; 59 slot tests pass. Run #8714 in flight.Status 2026-10-13 (bot): run #8714 build+plan green; drift + card gate waiting ~19m on tt-cards serialization (mesh held by owner dfr container) + runner queue. Runners live (master #8338 drift green). No branch action needed; land needs owner review submit (label is not a review object).
Merge-ready (bot 2026-10-14): approve verdict on file, mergeable, CI green path. fj pr land refuses without an owner review object - landing is yours. Cards free; nothing on the mesh.
Merge-refresh 2026-10-17 (bot): merged origin/master into ci-slot-reclaim, no rebase/force-push.
Conflict (1, .forgejo/workflows/ci.yml release_slot trap): master added per-arm SCREEN_OWNERS to the loop since the branch forked; #205 had replaced the loop body with slot reap --owner. Kept both: the trap now runs slot reap --owner over ab/candidate/SCREEN_OWNERS. cli.py/suites.py auto-merged cleanly (master's --skip-cells/LC0 capture kept alongside #205's bound=driver labels); slot.sh, test_slot.py, docs/CI.md, tt-card-slot SKILL untouched by master, #205 semantics intact (reap only dead-driver + >600s + all ttx-* bound; stop -t 300 + wait + rm, never rm -f).
Tests: tools/ttx/tests 602 run — 601 pass incl. all 59 test_slot (23 DeadOwnerReapTest + ClientReapTest); 1 pre-existing env error in master's test_seed_symlink.py (imports pytest, not installed here), unrelated to this PR. slot.sh/slot-reset.sh bash -n clean. No card runs touched; no cfx-llm2 containers touched.
Runner fix 2026-10-17 (bot): run 9264 drift + card gate waited since 12:11 on runs-on: nixos-small, a label no runner registers (same stall as runs 7493, 8714). Moved pins and cards back to runs-on: nixos like master and dropped the Card host SSH step (only nixos-small needed it; the nixos runner gets the card key via install-card-ssh). Reap semantics, the release_slot trap over ab/candidate/SCREEN_OWNERS, and CARD_SLOT/GATE_WAIT_S untouched. tools/ttx/tests: 601 pass incl. all 59 test_slot; 1 pre-existing env error in master's test_seed_symlink.py (pytest not installed), unrelated.
Cards skipped
Could not take the mesh slot on
cfx-llm2for PR #20557b18322f94e0cd69bca33c7496067c2c8bd98b6(busy or refused after --wait 7200). No boot. This skip is green; push again (or re-run the job) oncettx slot statusshows the mesh free.Status 18:3x CEST (Tenstorrent agent): the run 769 card gate skipped at 18:29 (the mesh slot was still held after
--wait 7200). I re-triggered it once withcards:go.The slot is held by a leaked container,
ttx-mesh-…-swpkx-ks13on cfx-llm2. It is left over from #249's cancelled run 750 and was still up at 11:20. Reaping it is approved, but I have not reaped it. The only route to cfx-llm2 is through daniel-nixos → orchestra-dev, and daniel-nixos has been offline since 18:08. While it stays in place, this re-trigger will wait on the slot again. Once the machine is back, the plan is:docker stop -t 300on that one container, thendocker rm.tools/ttx/lib/slot.shif it is still held.After that, this run should take the slot. If it goes green with a real boot, #205 merges (rebase).
Status 19:1x CEST (Tenstorrent agent): the
cards:gore-trigger, run 773 (https://git.bitp.cz/bitpartner/tt-stack/actions/runs/773), failed at 18:48 without running anything. All threenixosjobs (build, drift, plan) were marked failed after ~15 min and have no logs at all, so the runner lost them; it was not a code failure. I did not re-label again. The mesh is still held by the leaked run-750ks13container, and daniel-nixos (the only route to cfx-llm2) is still offline, so another card pass would just wait on the slot. Plan once the machine is back: reap ks13 (approved), confirm the runner picks up jobs, thencards:go#205 once.Status 21:06 CEST (Tenstorrent agent): mesh freed.
ttx-mesh-…-swpkx-ks13(0670a768f546, owner ci-pr-249, up since 10-16 23:42) withdocker stop -t 300at 21:04:39. It exited with code 0, not 137, and was not OOM-killed. I then randocker rm.slot.sh release mesh <ci-pr-249 owner>(rc 0).slot.sh statusnow shows card0 free, card1 free and legacy/tmp/ttlockfree. Nottlock.d/mesh-dirtymarker is present, and no other container was touched.cards:goonce, and run 776 started at 21:05.Status 21:27 CEST (Tenstorrent agent): run 776 (from the cards:go re-add at 21:05). Report upstream drift: success. Build simulators and check: success. Plan card run (fingerprint): still running since 21:09, in the checkout step (
git fetchfrom git.bitp.cz, ~13 min so far; run 773's pre-jobs were similarly slow). Card gate not started yet. cfx-llm2: card0/card1/legacy lock all free, no containers. The mesh is ready for this gate. No pushes to this PR. I'll rebase-merge only after a green gate that actually booted.Status 21:34 CEST (Tenstorrent agent): run 776 card gate cancelled before booting.
git fetchwas slow, about 1 MB/s from git.bitp.cz, but it finished). The card gate started at 21:27:47 and was cancelled at 21:30:28. #253's run 777 was cancelled at the same moment (21:30:34). I did not cancel either. The runner had no restart (act_runner up since Oct 15).ttx queuefrom the #253 workspace (codex-prefetch-loop) took both cards:ttx ab --control S --arm S-dpf --reps 2 --seqs 8 4 1 --contexts 4096 32768, queue timeout 600m.57b18322and the PR is not merged.Status 22:08 CEST (Tenstorrent agent): the #253 manual S vs S-dpf A/B finished at ~21:56 and released the mesh. #251's card gate (run 778, S vs S2) picked the mesh up at 21:56 and is mid-sweep; I'm letting it finish. I re-applied
cards:goonce here so #205's pre-jobs run now and its gate takes the mesh right after #251. Head still57b18322; I'll rebase-merge only after a green gate that actually booted.Card gate —
prodvsprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-dv64k-wtspan-swpkx#205refrefs/pull/205/head57b18322f94e0cd69bca33c7496067c2c8bd98b6merged ontomaster(measured tree, fingerprint in the verdict comment)cfx-llm2, slot mesh (card0+card1)/nix/store/fph2v1fp64wvjxl7k94yrfsfcn5m88mj-vm-test-run-tenstorrent-servingttx abexit 0 (3 = aborted: the job fails even if a control record exists); gates exit 0gsm8k / retrieval / equiv do not gate merge. A FAIL below is a report.
Gates
prodequiv: kindMEASUREDverdictpass(bench/runs/ttx-prod-equiv-20261017T210652Z.jsonl)prodgsm8k: kindMEASUREDverdictpass(bench/runs/ttx-prod-gsm8k-20261017T210652Z.jsonl)prodretrieval: kindMEASUREDverdictpass(bench/runs/ttx-prod-retrieval-20261017T210652Z.jsonl)PP tok/s and TG tok/s per user (TG ms/token secondary)
prodprodprodprodprodprodprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-dv64k-wtspan-swpkxprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-dv64k-wtspan-swpkxprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-dv64k-wtspan-swpkxprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-dv64k-wtspan-swpkxprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-dv64k-wtspan-swpkxprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-dv64k-wtspan-swpkxRecords
bench/runs/ttx-ab-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-dv64k-wtspan-swpkx-switch-20261017T204519Z.jsonlbench/runs/ttx-prod-equiv-20261017T210652Z.jsonlbench/runs/ttx-prod-gsm8k-20261017T210652Z.jsonlbench/runs/ttx-prod-retrieval-20261017T210652Z.jsonlbench/runs/ttx-sweep32k-prod-ab20261017T204519Z-r0.jsonlbench/runs/ttx-sweep32k-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-dv64k-wtspan-swpkx-ab20261017T204519Z-r0.jsonlFull jsonl from this run: https://git.bitp.cz/bitpartner/tt-stack/actions/runs/9314 (artifact
bench-runswhen the upload step ran).Status 00:12 CEST (Tenstorrent agent, hourly unstick): run 782's card gate booted and went green (gates pass), but the rebase-merge was refused: S2 landed on master at 23:12, so the required
cards-freshstatus went back to pending (new fingerprint6852a2bb…, no verdict yet). I re-appliedcards:goonce; run 793 is re-gating this head (57b18322) against current master. The cards were idle (no containers on cfx-llm2). I'll rebase-merge once that gate is green. #249's K-sweep screen goes on the cards after this, not in parallel, so its 165 min cap plus slot wait stays inside the runner's 3 h limit.Card gate —
prodvsprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2#205refrefs/pull/205/head57b18322f94e0cd69bca33c7496067c2c8bd98b6merged ontomaster(measured tree, fingerprint in the verdict comment)cfx-llm2, slot mesh (card0+card1)/nix/store/fph2v1fp64wvjxl7k94yrfsfcn5m88mj-vm-test-run-tenstorrent-servingttx abexit 0 (3 = aborted: the job fails even if a control record exists); gates exit 0gsm8k / retrieval / equiv do not gate merge. A FAIL below is a report.
Gates
prodequiv: kindMEASUREDverdictpass(bench/runs/ttx-prod-equiv-20261017T224928Z.jsonl)prodgsm8k: kindMEASUREDverdictpass(bench/runs/ttx-prod-gsm8k-20261017T224928Z.jsonl)prodretrieval: kindMEASUREDverdictpass(bench/runs/ttx-prod-retrieval-20261017T224928Z.jsonl)PP tok/s and TG tok/s per user (TG ms/token secondary)
prodprodprodprodprodprodprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2Records
bench/runs/ttx-ab-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2-switch-20261017T222753Z.jsonlbench/runs/ttx-prod-equiv-20261017T224928Z.jsonlbench/runs/ttx-prod-gsm8k-20261017T224928Z.jsonlbench/runs/ttx-prod-retrieval-20261017T224928Z.jsonlbench/runs/ttx-sweep32k-prod-ab20261017T222753Z-r0.jsonlbench/runs/ttx-sweep32k-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2-ab20261017T222753Z-r0.jsonlFull jsonl from this run: https://git.bitp.cz/bitpartner/tt-stack/actions/runs/9326 (artifact
bench-runswhen the upload step ran).Status 01:10 CEST (Tenstorrent agent, hourly unstick): run 793's card gate booted and went green on S2 (ab_rc=0 gate_rc=0; gsm8k, retrieval and equiv all pass), but
cards-freshis still pending, and it would stay pending for any green run on this head.Root cause: this branch's
.forgejo/workflows/ci.ymlno longer has master'sRecord verdict and cards-freshstep (scripts/ci-cards.py record). An earlier master-merge resolution swapped it for this PR'sRelease the card slot and stop this PR's containerstep, so no verdict marker is stored and the status never flips. The same thing blocked run 782, and merging as-is would drop Record from master.Fix in progress (omp agent, worktree ci-205-record): merge origin/master again, keep master's ci.yml (S2 CONTROL, Record step, screen-persist block) and re-apply only this PR's reap/trap/slot-wait changes, with step order gate, Record, Release, Upload. No cards:go from the agent. After the push, the cards gate runs again once it reaches the front of the queue. The cards were idle, so #249's K sweep is on them now (one job at a time), and #205 re-gates after it.
Card gate —
prodvsprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2#205refrefs/pull/205/head7f6950069f50422047ae268ab8570dc1cbd84f4emerged ontomaster(measured tree, fingerprint in the verdict comment)cfx-llm2, slot mesh (card0+card1)/nix/store/yhn2n43nlp4gd40gc51dw4qwbya7x0jg-vm-test-run-tenstorrent-servingttx abexit 0 (3 = aborted: the job fails even if a control record exists); gates exit 0gsm8k / retrieval / equiv do not gate merge. A FAIL below is a report.
Gates
prodequiv: kindMEASUREDverdictpass(bench/runs/ttx-prod-equiv-20261018T001038Z.jsonl)prodgsm8k: kindMEASUREDverdictpass(bench/runs/ttx-prod-gsm8k-20261018T001038Z.jsonl)prodretrieval: kindMEASUREDverdictpass(bench/runs/ttx-prod-retrieval-20261018T001038Z.jsonl)PP tok/s and TG tok/s per user (TG ms/token secondary)
prodprodprodprodprodprodprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2Records
bench/runs/ttx-ab-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2-switch-20261017T234906Z.jsonlbench/runs/ttx-prod-equiv-20261018T001038Z.jsonlbench/runs/ttx-prod-gsm8k-20261018T001038Z.jsonlbench/runs/ttx-prod-retrieval-20261018T001038Z.jsonlbench/runs/ttx-sweep32k-prod-ab20261017T234906Z-r0.jsonlbench/runs/ttx-sweep32k-prod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2-ab20261017T234906Z-r0.jsonlFull jsonl from this run: https://git.bitp.cz/bitpartner/tt-stack/actions/runs/9330 (artifact
bench-runswhen the upload step ran).Cards verdict: success
a14222bf6e550532e016415b9a543965c01634eced55bb80942b86c3fcadaf1a(CONTROLprod-g2-c86-colpar2-rz3-sl-pfw2-gf-ab-so-dn-d8k16-nhp-tail-k8v4-mtp-stack-warm-kb-cm-so1-kda2-lmlofi-csplit-t0-gdc-cpk-wy-kvd-sddec-cph32-kvfold-dx-w2t-mx-b8k3c48-gpgob-dfr-s2, armsprod, 493 card files24a420fdb5abed48)7f6950069f50422047ae268ab8570dc1cbd84f4emerged onto baseca12146262472ef88b710ff29204b1434dda7898A later event with the same fingerprint reuses this verdict instead of booting the cards.
agent-gateway closeout (merged): cleared
agent:*labels.Hermes kanban card (if any) is left for Hermes to archive/complete.
Card gate run 797 green (gates pass, ab_rc=0, verdict recorded with fingerprint a14222bf). Rebase-merged to master at
7f695006per the queue order.