Repository navigation
ci: tmux from cvcpkg on the Linux lanes, so the ari tmux tests run - #901
Merged
Merged
Conversation
transfix
marked this pull request as ready for review
October 30, 2026 06:54
Owner
Author
|
CI run 41016435424 at c52dfc0. All five package-linux lanes pass, and in each one:
The run's red comes from the four package-macos lanes. Each fails only |
transfix
force-pushed
the
ci/ari-tmux-tests
branch
from
October 30, 2026 22:03
c52dfc0 to
3b15fda
Compare
ari_run_json_feed_ftxui and ari_run_json_feed_tvision run `ari run` in a 100x30 tmux pane and compare what each backend drew; they are the only check of the real tvision desktop. They register only when find_program finds tmux, and GitHub's ubuntu-24.04 image has none, so CI never ran them. package-linux installs cvcpkg's tmux into a prefix of its own and puts a link to bin/tmux, alone, on PATH (the prefix's bin/ also has ncurses' tput, clear and tic). Configure finds it there, and so does run_in_tmux_test.sh. Run tests now fails when src/ari defines those tests but tmux is not on PATH or fewer than two of them registered, the same guard the cvcgl_* and libigl tests have. On a tree without them the check is skipped.
transfix
force-pushed
the
ci/ari-tmux-tests
branch
from
October 31, 2026 00:37
3b15fda to
26c8125
Compare
transfix
enabled auto-merge (squash)
October 31, 2026 00:44
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.
Now on master. #883 merged as bff3dfb, so this branch is master plus one commit, 26c8125 (
.github/workflows/ci.ymlonly).ari_run_json_feed_ftxuiandari_run_json_feed_tvision(#883,src/ari/tests/run_in_tmux_test.sh) runari runin a 100x30 tmux pane and compare what each backend drew. They are the only check of the real tvision desktop. They register only whenfind_programfinds tmux, and GitHub's ubuntu-24.04 image has none, so CI never ran them.package-linux:
tmux(3.8+cvc.1, published 2026-10-30 from recipe(tmux, libevent): tmux 3.8 against cvcpkg's ncurses; libevent 2.1.13 (cvc.1) cy-pca/cvcpkg#509) into$RUNNER_TEMP/tmux. It then puts a link tobin/tmux, and nothing else, on PATH via$GITHUB_PATH, because that prefix'sbin/also holds ncurses'tput,clearandtic. Configure'sfind_programand the test script both find it there. cvcpkg'sbin/tmuxputs its prefix'sshare/terminfoonTERMINFO_DIRSitself.src/ari/CMakeLists.txtdefinesari_run_json_feed_*, the step now fails if tmux is not on PATH or fewer than two of them registered. This is the same guard the cvcgl_* and libigl tests have. On a tree without those tests the check is skipped, so the commit also works on master before state_exec: json-parse, json-encode and state-set-tree, so documents can read REST replies #883.Verified locally:
run_in_tmux_test.shpasses for--backend ftxuiand--backend tvision(11 rows each).env -i+setsid, with no TERM and no tty, as on a runner.Done when: this PR's package-linux test logs show both tests
Passed(not skipped).