Repository navigation
Check identical tmux screens against the jobs’ output and exit codes - #208
Merged
Merged
Conversation
This was referenced Dec 5, 2026
tony
force-pushed
the
program-output-evidence
branch
from
December 5, 2026 18:21
5c5a6ba to
6e1cf70
Compare
tony
force-pushed
the
concept-program-exit
branch
from
December 5, 2026 23:54
fde768a to
d6986a0
Compare
7 of 8 tasks
tony
force-pushed
the
concept-program-exit
branch
from
December 6, 2026 01:17
d6986a0 to
d66efdc
Compare
tony
force-pushed
the
program-output-evidence
branch
from
December 6, 2026 02:21
6e1cf70 to
e5cf392
Compare
why: A tmux pane can finish on the same screen for two jobs with different output and exit statuses. Consumers depend on each result separately. what: - Send a token to each job and verify its receipt outside the pane. - Compare the Program result with a tmux control client, capture-pane and the exit code recorded by the child.
tony
force-pushed
the
concept-program-exit
branch
from
December 6, 2026 14:35
d66efdc to
f0681c8
Compare
tony
force-pushed
the
program-output-evidence
branch
from
December 6, 2026 14:35
e5cf392 to
828fce5
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two jobs receive different input in their own tmux pane. Each briefly prints a different progress message, then overwrites it with
done. Lua’s visible-text wait succeeds for both. The jobs exit with status 0 and 7.The test compares the Program result with three independent observations. A native tmux control client reads the output bytes,
capture-panereads the screen, and the child records the input it received and its exit status. The test checks that both complete screens match and that only the fixture session survives.Test plan
luajit scripts/check/check.lua integration program_contractagainst the updated Program contract in Concept: Tell whether a build passed after its pane closes #154. The suite passed with Lua 5.1.5 and Neovim 0.10.0 on tmux 3.3a, and Lua 5.5.1 and Neovim 0.12.5 on tmux 3.4 and 3.8.expected exit 7, got 0after their output and screen comparisons pass.Built on #154. Closes #150.