← Jobs
failure

test ant/term ↗

main @ dae00cf86edb9793ef8624a23da05f8484a44cf3 · pipeline test #85 → · 2 more pipelines from this commit →
started 22 Sep 2026 16:40 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
perf: clear only the actual margin instead of the whole pixel buffer Profiling (see ROADMAP.md's "Performance profiling infrastructure" entry) found render.draw's unconditional fill_rect over the entire pixel buffer -- there only so the right/bottom margin past grid.cols*cell_w/grid.rows*cell_h picks up the theme background when the window size isn't an exact multiple of the cell size -- costing 9.4ms/frame, tied with all of draw_row_backgrounds combined. Every cell draw_row_backgrounds covers gets repainted right after anyway, so clearing the whole buffer was redundant everywhere but the true margin. Fixed by clearing only the right/bottom margin rectangles (skipped entirely when there's no margin in a given dimension), decomposed so the bottom-right corner is covered exactly once. Re-profiling the identical workload confirms it: render.draw_clear dropped from 9.4ms/frame to 0.19ms/frame (~50x), and render.draw's own average fell from 24.3ms/frame to 16.3ms/frame -- now essentially at the 60Hz frame budget on average, though the heaviest frame still exceeds it. draw_row_backgrounds is now clearly the largest remaining cost; see ROADMAP.md's revised "Damage tracking" entry for what that changes. render/render_test.odin gains a regression test for the exact-multiple-in-one-dimension-only case the two-rect decomposition introduces (the existing margin test only covered margin in both dimensions). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
$ test failure · exit 1 · raw
++ mktemp -d
+ checkout=/tmp/tmp.P8v4ysHwMo
+ trap 'rm -rf "$checkout"' EXIT
+ cp -R /var/lib/ci-tron/sources/5dfced451498f3c0/. /tmp/tmp.P8v4ysHwMo
+ cd /tmp/tmp.P8v4ysHwMo
+ nix develop --command odin test . -all-packages
GC Warning: Could not open /proc/stat
[INFO ] --- [2026-09-22 16:40:33] Starting test runner with 12 threads. Set with -define:ODIN_TEST_THREADS=n.
[INFO ] --- [2026-09-22 16:40:33] The random seed sent to every test is: 1138709674368324. Set with -define:ODIN_TEST_RANDOM_SEED=n.
[INFO ] --- [2026-09-22 16:40:33] Memory tracking is enabled. Tests will log their memory usage if there's an issue.
[INFO ] --- [2026-09-22 16:40:33] < 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
term: unknown flag "--bogus"
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
usage: term [--class <app_id>] [--working-directory <dir>] [-e <command> [args...]]
[ERROR] --- [2026-09-22 16:40:33] [terminfo_test.odin:441:test_terminfo_source_infocmp_round_trip()] expected state.exit_code == 0 to be true
[ERROR] --- [2026-09-22 16:40:33] [terminfo_test.odin:442:test_terminfo_source_infocmp_round_trip()] expected strings.contains(string(stdout), "smacs") to be true
[ERROR] --- [2026-09-22 16:40:33] [terminfo_test.odin:443:test_terminfo_source_infocmp_round_trip()] expected strings.contains(string(stdout), "setaf") to be true
[ERROR] --- [2026-09-22 16:40:33] [terminfo_test.odin:463:test_terminfo_source_tput_longname()] expected state.exit_code == 0 to be true
[ERROR] --- [2026-09-22 16:40:33] [terminfo_test.odin:464:test_terminfo_source_tput_longname()] expected strings.contains(string(stdout), "term terminal emulator with 256 colors") to be true
Finished 475 tests in 928.084239ms. 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.P8v4ysHwMo
Artifacts

no artifacts