summaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-19 21:02:16 -0300
committerGabriel Schneider <[email protected]>2026-11-20 00:01:23 -0300
commit26acd94bc20b70fe924ad76dee9c2ddaa1f4011f (patch)
treef409d889fb3b3d0a202e4fac217b8c787ae33d42 /dev
parent987210dbff8b830203cf5f52fa0cfc9b2974a3a2 (diff)
downloadpardes-26acd94bc20b70fe924ad76dee9c2ddaa1f4011f.tar.gz
pardes-26acd94bc20b70fe924ad76dee9c2ddaa1f4011f.zip
far client: a test that a click into a shell whose output queue is backed up cannot leave a client unlike its session, and why (no fix: the fault does not happen): Core.reportFocus skips the focus write in a client's speculation, and on the session the write parks behind what is already parked for the pane (`pending_write`, digested), so a client confirmed on the fast path would lack those bytes; but bytes are parked between steps only by a step that does not drain the queue (a 9P write, serveFs, past the 4096 effects the ring holds: every pump drains it whole), that step reaches the client as the session's unit, so the client holds the same queue, and its own step settles as the session's does (replica.speculate: update, then step, which drains it): the parked write into the shell stops it at `pty_write`, and it waits for the session's step, focus report and all; the test `a far client's click into a shell whose queue is backed up: ...` (end of core/replica.zig, shell-test: a 9P write of 1 MiB + 100 bytes into the shell, then the client's click) passes on the base: the click stops at pty_write alone, the program gets the parked bytes then ESC [ I, mispredicted 0, the client's digest the session's; gates on the seven together (the stack's top, load 18 to 50 beside them): tui core-test 855/999 (144 skipped), shell-test 1035/1038, pane-test 183/184, term-test 15/15, kitty-test 45/45, behaviour-test 275/275 and --replay 20 seeds 0 failures, process-test 3 of 144 (lspcomplete and lspcompletemoved, the base's, and headersweep-restored, which passes alone), gui unit-test 1633/1637 with the base's BaselineHarnessMismatch; replicas --clients 5 and --seeds 8: diverged 0, unequal 0, deltas wrong 0, quiet checks differed 0, unlisted stops 0, corpus 22 of 22, no leak report; the walk over every word and key passes; frame and perf gate against tree1 (farfaults): frames 77/77 byte-identical in Debug, unit-test 1633/1637, perfab corpus2x -0.087% (noise 0.092%, bar 0.4%, pictures identical), perfops 97 counts within 0.1% (largest +0.0329%)
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev')
0 files changed, 0 insertions, 0 deletions