diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-22 22:14:43 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-22 22:44:21 -0300 |
| commit | bb60e9cb3d0559ee9cdb1faa972726de097a51b0 (patch) | |
| tree | 65f6b7df434749cc8748ac0a0b397466bdf09541 /dev/file_watch.zig | |
| parent | 111e53418c72717cb1decf56767d2f79188cf9fc (diff) | |
| download | pardes-bb60e9cb3d0559ee9cdb1faa972726de097a51b0.tar.gz pardes-bb60e9cb3d0559ee9cdb1faa972726de097a51b0.zip | |
test/daemon.py far_exec reads the far client's environment once its new image runs: it read /proc/PID/environ as soon as /proc/PID/exe named the new build, and the kernel's exec switches the process to the new image before it writes where the environment is, so a read between gets nothing and the assertion said PARDES_REPLICA_FAR=1 was lost (the install check, 1 of 2; the pair's agent under --with-pair); a client's exec at an Upgrade has one site (runtime/client.zig `execAgain`, from dev/tui/tui.zig and dev/gui/gui.zig) which always adds the variable for a far client; a fork and exec of the release pardes read as the test reads: 170 of 200 execs read the new exe with an empty environment on two CPUs, 0 of 200 on one; far_exec alone on two CPUs before 20 of 20 (the 10 ms poll rarely lands in the window), after 20 of 20; now read after "the terminal entered again"
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'dev/file_watch.zig')
0 files changed, 0 insertions, 0 deletions
