summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 21:58:36 -0300
committerGabriel Schneider <[email protected]>2026-11-04 21:58:36 -0300
commit4dda8c8e7793e50cd719a8cfc1ff8689ca5ec475 (patch)
treea18a00938263d4324d96807f134fc01eef0f8092
parent351b27091c894766cba4b61e49c37f2771605779 (diff)
downloadpardes-4dda8c8e7793e50cd719a8cfc1ff8689ca5ec475.tar.gz
pardes-4dda8c8e7793e50cd719a8cfc1ff8689ca5ec475.zip
docs/next-tests.md: the window backend's notes: every runner process kept off the user's display, a window's grid its case's, the two bugs running each case on the window found and fixed, the killed-tty-editor case's one flake
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
-rw-r--r--docs/next-tests.md17
1 files changed, 16 insertions, 1 deletions
diff --git a/docs/next-tests.md b/docs/next-tests.md
index d0289a0e..054958b5 100644
--- a/docs/next-tests.md
+++ b/docs/next-tests.md
@@ -58,8 +58,23 @@ agent's survey. The `e2e` line (kbdin, mousein) is its first step.
no display of the user's) on a pty of its own and a 160x50 grid.
`Detached.frame()` waits for the window to say it is idle and reads its
capture.
- - **A case about one frontend's own behaviour says `process.only(.tty)`.**
+ - **A case about one frontend's own behaviour says `process.only(.tui)`.**
On the window, 33 cases pass and 5 skip.
+ - **Every process the runner starts is kept off the user's display**
+ (Child.spawn: WAYLAND_DISPLAY and DISPLAY unset, SDL_VIDEO_DRIVER=offscreen),
+ including a second pardes-gui a case starts. A window's grid is its
+ case's (`Detached.Options.grid`), which sizes its terminal too: a test
+ window takes its terminal's size.
+ - **Fixed, found by running each case on the window:**
+ - **A new terminal's first pty/run waited for ever:** after a resize,
+ which a window always has, its greeting `ls` was typed at the same
+ first prompt (src/ninep/pty.zig). The run is now the shell's first
+ command.
+ - **The canary's Newcol was refused:** the runner's 80x24 terminal had
+ shrunk the window.
+ - **Flaky, seen once in about six full tui runs:** flags' "a tty editor
+ killed by SIGTERM or SIGHUP puts its terminal back and its socket goes".
+ It passes alone 3 of 3.
Before the port, the plan was: the Python suites in the build (fs.py, monkey9p.py, gui_monkey.py,
agent_session_test.py) move onto it or onto Session, then