summaryrefslogtreecommitdiff
path: root/core/lib_syntax.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-22 23:49:02 -0300
committerGabriel Schneider <[email protected]>2026-11-22 23:53:13 -0300
commitaee54cf0a3a328b4ec704bc2c59996428c35f6e8 (patch)
tree4cb07cf7eb497e4c643a1da9ce19147712711f13 /core/lib_syntax.zig
parent6270f531cd89130a26ee3d5423a740db707f8888 (diff)
downloadpardes-aee54cf0a3a328b4ec704bc2c59996428c35f6e8.tar.gz
pardes-aee54cf0a3a328b4ec704bc2c59996428c35f6e8.zip
tests: a client's join over every kind of state 9P requests leave in the core, and the join's moment: core/replica.zig, at the replica's surface (`NinepJoin`), each kind the struct has (fs.Namespace and the `tree.Open` records it holds: an open of /screen, a /log reader, a listing frozen at its open, a pane's event reader, a ctl open holding a pane's lock, half a line held on exec, a refused line's tail being discarded, a name taken, a look's results on its open and the session's, writes to a body held as one edit, sel's writes running on, a /pager open holding its text, a plumb message short of its data, a plumb port's reader, the workspace's tag truncated; `held` and `replay` are the listener's, out of the walk) left by the requests a script makes, then a client joined from the session's dump: digest(load(dump)) is the session's for all fifteen on this base, so no kind is hashed and not dumped, dumped and restored otherwise, or dropped on one side; the same as a seeded property, 300 joins at random points of random opens (every mode), writes, reads, releases and truncations over sixteen files, the session's fs taking every shape a script gives it, passing on this base (its program, eleven tests, 1 s in Debug); and the join's moment: the session's io given a stat that lets a 9P request in first, as the turn's yield around a host call does (tape.out), the request a script's open of /screen (which waits for no quiet: ninep/tree.zig `needsQuiet`): on this base the client's load is not the session, `fs` differs, the join's dump having asked the host once and given up the turn once (dump.zig `dumpWith` -> `onDisk` -> exec.kindOf, a `.kind` site, for each pane's file): fault D of reports/pardes-upgrade-back.md in process (a client back right after an Upgrade refused its own load, the diagnostic build's `client 1 view 2 load differs: fs`, while daemon.py's `saying` read /screen every 10 ms of a session with notes.txt open: each join stats that file); the next change is the fix; core-test under the filter 13/14, the one failing the moment's
Co-Authored-By: Claude Opus <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/lib_syntax.zig')
0 files changed, 0 insertions, 0 deletions