diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-26 19:47:41 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-26 19:47:41 -0300 |
| commit | a88ea865f116469689c62454facde811bdb37ce6 (patch) | |
| tree | f7ae59839b858526914f6f52aa4e1281ee6633c9 /dev/gui/deck.zig | |
| parent | 87822a49e691c31566f257765dbcae5eeffc89dc (diff) | |
| download | pardes-a88ea865f116469689c62454facde811bdb37ce6.tar.gz pardes-a88ea865f116469689c62454facde811bdb37ce6.zip | |
exec.runCommand: the same command line run again in the same directory takes the errors of its earlier run whatever pane ran it, as its own pane's next run takes them (SPEC §11: a build's messages die at its run's next run; UX DESIGN H: an error lives until Esc, the next error or its pane's next run): a run that went to another pane, the failed one still printing a job's output, leased by a 9P open, or in another column, left the failed run's ✗ and notice row up (VIDEO2's B9, agent V5: after the fix, a successful `make ... run` from another command pane left the tag's ✗ and `✗ @p10 make exit 2 …types.cc:163:53` on screen); THE DESIGN: silent on a run in another pane; the coordinator's ruling (the user's, 2026-11-26: acme's semantics kept): the narrowest rule, the same command pane's next run (built already) or the same command line run again in the same directory, over a wider "the same program anywhere"; so V5's exact sequence (`make` in /tmp/v8 failing, then `make -C ../.. run` from /tmp/v8/src/torque passing) still keeps the error until Esc, `make` run again in /tmp/v8, or the next error; THE CAUSE: runCommand retired the errors of the pane it reused alone (exec.zig:771); THE FIX: retireRuns, as a run starts in a reused pane or a new one: the errors said of that pane, and of a command pane whose command line and directory are this run's; a run in a pane since closed keeps its error (no line to compare: its words are cut at 64 bytes); no dump, digest, frame or hot path touched (a loop over the 16 live messages as a command starts); RUN (TEST FIRST): panes.zig "the same command line run again in the same directory takes its earlier run's error ..." runs `make` (an error, exit 2, its pty still open), then `make run` (exit 0: the error stays), then `make` again, which goes to a pane of its own: asks no live error and no mark on the failed pane: fails on yvtlyxxs 87822a49e691 at panes.zig:2047 (the error live), passes now; the existing "... the pane's next run takes it away" passes; a user hit it whenever a rerun could not reuse the failed pane (a job left printing, `make &`, a column's tag); GATES (Debug tui): shell-test -Dtest-filter=run 130/130, core-test 1165/1342 (177 skipped; the importer's 7 cached: 1172/1349 with them, the new test needing a terminal +1); load 1.5 to 2.6
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'dev/gui/deck.zig')
0 files changed, 0 insertions, 0 deletions
