Repository navigation
Open the command reference once the undo press is live - #778
Conversation
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.
|
The nightly leg went red on this case again, on a third consecutive 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. No new diagnosis and no second fix — this is the run link plus the docs-only commit as corroboration. |
The nightly leg of
cionmainwent red onrun 35295861023:
test_tab_extends_the_comment_with_individual_emoji_buttonsopened the commandreference expecting its
zrow to readTake back: shorten on “The store is capped…, and read a register of 81commands 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'swhenclause asks!unaccountedGesture() && Boolean(undoable())(
keyboard/page.js:1178),and
undoable()reads the server projectionruntime.view.undoand answersnull while a state is still being applied
(
projection/commands.js:19).The case pressed
?straight offpainted()— the forward paint the reactionmakes 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.undoalready carries this exact hazard for thezpressitself, 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 neverstated; #774 (
145da07d, serving each page through starlette and uvicorn) movedthe timing into the window it left open. CI says the same on its own: the
nightly leg of
145da07d'srun 35289151800
failed this case with this message, and the last green
mainnightly before itis
f292b4d2(run 35282456731).
dc694cd8and80c26f0fsit between them and were replaced before theirnightly 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 thereference 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:
43d92073(#767)80c26f0f(#773)145da07d(#774)8d8bec80(#776)e382d828(main)Checked: the case 6/6 green with the change,
tests/test_render_reactions.pyunder
--run-nightly(50 passed), andpre-commit run --files tests/test_render_reactions.py. The everyday suite ran 1130 passed / 5 failedhere, and all five are this sandbox rather than the change — three
test_interact_session.pycases that need a writable/tmpfor their privateunix socket,
test_staged_writes_honor_umask, andtest_live_shell_artifact.py::test_a_browser_executes_the_published_capture_with_live_api_routes[True]on its node bundle step. The
testjob of the run above is the Linux controland was green on this commit; this change touches only a nightly-only file.