mirror of
https://github.com/storytold/wordcraft.git
synced 2026-11-19 08:55:26 +00:00
SonarCloud's coverage shards run tests built with -Cinstrument-coverage on shared runners. Tests that assert a wall-clock limit or a time ratio swing there: the megabyte-word test took 5.7-23 s against a 15 s limit, and three linear-time tests read 24-31x against 24x. Each one that flakes turns main red after merging. Ignore under cfg(coverage) every test whose purpose is performance (linear time, bounded, capped, fast). The gate CI still runs them all uninstrumented. Behaviour tests that only carry a generous time guard (fuzz, never-panics, clipboard, regex, render, recent fonts) and the SSIP speech timeout tests keep running, so their checks stay covered. Claude-Session: https://claude.ai/code/session_01FypgCXtSjB6e5jmy9Uq7u8 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>