Skip to content

Commit b5fa1b9

Browse files
shai-almogclaude
andcommitted
ci(mac-native): tolerance sidecar for chart-transform Metal AA noise
ChartTransform draws its latency line and axes as antialiased diagonals via Graphics.setTransform. Metal antialiases those edges slightly differently between mac CI runners -- measured ~0.23% of pixels over channelDelta 8 (max single-channel delta ~86 on a line edge) while the chart content is byte-for-byte the same shape. The other mac-native theme goldens were reseeded already, leaving this as the lone strict CN1SS_FAIL_ON_MISMATCH=1 failure. Add a per-test .tolerance sidecar (maxChannelDelta=8, maxMismatchPercent=3.0) mirroring the Gpu3D* sidecars so sub-pixel GPU noise no longer fails the build. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 757a43e commit b5fa1b9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ChartTransform renders a chart through Graphics.setTransform, so the latency
2+
# line and axes are drawn as antialiased diagonals. Metal antialiases those
3+
# edges slightly differently between mac CI runners (measured ~0.23% of pixels
4+
# over channelDelta 8, max single-channel delta on a line edge ~86) while the
5+
# chart content is otherwise identical. Widen tolerance so this sub-pixel GPU
6+
# noise does not fail the build -- same approach as the Gpu3D* sidecars.
7+
maxChannelDelta=8
8+
maxMismatchPercent=3.0

0 commit comments

Comments
 (0)