← Jobs
failure

test ant/term ↗

main @ 7b70019986e3f520a4d8c5ea3944564dafb6bb87 · pipeline test #61 → · 2 more pipelines from this commit →
started 18 Sep 2026 19:24 UTC · ran for
10s, success 9s, success 10s, success 10s, success 12s, success 13s, success 13s, success 12s, success 12s, success 12s, success avg 11s ± 1s over the last 10 runs
fix: declare cr in terminfo -- another real capability missing by omission cr (carriage return) was simply never declared, with no comment suggesting it was deliberate (unlike bce's history) -- feed_ground's bare '\r' handling (vt/parser.odin) has always correctly reset cursor_x to 0. Same shape of consequence as the bce gap: an ncurses-linked TUI's cursor-movement optimizer won't reach for "\r" without seeing cr declared, and can fall back to a cursor-down move alone (cud) to reach a target row -- which, correctly, never touches the column, landing a redraw at whatever column the cursor already happened to be on. Root-caused via a real nvim session: switching modes wrote the mode indicator (NORMAL/VISUAL/COMMAND) at the edit cursor's column instead of the statusline's left edge, garbling whatever text was already there -- reproduced byte-for-byte by replaying the exact capture into a real tmux pane. Adds a bce-style behavior-linking test (see the commit that added that pattern) rather than a second independent capability list entry.
$ test failure · exit 1 · raw
++ mktemp -d
+ checkout=/tmp/tmp.hQYndmPdtj
+ trap 'rm -rf "$checkout"' EXIT
+ cp -R /var/lib/ci-tron/sources/d4765f5987ac8119/. /tmp/tmp.hQYndmPdtj
+ cd /tmp/tmp.hQYndmPdtj
+ nix develop --command odin test . -all-packages
GC Warning: Could not open /proc/stat
[INFO ] --- [2026-09-18 19:24:18] Starting test runner with 12 threads. Set with -define:ODIN_TEST_THREADS=n.
[INFO ] --- [2026-09-18 19:24:18] The random seed sent to every test is: 1235764003170168. Set with -define:ODIN_TEST_RANDOM_SEED=n.
[INFO ] --- [2026-09-18 19:24:18] Memory tracking is enabled. Tests will log their memory usage if there's an issue.
[INFO ] --- [2026-09-18 19:24:18] < Final Mem/ Total Mem> < Peak Mem> (#Free/Alloc) :: [package.test_name]
term: --class requires an argument
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
term: -e requires a command
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
term: --working-directory requires an argument
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
term: unknown flag "--bogus"
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
[ERROR] --- [2026-09-18 19:24:18] [terminfo_test.odin:361:test_terminfo_source_infocmp_round_trip()] expected state.exit_code == 0 to be true
[ERROR] --- [2026-09-18 19:24:18] [terminfo_test.odin:362:test_terminfo_source_infocmp_round_trip()] expected strings.contains(string(stdout), "smacs") to be true
[ERROR] --- [2026-09-18 19:24:18] [terminfo_test.odin:363:test_terminfo_source_infocmp_round_trip()] expected strings.contains(string(stdout), "setaf") to be true
[ERROR] --- [2026-09-18 19:24:18] [terminfo_test.odin:383:test_terminfo_source_tput_longname()] expected state.exit_code == 0 to be true
[ERROR] --- [2026-09-18 19:24:18] [terminfo_test.odin:384:test_terminfo_source_tput_longname()] expected strings.contains(string(stdout), "term terminal emulator with 256 colors") to be true
Finished 312 tests in 923.001117ms. 2 tests failed.
- main.test_terminfo_source_infocmp_round_trip expected strings.contains(string(stdout), "setaf") to be true
- main.test_terminfo_source_tput_longname expected strings.contains(string(stdout), "term terminal emulator with 256 colors") to be true
To run only the failed tests, use:
-define:ODIN_TEST_NAMES=main.test_terminfo_source_infocmp_round_trip,main.test_terminfo_source_tput_longname,
If your terminal supports OSC 52, you may use -define:ODIN_TEST_CLIPBOARD to have this copied directly to your clipboard.
+ rm -rf /tmp/tmp.hQYndmPdtj
Artifacts

no artifacts