Skip to content

Open the command reference once the undo press is live - #778

Merged
max-sixty merged 1 commit into
mainfrom
fix/ci-35295861023
Sep 18, 2026
Merged

max-sixty merged 1 commit into
mainfrom
fix/ci-35295861023

Conversation

@leaf-agent

@leaf-agent leaf-agent commented Sep 18, 2026 •

Copy link
Copy Markdown
Collaborator

The nightly leg of ci on main went red on
run 35295861023:
test_tab_extends_the_comment_with_individual_emoji_buttons opened the command
reference expecting its z row to read
Take back: shorten on “The store is capped…, and read a register of 81
commands with no such row. The case now opens the reference from the moment the
page says the press is live, which is the fact the row states.

That row is dead until the page has taken in a log reading that accounts the
reader's own send. history.undo's when clause asks
!unaccountedGesture() && Boolean(undoable())
(keyboard/page.js:1178),
and undoable() reads the server projection runtime.view.undo and answers
null while a state is still being applied
(projection/commands.js:19).
The case pressed ? straight off painted() — the forward paint the reaction
makes in the turn it sends, a turn before that reading arrives — and the
register is built at the press, so the sentence it asserts could not be in it.

render_harness.undo already carries this exact hazard for the z press
itself, and waits on the line offering the chip: the line and the dispatcher ask
one predicate, so the chip standing on the line is the page saying the press
will be taken. This case waits on the same fact one step earlier, before opening
the reference that names it.

Not caused by 8d8bec80, the commit this run reports on. The ordering was never
stated; #774 (145da07d, serving each page through starlette and uvicorn) moved
the timing into the window it left open. CI says the same on its own: the
nightly leg of 145da07d's
run 35289151800
failed this case with this message, and the last green main nightly before it
is f292b4d2
(run 35282456731).
dc694cd8 and 80c26f0f sit between them and were replaced before their
nightly ran, so CI has no reading on either; the local repeats below cover that
gap.

Measurements

All on this runner, -n0 --run-nightly, one node id.

At the old press point the press was dead in 6 of 6 runs, and the new wait
returned 3–117 ms later — so the case was green only when the reading happened
to land inside the poll of the to_be_hidden() above it. Reopening the
reference 1.5 s after a failing read showed 82 commands, so the row was merely
late rather than absent.

Where the window opened, by repeat runs of the case alone:

commit result per run
43d92073 (#767) 4 passed 3.8 s
80c26f0f (#773) 4 passed 3.8 s
145da07d (#774) 3 failed, 1 passed 4.8 s
8d8bec80 (#776) 1 failed 4.8 s
e382d828 (main) 2 failed, 1 passed 4.8 s

Checked: the case 6/6 green with the change, tests/test_render_reactions.py
under --run-nightly (50 passed), and pre-commit run --files tests/test_render_reactions.py. The everyday suite ran 1130 passed / 5 failed
here, and all five are this sandbox rather than the change — three
test_interact_session.py cases that need a writable /tmp for their private
unix socket, test_staged_writes_honor_umask, and
test_live_shell_artifact.py::test_a_browser_executes_the_published_capture_with_live_api_routes[True]
on its node bundle step. The test job of the run above is the Linux control
and was green on this commit; this change touches only a nightly-only file.

The reference's z row and the line's undo chip ask one predicate, and it is
dead until the page has taken in a log reading that accounts the reader's
own send. The case opened the reference straight off the forward paint, a
turn before that reading, so the row it asserts could not be in the
register it read.
@leaf-agent

Copy link
Copy Markdown
Collaborator Author

The nightly leg went red on this case again, on a third consecutive main commit: run 35301362703, on e382d828, with the same message this PR reports — AssertionError: Command reference … 81 commands, ON THIS PAGE, and no z row.

That run is the sharpest evidence for this PR's account that the case was never stated rather than broken by whichever commit a run reports on. e382d828 ("Keep the lists to the work we mean to do") changes TODO.md and notes/dependency-survey.md and nothing else — no runtime, no test, no page — so there is no path by which it could move a browser reading. The sequence across main now reads: f292b4d2 green (35282456731), then 145da07d (35289151800), 8d8bec80 (35295861023) and e382d828 all failing this case with this message. Three failures on three unrelated commits, one of them docs-only, is the window #774 opened rather than three regressions.

No new diagnosis and no second fix — this is the run link plus the docs-only commit as corroboration. main is red on the nightly leg until this lands.

@max-sixty
max-sixty merged commit 8ca2654 into main Sep 18, 2026
4 checks passed
@max-sixty
max-sixty deleted the fix/ci-35295861023 branch September 18, 2026 05:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants