← notes

109,389 stars, two expects each

Oct 22, 2026

The first CI run on the 2049 repository timed out on a test of star colors. It made about 650,000 assertions, a pair for every value.

Three repositories had no check on pull requests: 2049, the whitepaper and the brand. Each got one the same afternoon, with the same line in the pull request: once it passes here, the org ruleset will require it on main.

The brand check builds the SVGs and fails if the committed ones differ. The whitepaper check builds mru.tex with latexmk and fails on an undefined reference or citation, because latexmk passes with a missing \ref or \cite. Its first run installed TeX from apt and was cancelled: the Ubuntu mirror was too slow to install texlive inside the timeout. It runs in the texlive/texlive:TL2025-historic image now.

The 2049 check runs types, tests, lint and a build. Its first run failed on “gives every star a colour in range”, timed out at 5,269 ms against 5,000. The catalog holds 109,389 stars. The test walked count * 3, 328,167 color values, with two expect calls each.

A helper, failing(count, ok), now collects the bad indices, and each test asserts once that the list is empty. The star tests went from 10,262 ms to 133. The whole suite went from 10.86 s to 952 ms, 117 tests.

The old test stopped at the first bad star. The new one names all of them.