← Jobs
failure

test ant/term ↗

main @ 216b55c374021c0f35212df9fe7eefbba81ee244 · pipeline test #64 → · 2 more pipelines from this commit →
started 18 Sep 2026 19:42 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 bel/rep/tbc -- audited terminfo against 5 real terminals Systematically compared this file's declared capability set against xterm-256color, foot, alacritty, kitty, and st-256color (compiling both sides with tic + infocmp for a fair, normalized comparison) to find any other implemented-but-undeclared gaps in the same shape as bce/cr. Found three: - bel: feed_ground's BEL case is a deliberate no-op (no bell support in v1), but that's not a reason to leave it undeclared -- sending it is a real, harmless, correctly-handled action, the same structurally-correct-but-static tradeoff already made for blink. Every reference terminal checked declares it. - rep: run_csi's 'b' case (REP) has repeated the last graphic character since early in this project; never declared. - tbc: run_csi's 'g' case handles TBC mode 3 (clear all tab stops) via clear_all_tab_stops; never declared. A stale test comment had conflated this with the genuinely-unimplemented modes 1/2 and asserted tbc should stay absent -- corrected. Also checked for the reverse direction (declared capabilities the code doesn't back) and found none. Genuinely unimplemented features turned up too (CBT/back-tab, the Insert key, shifted special keys, modified function keys) -- left undeclared correctly, since there's no behavior for them to under-promise. Adds bce/cr-style behavior-linking tests for rep and tbc so these can't silently drift stale again either.
$ test failure · exit 1 · raw
++ mktemp -d
+ checkout=/tmp/tmp.udhmV9L6QV
+ trap 'rm -rf "$checkout"' EXIT
+ cp -R /var/lib/ci-tron/sources/2812368a3bb3a753/. /tmp/tmp.udhmV9L6QV
+ cd /tmp/tmp.udhmV9L6QV
+ nix develop --command odin test . -all-packages
GC Warning: Could not open /proc/stat
[INFO ] --- [2026-09-18 19:42:54] Starting test runner with 12 threads. Set with -define:ODIN_TEST_THREADS=n.
[INFO ] --- [2026-09-18 19:42:54] The random seed sent to every test is: 1239618988662876. Set with -define:ODIN_TEST_RANDOM_SEED=n.
[INFO ] --- [2026-09-18 19:42:54] Memory tracking is enabled. Tests will log their memory usage if there's an issue.
[INFO ] --- [2026-09-18 19:42:54] < 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:42:54] [terminfo_test.odin:407:test_terminfo_source_infocmp_round_trip()] expected state.exit_code == 0 to be true
[ERROR] --- [2026-09-18 19:42:54] [terminfo_test.odin:408:test_terminfo_source_infocmp_round_trip()] expected strings.contains(string(stdout), "smacs") to be true
[ERROR] --- [2026-09-18 19:42:54] [terminfo_test.odin:409:test_terminfo_source_infocmp_round_trip()] expected strings.contains(string(stdout), "setaf") to be true
[ERROR] --- [2026-09-18 19:42:54] [terminfo_test.odin:429:test_terminfo_source_tput_longname()] expected state.exit_code == 0 to be true
[ERROR] --- [2026-09-18 19:42:54] [terminfo_test.odin:430:test_terminfo_source_tput_longname()] expected strings.contains(string(stdout), "term terminal emulator with 256 colors") to be true
Finished 314 tests in 902.535164ms. 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.udhmV9L6QV
Artifacts

no artifacts