diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-20 10:37:44 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 12:02:09 -0300 |
| commit | 1d92d0151bf8206823074f73b9fa90e0220bff15 (patch) | |
| tree | de2c2450bb36f036d6dff6e41e22ba659b6dca65 /test/panes.zig | |
| parent | 6cf477bd75d242c7f7fea653d5f433872f7ca66f (diff) | |
| download | pardes-1d92d0151bf8206823074f73b9fa90e0220bff15.tar.gz pardes-1d92d0151bf8206823074f73b9fa90e0220bff15.zip | |
tape: enter and leave read the field, step 9b (reports/pardes-handle-69-design.md sections 3.3, 3.4): an entry is recorded on the tape of the core it enters (for a session not made yet, its options' or, until 9c, the global's), unless nobody records it or it is a client's between its steps (the idle rule 9b-0 checked), and Entered carries the tape it entered, so leave needs neither the global nor a core that init did not make or deinit freed; the safe build still checks that a core stepped is the one the global says while the global is set; as 9b-0's list said, a client's core freed records nothing now, and an authority's core driven outside a Stepping scope records its entries as a real session's: one test leaned on that being unrecorded (test/panes.zig, a client's guessed PDF view: the effects its `jobs` drained after the open landed in the client's next unit and read as a misprediction; the drain is handed to the client as a unit of the session's own first, 2 lines); test/daemon.py --restore (new): a Restore with a client attached, the client let go, one attached after agrees and its keys reach the restored session (passes on step 7 and here); the tape's bytes do not move (semantics df1f0502317ed362, cross_replay both ways against step 7: 27 digests agree x3); tui core-test 857/1008 (151 skipped), shell-test 1048/1051, pane-test 183/184, term-test 17/17, kitty-test 45/45, behaviour-test 275/275 and --replay 275/275, process-test --replay 0 of 102, process-test 1 of 144 (pagercolor, on the known list), both soaks diverged 0 unequal 0 corpus 22 of 22 (bytes: the base's one now stop at 30 ms), daemon.py plain, --far (the Find: 0 mispredicted), --games, --window-clients, --upgrade both ways against merge31, addon-test 5/5; gui unit-test 1645/1649 (the perf check's BaselineHarnessMismatch); frames 77/77, perfab +0.051%, the 121 counts within 0.1% against tree2 (key-down on medium 10,039,587, render on medium 11,454,498: the extra load an entry is inside the noise)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/panes.zig')
| -rw-r--r-- | test/panes.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/panes.zig b/test/panes.zig index dbdbec2f..f4061590 100644 --- a/test/panes.zig +++ b/test/panes.zig @@ -3961,6 +3961,10 @@ const PdfAddon = struct { } }; const id = try opened(a, Land{ .a = a, .r = r }); + // The effects `jobs` took last are the session's steps: a unit of + // its own before the client's input. + a.seq += 1; + r.confirm(try a.unit(0, a.seq)); const guessed = r.stats.mispredicted; const stopped = r.stats.stopped; const told = a.core.panes[id].?.addon.?.views; |
