summaryrefslogtreecommitdiff
path: root/dev/vaxis_input.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-21 09:16:07 -0300
committerGabriel Schneider <[email protected]>2026-11-21 10:58:21 -0300
commit0ad6da7f9bf22136694e6015c93ccaf81dc12380 (patch)
tree4618b47f1d5450c4d4d89a23df3753a9fae6ce2a /dev/vaxis_input.zig
parentc4f7bb9477c7aa4c8864f14edb9e85b6c8c08437 (diff)
downloadpardes-0ad6da7f9bf22136694e6015c93ccaf81dc12380.tar.gz
pardes-0ad6da7f9bf22136694e6015c93ccaf81dc12380.zip
replica: a view kept for a client's rejoin is let go after its 30 s in a session nobody types in, and a join refused meanwhile is told for how long: a wake by mail alone (a join, a client's input) moves no time (tui.zig `clockNow`), so in an idle session with a client in it the core's clock stood where it last moved and Core.openView judged the kept views by it forever (test/daemon.py `kept_views`, new, in plain mode: at the four views, two raw replicas leave saying they join again, and a join 31 s later, nothing typed, was refused on pardes-merge50); Peers.join now moves the clock (`advance` with the host's `now`, on the tape) when no view is free, before the views are judged, and its refusal says "(one is kept N s more for a client joining again)" while one is kept; test/daemon.py `upgrades`, from a build that keeps views with their time (`keeps_views`: `away_ns` in its binary), waits as long as the first join's refusal says, saying so, for the two views kept for clients that never return (the raw replica and the old build's client, refused by the daemon for its build); kept_views passes; `--upgrade` between this tree's Debug and ReleaseSafe builds 3 of 3 each way (each says "the join waited 30 s"), from the installed build 3 of 3 (it keeps no time: its views load already expired); the soak (--clients 5) diverged 0, unequal 0; core-test 893/1053 (160 skipped), shell-test 1095/1098
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/vaxis_input.zig')
0 files changed, 0 insertions, 0 deletions