diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 13:16:15 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 15:09:19 -0300 |
| commit | 64b8951d198aa0dcd0a544abd6f103693b5205aa (patch) | |
| tree | cff708424e603229e4008d7e6aa0ed1af04b9fe3 /docs | |
| parent | 280a2954152d3206f057055b0d59ca0ddc70485a (diff) | |
| download | pardes-64b8951d198aa0dcd0a544abd6f103693b5205aa.tar.gz pardes-64b8951d198aa0dcd0a544abd6f103693b5205aa.zip | |
replicas: the soak's session is THE session loop (the reorganisation's runners, step 10c, its second part; the user's rule: replica bugs caught by a soak that does what real use does): test/replicas.zig runs runtime/session.zig's Loop over a frontend of its own (Soak) whose host's wait_input is the soak's delayed net, with its clients' links in memory (Peers.threads false: the soak is each Peer's reader, Peer.take then a posted gone, and its writer, the welcome and the dump with its blobs put back then the Peer's queue, a frame a message down the link; a socket pair a dial, its dup handed as the daemon hands one, so a refusal, a Detach's shutdown and a let-go close are the real ones), so the session's pump, Peers.boundary's order (the pump's unit, then joins, inputs, checks and leaves as posted), Peers.input, join (its dump, pins, refusal), leave (a view kept or closed), detach and the teardown in the loop's order are the shipped ones, not Authority's imitation; what a soak's session opens is what run opens (the allocators and their Debug leak check, the workers, the addons' scan, the prompt files and a 9P listener, both in the soak's own runtime directory, XDG_RUNTIME_DIR set to it): no branch for a test in the loop; the two traps the agent before named are handled at the wait's end (the tape stepped, the session core's field and the held trees put back) and a third found (a client's own frame is drawn with no tape stepped, so client-side work inside the wait runs with tape.on null); the wait ends where a terminal's would (its own input, an echo, a client's post, a dial, a worker's draw, the core's timeout; a pty's output paced to the frame's tick, a person's input held behind it as tui.zig's split holds it); the run ends inside its last wait when nothing is in flight (every typist done, the flood over, two seconds of frames: the session's own wakes and the clients' quiet checks no longer taken, as each idle client's check wakes the session whose pump's unit asks the next check, a loop found here); core/replica.zig: Peers.threads, Peers.flushed (each terminal's version recorded after a flush), Peers.post and Peer.take pub; core/Kind.zig (a line the soak forced: its region allocator's leak check found it): a draw that lands after its pane closed is dropped, never kept in Kind.ready for the life of the process; replicas --clients 5 (4 seeds, Debug): diverged 0/0/0, unequal 0/0/0, deltas checked/wrong 1776/0 1832/0 1638/0, quiet checks 694/0 654/0 694/0, unlisted 0/0/0 at rtt 30/80/207 (inputs 1721/1864/1499, units 25712/27409/22491: a unit a pump now, as a session sends them); the corpus-through-a-client check fails at its step 21 (a resize) on the base as here; tui core-test 838/981 (143 skipped), shell-test 1017/1020 (the base's 1016/1019 and change 3's test), term-test 15/15, pane-test 183/184, kitty-test 45/45, behaviour-test 275/275 and --replay 275/275, process-test 2 of 144 failed (lspcomplete and lspcompletemoved, the base's; lsp-client failed once and passed again in the run), gui unit-test 1615/1619 and BaselineHarnessMismatch (the base's), replicas --clients 5 as above (the corpus through a client 22 scenes the same: its step 21 differs only when TMPDIR is a longer path, on the base too), daemon.py plain, --far, --window-clients, --upgrade both ways (pardes-tree's pfx-base) pass, --games failed in the gate's run (a client's keys at a kind's pane, as the base's do under load: reports/pardes-runners-d.md), cross_replay tui and gui 27 digests agree, macOS library (Linux and aarch64-macos) and FreeBSD tui build, rollback-bench runs (the suites run on this change with change 3 on top); the frame and perf gate against tree1 (run5-1, on the tree with both changes): PASS, frames 77/77 byte-identical, corpus2x -0.151% (bar 0.4%), the 97 per-operation counts within 0.1% (largest +0.031%)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
