diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 21:01:07 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-20 00:01:23 -0300 |
| commit | 987210dbff8b830203cf5f52fa0cfc9b2974a3a2 (patch) | |
| tree | 644d2a763644b1bbd034401db80b6f41733762bb /dev/gui/gui.zig | |
| parent | 19f9e43dfa8bab618b2566a9060aef0ccb71fb0f (diff) | |
| download | pardes-987210dbff8b830203cf5f52fa0cfc9b2974a3a2.tar.gz pardes-987210dbff8b830203cf5f52fa0cfc9b2974a3a2.zip | |
Kind: a draw's token is this process's count, which no rollback takes back, never its slot's: the token api.draw gives was the slot's `draws` (core/Kind.zig, the `.draw` entry of the api), which the rollback copy holds with the slot, so a frame drawn under a speculation that is rolled back asked token T, the copy put the count back, and the next frame's draw, of the state the replay came to, was given T again; both answers come to the kind's job_done as T, in the order its workers finish (`deliver` matches a job by core, pane, serial, gen and ops, not by token), and a kind with one draw outstanding takes the first and drops the second: it showed the discarded state's picture while asking nothing more, until its state moved again; the count is now `drawn`, beside `ready` (this process's draws), on root.zig's allowed_vars with why, and the slot's field and its kept_out entry are gone; the test `a far client's frame drawn under a speculation that rolls back asks a picture whose token the next draw is never given again: ...` (end of core/replica.zig: a plain kind drawing its count from its paint, a frontend's workers held so the discarded picture lands first) failed on the base with `expected 3, found 1` (the picture of 1 shown, its count 3) and passes; a user could not have hit it with the kinds in the tree (image draws in its open, from the file's bytes, the same picture whichever answer comes, and ignores the token; the pdf kind is not plain, so a client runs none of its code), only with a plain kind that draws from its paint and keeps its last token; 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/gui/gui.zig')
0 files changed, 0 insertions, 0 deletions
