diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-30 17:19:12 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-30 17:40:51 -0300 |
| commit | 945490c9cbbad797c76f165be2718ac40d03941b (patch) | |
| tree | 469083107e1a6205cef878fd751b4890f3d4dcbe /docs/next-daemon.md | |
| parent | 0d147b0a46bf5a0a92c75f7018cb64546120f453 (diff) | |
| download | pardes-945490c9cbbad797c76f165be2718ac40d03941b.tar.gz pardes-945490c9cbbad797c76f165be2718ac40d03941b.zip | |
docs/next-daemon.md: fix3's second round: H19 (an enum digested by its number), the linger leak, H15 (Adopt), the web build, and a 9P Grep's untaped search found on the way
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'docs/next-daemon.md')
| -rw-r--r-- | docs/next-daemon.md | 41 |
1 files changed, 36 insertions, 5 deletions
diff --git a/docs/next-daemon.md b/docs/next-daemon.md index fc66edb1..9589c24f 100644 --- a/docs/next-daemon.md +++ b/docs/next-daemon.md @@ -3737,11 +3737,42 @@ Found by the variant hunt (V2, E), with real ReleaseSafe executables. tape replayed here by both Linux builds and theirs on the box; live, a window and a terminal client here of a session on the box agree after the same failures. -- **Not fixed, found on the way:** in a session whose init file says - `MessageLinger 0` (as test/daemon.py's do), now and then a tape does not - replay even by its own build, on main too: pane 0's message differs a - step after a failure is said (seven times in the first runs, none in 15 - since). cross_replay.py leaves the setting out. +- **The second round (H19, the linger leak, H15, the web build):** + - **A Linux client could not join a FreeBSD session holding a + +LocationsConfig (H19):** `the session's dump loaded as another + session`. An enum was digested by its number, and `registry.Builtin`, + made at compile time, has Tty9p in a Linux build only, so the pane's + origin (`Output.State.from = .{ .cmd = .LocationsConfig }`) was another + number in each. Found by one dump loaded in both builds, its digests + printed field by field. Fix: an enum is digested by its name's word (a + fixed-width hash, looked up by number), as the dump already reads it by + name; one numbered by hand stays its number. Before, main's window + client of main's session on the box could not join; after, a terminal + and a window client here join a FreeBSD session holding a +Search, a + directory, a renamed file and a +LocationsConfig, and agree. + cross_replay.py's session holds the last two (a FreeBSD tape replayed + here diverged at `pane 2.file.output`). + - **A detached session's messages went in the host's wait** (tty + waitInput, gui waitDetached), untaped, so a replay, and every replica + of a session nobody attached, kept a message its session had let go; + with `MessageLinger 0` (test/daemon.py's sessions) every tape whose + session said a failure diverged at pane 0's message. They go in the + pump now, after its wait, the clock read taped. cross_replay.py's + session says `MessageLinger 0` again. + - **Adopt and a window's failed terminal reader wrote the core between + steps (H15):** the Tty word run and the greeting cleared straight on + the core, and a pane's mode set; every client of a session that took in + a dead session's shells joined again. Now inputs (`adoptShell`, + `readerFailed`); replica.zig's test fails with the old writes. + - **`zig build web` failed** on main at terminal.zig:601 (`c_allocator` + with no libc), and at walk.zig's blob lists behind it: both are a + hosted build's alone now. The web build passes `touch.mjs`; the web + driver's own CDP-deadline test fails as it did, untouched. + - **Found, not fixed:** a Grep or Find a 9P write runs searches on the + loop (Stream.runHere, so that the write's answer says whether it found + anything), its reads no tape site: a replay of it panics (`a syscall + that is no tape site`), by any build, and so would a replica of a + session a script greps in. ### fix2: what a step read that only one side had, and units that ended undrained |
