Commit 71e91e0
test(render): assert palette conformance once, not per pixel
The Impression case ran one expect() per pixel — 384k calls — which took
~6.5s against vitest's 5s timeout and had failed every CI run on master
since 2026-07-25, skipping docker-deploy and stranding the fleet on a
stale :latest.
Collect the off-palette colours and assert the set is empty: ~8x faster
(7354ms -> 904ms) and a dither regression now reports which colours
leaked rather than the first bad pixel's index.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent b9042b0 commit 71e91e0
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
69 | 78 | | |
70 | 79 | | |
0 commit comments