diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-18 12:42:50 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-18 13:40:46 -0300 |
| commit | 7b2f856eda8d0c14162bc5c8ac2836b6cd73d37f (patch) | |
| tree | 97ac9817f8792c51b8196536c74cc2131e78471a /runtime | |
| parent | f890732116c69c4020c3d0a666f445c7993003a3 (diff) | |
| download | pardes-7b2f856eda8d0c14162bc5c8ac2836b6cd73d37f.tar.gz pardes-7b2f856eda8d0c14162bc5c8ac2836b6cd73d37f.zip | |
replicas: the soak does what the real clients do, and the tab width a rollback left behind: each client a process of its own (config.tab_now its own) joined from the session's dump through the real replica.Link on a socket pair the soak reads as the session's Peer does, a terminal's loop or a window's by turns (its view drawn, the rows it lacks asked after the draw, ready while idle, within and its resize for a window, the frontend input and its size at the join, the quiet digest check), the session's own frontend typing in its view and drawing it at its frames, one client joining late, one leaving, one put off the session (PARDES_TEST_DIVERGE) and joining again for its view, and those past the three views a session gives clients refused until one is let go (five by default; --shared gone: no session does it); Authority.join, leave and own as Peers.join, Peers.leave and the own frontend's input do it; pardes.wire exported for the soak; what it found: config.tab_now, a process global a Tab step writes, was not put back by a rollback (toConfirmed): with tabs in its files the soak's fifth client diverged four times at rtt 207 (seed 2), and with the global shared as before the client's draw hit File.bodyText's assert; fixed in toConfirmed, with a test that fails without it; replicas 4 seeds, five clients, rtt 30/207: diverged 0, unequal 0, deltas checked/wrong 1782/0, 1871/0, quiet checks 582/0, 791/0, joins 18/20, refused 313/282, rejoined 4/4, left 4/4
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'runtime')
0 files changed, 0 insertions, 0 deletions
