diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-20 15:21:27 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 19:20:33 -0300 |
| commit | 2d75490196a9d15eff6ac471e9584101a5697afe (patch) | |
| tree | d2f3a34d2ee4259e2a2703d07055154d82ba5e26 /core/Query.zig | |
| parent | e9a641ee2c743fec2fe2505d2e11c96fa36767b8 (diff) | |
| download | pardes-2d75490196a9d15eff6ac471e9584101a5697afe.tar.gz pardes-2d75490196a9d15eff6ac471e9584101a5697afe.zip | |
core: the switchboard's view fields are View.Id: Authority.view_of and Peer.view (P21: the fields; the last change of the slots work, apart for the pair's merge): the in-process Authority's openView, leave, closeView and take, and Peers' input, closeViewOf and the welcome hand the core its view's id with no conversion (9 .at( and an .index() go); Screens.flush's view parameter, which its body never read, goes with its four arguments (Peers, the in-process harness, echo.zig's, test/replicas.zig's); the undrawn mask's shift narrows the slot's integer, which the compiler caught (core/replica.zig:2362, :2507: the old @intCast narrowed the bare u8; a view's slot as a bit index, no fault), as it caught test/replicas.zig:1047's detach_view, a view's slot as a bare u8 against a peer's (no fault: p.view.index() == k); Replica.view and Joined.view stay u8: their readers (the echo, drawOne, the frontends' own view, client.zig, session.zig) index and compare with the core's live as integers (+4, +8 by the estimate); neither field typed here is dumped or digested and the welcome's byte is the same; the conversions fall: the core's code 427 -> 425 (.at( 333 -> 328, .index() 73 -> 76); gate on the whole stack (load 5-22): tui core-test 871/1028 (157 skipped), shell-test 1070/1073, pane-test 183/184, term-test 17/17, kitty-test 45/45, behaviour-test 275/275 and --replay 275/275, consumer-test passes, addon-test 5/5, process-test 0 of 144, replicas --clients 5 (diverged 0, unequal 0, deltas 1976/0 1937/0 1831/0, quiet 651/0 673/0 779/0, unlisted 0, corpus 22 of 22, no leak) and --bytes --clients 5 (diverged 0, unequal 0, quiet 693/0 586/0 829/0, unlisted 0, corpus 22 of 22); the semantics word a73794ff9e03f814 as merge40's; daemon.py --far, --games, --window-clients pass, --upgrade both ways against merge39's build (3f9dfd3b9d8bdc64; merge40's has this word, which the test refuses) pass, plain fails at "client C agrees with a shell's output" 4 of 6 as merge40's build does 3 of 6 (alternated: 2 of 4 each); the macOS library (x86_64-linux, aarch64-macos, the ABI guard 2/2) and the FreeBSD cross-build build; frames 77/77, gui unit-test 1666/1670 (the perf check's BaselineHarnessMismatch), perfab corpus2x -0.014% (noise 0.078%), the 121 per-operation counts within 0.1% against tree2 (key-down on medium 10,039,745, render on medium 11,454,642, client-key-down on medium 1,983,990; merge40's gate 10,039,703, 11,454,619, 1,984,321)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/Query.zig')
0 files changed, 0 insertions, 0 deletions
