The live-run self-test's row count is decided by the box, not by the window the case sets (17 and 18 reads behind a 3 s window) #264
Closed
opened 2026-11-26 15:40:42 +00:00 by vesta
·
5 comments
No Branch/Tag specified
main
vesta/372-lan-members
terra/batch-337-237
uranus/251-fold-ci
saturnus/229-land-skip
titan/2-worktree-finish-branch-form
neptunus/232-repo-delete-clean
neptunus/230-force-push
uranus/111-gitlink-eisdir
venus/129-no-launcher-endpoint
saturnus/45-branch-move-head
jupiter/45-volatile-mesh-say
venus/8-land-on-any-host-2
titan/111-gitlinks
juno/040-host-rerecord
vesta/24-remove-github-sponsors
ceres/19-signin-probe
vesta/67-set-a-exports-git-dir
jupiter/47-status-clock
pallas/46-forge-ci-seam
juno/39-offline-private-scan
ceres/19-relay-end-written
venus/8-land-on-any-host
ceres/19-relay-frame
venus/28-budget-line
vesta/48-git-guard
ceres/47-hourly-status
terra/batch3-forge-b
pluto/23-declared-digests
ceres/318-friction-note-rebuilt
neptunus/check-private-digests
hygiea/5-tsx-typecheck
terra/batch2-forge
vesta/973-ask-proof-and-pr-base
jupiter/16-5-3-forge-repo-links
jupiter/check-private-stop
terra/batch3-forge
saturnus/1016-crew-mail
venus/999-refresh-modes
uranus/601-martha-forge-workflows
ceres/1041-work-graph
jupiter/957-gap-19-prompt-text
mercurius/987-stranger-text-gate
jupiter/check-private-stop-posted
pluto/1045-under-600
ceres/1041-contract-lines
pluto/1045-free-splits
diverged/hygiea/962-worktree-finish-owner-and-branch
ceres/967-provider-key
saturnus/1016-mesh-key
hygiea/962-worktree-finish-owner-and-branch
pluto/1045-cognitive-complexity
venus/999-refresh-modes-held-merge
pluto/1010-repo-numbers
pluto/1010-drift-numbers
terra/batch-terra-1121e
hygiea/916-provider-subscription-refusal
venus/999-brief-notice
hygiea/992-job-timeouts
jupiter/1016-crew-memory
terra/batch-terra-1121c
mars/1000-progress-off-tasks
uranus/989-confinement-v
hygiea/985-launcher-verbs-r2
mars/985-rename-handover-match
jupiter/979-guard-places
uranus/980-assign-model
ceres/959-wake-on-idle
uranus/989-confinement-u
juno/802-a-handle-on-my-run
pluto/989-confinement
terra/batch-terra-1120f
mercurius/987-rebased-keep
vesta/308-a-week-of-the-ledger-vesta
jupiter/984-gap-5-crew-state
hygiea/985-launcher-verbs
vesta/915-worktree-finish
terra/batch-terra-1120b
terra/981-review-fix
venus/review-917
final-tip
keep-318-tip
neptunus/1006-review
hygiea/976-the-ci-wait-by-run
terra/979-review-fix
terra/962-review
hygiea/601-row-174-the-engines-settings-watch
uranus/968-markers-r1
terra/981-review
vesta/308-a-week-of-the-ledger
terra/986-review
saturnus/511-up-config
hygiea-601-last3b
hygiea-601-last3
hygiea-601-pre-rebase
jupiter/batch-92
venus/venus-review-929
venus/venus-review-934
uranus/511-up-claude
saturnus/511-refusals
venus/906-token-fixture
jupiter/541-a-engine-start-clean
uranus/614-slice3-approved-skills-on
uranus/614-dw6-unrooted-skill-folders
venus/639-redact-stdin
venus/venus-review-913
neptunus/547-s6-kitty-launch
venus/venus-review-897
neptunus/907-review
venus/898-bundle-main-installer
hygiea/309-a-declared-goal
venus/614-engine-skills-2
neptunus/893-review
venus/639-night2
venus/venus-review-883
jupiter/541-c4-goose-call-answered-by-the-entry
venus/venus-review-866
venus/541-9a-slice-2
mercurius/614-engine-skills
titan/637-updater-switch
pluto/755-fewer-judge-starts
uranus/836-review
mercurius/846-posted-text
neptunus/828-review-r1
titan/801-hint-text
uranus/785-part-2
uranus/797-review
neptunus/830-review
venus/venus-review-837
uranus/724-reap
juno/784-the-launch-a-start-builds
neptunus/784-review-fix
juno/784-the-adapter-under-its-ceiling
diverged/juno/784-the-launch-a-start-builds
juno/784-the-adapter-back-under-origin
neptunus/694-review-fix
juno/732-the-cap-holds-b
neptunus/732-review-fix
titan/541-c3-hints-record
jupiter/host-2.1.328
juno/732-the-cap-holds
ceres/781-launcher-path
uranus/785-hint-files
ceres/724-part-2
neptunus/766-review-fix
uranus/755-hook-filter
jupiter/review-788
neptunus/745-review-fix
uranus/772-judge-env
jupiter/753-keys-declared-twice
pallas/784-launch-request
ceres/562-wire-the-scan
jupiter/744-split-prove-the-core
titan/541-c2-goose-gate-rows
pallas/765-approve-listing
pr-766-tip
terra/769-review
pallas/748-cycle-roots
uranus/uranus-batch-69
venus/venus-review-756
pr-733-head
neptunus/727-shell-quoting
venus/venus-review-738
pallas/694-a-trial-line-keeps-its-transcript
ceres/724-part-1-a-test-leaves-nothing-behind-v2
ceres/tests-leave-nothing-in-the-temp-directory
neptunus/541-2-4-3-the-recording
ceres/700-the-stand-in-reports-its-start
titan/541-6b-multi-host-review-model
uranus/uranus-733r1
scratch-703
titan/541-5-member-host
neptunus/541-2-4-2-the-tool-call
ceres/625-release-redraw
mars/541-acp-transport
ceres/batch-62-redraw
neptunus/541-6-host-model-vocabulary
heads/pr/672
pr/672c
heads/pr/673
juno/541-6-host-model-vocabulary
pr/668b
saturnus/612-no-answer-gets-a-second-launch
ceres/601-release-bump
heads/pr/625
heads/pr/668
pr/656b
heads/pr/666
pallas/611-init-layout
pr/654-r2b
heads/pr/656
pr/662-new
pr/654-new
pr/660-new
saturnus/632-retire-owner-guard
saturnus/602-own-config
ceres/638-read-shape
neptunus/541-10-recorded-goose-host
titan/611-init-layout
venus/244-member-half
titan/165-stand-in-case
pallas/177-tree-stat-record
ceres/314-volatile-path-note-clean
uranus/uranus-batch-48
jupiter/160-where-we-are
uranus/uranus-batch-46
juno/513-budget-r2
pallas/437-trial-builder-r2
pallas/437-trial-builder
saturnus/289b-shell
saturnus/289b-rules
saturnus/289-record-values
ceres/170-vouching-on-real-events
ceres/170-vouching-reaches-the-member
neptunus/136-member-memory
mercurius/4-claw-code-analysis
mercurius/5-scaffold-theme
v0.5.0
dry-run-v0.5.0
installer-v2.0.4
dry-run-installer-v2.0.4
v0.4.3
installer-v2.0.3
dry-run-installer-v2.0.3
dry-run-v0.4.3
v0.4.2
dry-run-v0.4.2
installer-v2.0.2
dry-run-installer-v2.0.2
v0.4.1
dry-run-v0.4.1
installer-v2.0.1
installer-v2.0.0
tested-locks
v0.4.0
ci-tools
v0.3.0
installer-v1.1.1
v0.2.0
installer-v1.1.0
v0.1.0
installer-v1.0.2
installer-v1.0.1
installer-v1.0.0
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".
No due date set.
Dependencies
No dependencies set
Reference
martha-ai/martha#264
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Purpose (defect): the live-run self-test's row count is decided by the box, not by the windows the case sets, so a red there names a runner's speed and a green proves nothing about the windows.
Split out of martha-ai/martha#226, whose member half landed without this: the live-run half's one change to the case made
no difference to the count, and the cause is not small. What is known is below, and every number here is measured, not
read.
The red
Forge job 24311 (PR 238, run 5689, tip
97f82d54),heavy.yml, the clean-install self-test:Those two lines are one failure, not two runs. 15:20:13 is the
nfailecho at the moment the assertion failed(bare, before the case name is folded in); 15:29:04 is the same failure said again as the live run's half ends, with
its case name — the report added in
78868b9d, working as intended.The assertion is
[ "${live_run_ask_passes}" -le 3 ](the_live_run_in_the_container.sh:1519), where the count is thelines the stand-in appended to
live_run.rows-reads: one per listing of the crew's rows, each costingLIVE_RUN_SLOW_ROWS_S = 2seconds by asleepbefore the line is written.What does not explain it
short=WORK) made 17 reads on the runner; the carried change (short='WORK YES',78868b9d) made 18. Two windows short instead of one moved the count by one, so the reads are not boundedby the yes window, and shortening it was not the fix.
live_run_elapsedisSECONDS - started; measured on this host,SECONDSkeeps itsvalue through a command substitution, so
[ "$(live_run_elapsed "${started}")" -ge "${WINDOW}" ]is sound in theshell the run uses.
97f82d54on host00: that case green both times, 2–3 reads.timeout,Killed,SignalorOOMline, and the job ran its ~21 minutes of work.What the evidence leaves
18 passes at 2 s apiece is ~36 s of polling behind a window of 3 s, so on that box one of two things held: the run used
a window far longer than the 3 s the case set, or the listing did not cost its
sleep. The capture cannot say which,because the job log holds no
FAIL live runline at all (its 137 lines are a truncated capture, and a countfailure never prints the run's own words — a case that misses its pattern does, since #226's follow-up).
The lead worth following is the one Mars named: what else still waits long and lists the rows.
with_member_waitsgivesthis case's member half the 300 s waits (it names
WORK YES, so no member knob stays short), and the run is one--live-runinvocation of the whole script, install and member halves included.Done when
second window, with each listing costing S seconds, finishes with about W/S + 1 reads, and the case says so.
FAIL live runlines, as a missed pattern already does.No new check. Refs martha-ai/martha#226 (the package this was split from), #157 (the windows), #639.
Known red (ruled by Mars, no rerun): martha main
94444e03(the PR 265 / #260 land), heavy.yml run 5702, job 24346 attempt 2, runner d9ddd9f4 (task 18978). At 17:07:25Z: "the self-test: a live run with no yes was not named as the owner's" and "the self-test: a live run with no yes kept no record". Then a ~14 min silent tail and exit 1. #260 touched only package.json and CONTRIBUTING.Two more instances, on main's own tree
Reported by Mars (2026-11-26): main's heavy job on the slow runner, tip
d9ddd9f4, red two live-run cases —a live run with no yes was not named as the owner'sandkept no record.Neither is this package's: that tip carries none of #226's changes. It puts the same finding on main, from the other
direction: the live-run self-test reds on trees this issue does not touch, so the revert that left the live-run half as
main has it does not cure the family, and these two lines belong here rather than with #226.
I have no job id or captured log for that red, so nothing of it is quoted here beyond the two case names Mars gave; the
facts in the description stand as the measured ones.
Runner pattern (Mars, 2026-11-26): every clean-install self-test red today ran on runner d9ddd9f4-def4-4af1-bbb4-4f99a5371d64 (jobs 24266 x2, 24276, 24293, 24311, 24346 attempt 2), and the greens on e703a665-d4ab-44ee-9659-f2f8a858e92b (24248, 24329), with every step 15-90% slower on d9ddd9f4. Which box: unverified, likely host00 (CI containers share CPU with member sessions; the ci-jobs.slice docker step is not applied yet, macula-fleet-5-docker-step). The UUID-to-box mapping needs an instance admin read, not done. No runner change; the stand-in window fixes carry it.
Measured on this host, 2026-11-27 (main
61ec8da0, plus this round's diagnostic)Red-first, as ruled: the whole self-test under the #226 3 s member stall, instrumented (test script only), on a quiet box.
started=36 seconds=39 v=3 work=3). The case was green, as it was on host00 on97f82d54.FAIL live run ask: the crew queued no ask of the owner for the landing within 60s of the package.This round's change (the test script only)
A count failure now names the case's own window and prints the run's own
FAIL live runlines, as a missed pattern already does. On this branch: the whole self-test is green, and the forced-red run (this case's window widened to 60 s for that one case) reds with17 reads of the crew's rows behind the case's 3s windowfollowed by the run'swithin 60sline. The bound is untouched: Done-when's first line waits on a red that names the window it used.Refs martha-ai/martha#226 (the package this was split from), #157, #639.
node --test, so a clean-install self-test is invisible and two heavy runs share the box #288Done when, line by line — MET on every measurement available; the one box-side claim is what the next forge red now answers
61ec8da0plus this round's diagnostic) the slow-rows case made 2 listings 3.69 s apart behind the case's 3 s window, and the clock check fired at exactly 3 s. The issue's 17 reads need a 60 s window, and widening this case's own window to 60 reproduces exactly 17 — so here the bound is the case's window. RULED OUT as a local cause: the opening-late case's 60 s does not leak (a prefix assignment on a function call is restored on return in bash 5.3, normal and posix mode).FAIL live runlines, as a missed pattern already does: MET.prove_a_clean_install_in_a_throwaway_container/the_live_run_in_the_container.shnow printsN reads of the crew's rows behind the case's Ws windowand then the run's own lines. Proven red-first: the forced 60 s run reds with17 reads of the crew's rows behind the case's 3s window, followed by the run'swithin 60sline.d9ddd9f4, every step 15-90% slower) is told apart from a new fault by the red's own line. RULED OUT as reproducible here: green twice on host00 at97f82d54and green on this host at61ec8da0; the next forge red is the first evidence that can name a box-side window.No new check. Refs martha-ai/martha#226 (the package this was split from), #157 (the windows), #639.