You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Flaky test: health report size check fails when the report is 200 bytes #374
It failed twice in a row on the Pi on 2026-11-09 (while working on #373), and passed on main a minute later.
Why
The test writes the health report 200 times and checks that the file stays one line and under 200 bytes. But one report line is already about 199–200 bytes, for example:
Its length changes with numbers the test doesn't control: the process number (pid), the computer's uptime (monotonic), memory use and free disk space. When these have one more digit, the line reaches 200 bytes and the test fails. Nothing is wrong with the health code itself; the limit in the test is too tight.
What to do
Test what the check is for, that the file doesn't grow, instead of a fixed number of bytes. For example, write one report, note its size, write 199 more, and check that the size is about the same (within a few bytes, since the numbers change between reports). The other checks stay: one line, no temporary files left.
Activity
txoof-bot commentedon Nov 9, 2026
claimed by PaperPi-364-met-no-readable (fix goes into #373)
txoof-bot commentedon Nov 9, 2026
released: done in #375 (merged)