Skip to content

ci: tmux from cvcpkg on the Linux lanes, so the ari tmux tests run - #901

Merged
transfix merged 1 commit into
masterfrom
ci/ari-tmux-tests
Oct 31, 2026
Merged

transfix merged 1 commit into
masterfrom
ci/ari-tmux-tests

Conversation

@transfix

@transfix transfix commented Oct 30, 2026 •

Copy link
Copy Markdown
Owner

Now on master. #883 merged as bff3dfb, so this branch is master plus one commit, 26c8125 (.github/workflows/ci.yml only).

ari_run_json_feed_ftxui and ari_run_json_feed_tvision (#883, src/ari/tests/run_in_tmux_test.sh) 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:

Verified locally:

Done when: this PR's package-linux test logs show both tests Passed (not skipped).

@transfix
transfix marked this pull request as ready for review October 30, 2026 06:54
@transfix

Copy link
Copy Markdown
Owner Author

CI run 41016435424 at c52dfc0. All five package-linux lanes pass, and in each one:

  • cvcpkg: installing tmux 3.8+cvc.1, then tmux 3.8;
  • ari_run_json_feed_* (tmux) tests registered with ctest: 2;
  • ari_run_json_feed_ftxui ... Passed and ari_run_json_feed_tvision ... Passed, each 0.5–0.8 s, first attempt, none skipped.
lane ftxui tvision
libcvc-debug Passed 0.79 s Passed 0.80 s
libcvc-debug-grpc Passed 0.81 s Passed 0.83 s
libcvc-release Passed 0.52 s Passed 0.48 s
libcvc-release-grpc Passed 0.55 s Passed 0.54 s
libcvc-release-grpc-static Passed 0.54 s Passed 0.54 s

The run's red comes from the four package-macos lanes. Each fails only Fem.SteppedPoissonMatchesTheOneShotSolve (3 of 3 attempts). This change does nothing on macOS. That is the bug master fixed after this branch was cut, in 276de39 (#903), and the branch (#883's base) predates it.

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 transfix changed the title ci: tmux from cvcpkg on the Linux lanes, so the ari tmux tests run (after #883) ci: tmux from cvcpkg on the Linux lanes, so the ari tmux tests run Oct 31, 2026
@transfix
transfix enabled auto-merge (squash) October 31, 2026 00:44
@transfix
transfix merged commit f5c49fa into master Oct 31, 2026
20 of 28 checks passed
@transfix
transfix deleted the ci/ari-tmux-tests branch October 31, 2026 01:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant