diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-22 02:46:48 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-22 02:47:03 -0300 |
| commit | 02099b716e5320cbee7f829d93fd53717fd2a57d (patch) | |
| tree | 9059859aa9d5bbd57f387db7044901f052f944eb /test/process.zig | |
| parent | 40094a08394fc0ecba2876e4e934e2158b17bdab (diff) | |
| download | pardes-02099b716e5320cbee7f829d93fd53717fd2a57d.tar.gz pardes-02099b716e5320cbee7f829d93fd53717fd2a57d.zip | |
daemon.py: the way back's word gone from the harnesses, and far_flood says what a far client does under a flood on the one road (the old road's deletion, piece 2 of 8): test/daemon.py's `KEEP` (PARDES_TERM_SCREEN passed to every session it starts) and test/process.zig's twin go, so the caller's PARDES_* is dropped as before the flip; far_flood's words were the old road's ("it pulls its terminal's screen (screen state), so the flood does not queue for it"): on the one road the flood queues for a far client, it falls behind past replica.behind_max_ms, its link is let go (`Link.lags`) and it joins again from a dump, its notice saying "joined again: N s behind" until a key (round 7's table: a 1 MiB `cat` through 1 Mbit, one rejoin of 2.2 s); the case now asserts that shape and no time: a link of the client ended under the flood (its PARDES_REPLICA_STATS line, one a link), its notice, then as before its agreement once `yes` ends and its keys after; kitty_image's docstring loses "(screen state)"; no build reads these files' change but process-test's runner (core-test and shell-test: the base's)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'test/process.zig')
| -rw-r--r-- | test/process.zig | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/process.zig b/test/process.zig index a1647ff1..791a5b8e 100644 --- a/test/process.zig +++ b/test/process.zig @@ -945,9 +945,8 @@ pub const Child = struct { while (environ[i]) |kv| { const entry = std.mem.span(kv); const eq = std.mem.indexOfScalar(u8, entry, '=') orelse entry.len; - // PARDES_PAIR kept: the suite run as pairs (main.zig `pair`); - // PARDES_TERM_SCREEN, their terminals as screen state. - if ((std.mem.startsWith(u8, entry, "PARDES_") and !std.mem.startsWith(u8, entry, "PARDES_PAIR=") and !std.mem.startsWith(u8, entry, "PARDES_TERM_SCREEN=")) or std.mem.indexOf(u8, entry[0..eq], "PAGER") != null) { + // PARDES_PAIR kept: the suite run as pairs (main.zig `pair`). + if ((std.mem.startsWith(u8, entry, "PARDES_") and !std.mem.startsWith(u8, entry, "PARDES_PAIR=")) or std.mem.indexOf(u8, entry[0..eq], "PAGER") != null) { var name: [256]u8 = undefined; const n = std.fmt.bufPrintSentinel(&name, "{s}", .{entry[0..@min(eq, 255)]}, 0) catch _exit(126); _ = unsetenv(n); |
