Skip to content

test: widen snapshot fuzz to 2% for cross-arch AA#49

Merged
mcanouil merged 1 commit into
mainfrom
ci/snapshot-fuzz-cross-arch
May 27, 2026
Merged

test: widen snapshot fuzz to 2% for cross-arch AA#49
mcanouil merged 1 commit into
mainfrom
ci/snapshot-fuzz-cross-arch

Conversation

@mcanouil
Copy link
Copy Markdown
Owner

Snapshot goldens generated on one CPU architecture could fail CI on another: arm64 and x86_64 differ in floating-point rounding, nudging anti-aliased edges by a sub-pixel. With tolerance: 0 / fuzz: 1% that surfaced as AE=1 boundary failures on a handful of anti-aliasing-sensitive examples (e.g. the geom-smooth band), even though the renders agree visually.

  • Raise the default --fuzz from 1% to 2% in tools/snapshot/run.lua.
  • tolerance stays 0: still no stray pixels allowed; only the per-pixel colour threshold widens, which absorbs cross-architecture AA while structural changes (a mark moving onto a different background) still fail.
  • Full local suite stays 552/552.

@mcanouil mcanouil added the Type: CI/CD 🤖 Issues related to continuous integration and deployment label May 27, 2026
@mcanouil mcanouil self-assigned this May 27, 2026
@mcanouil mcanouil merged commit 458361e into main May 27, 2026
4 checks passed
@mcanouil mcanouil deleted the ci/snapshot-fuzz-cross-arch branch May 27, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: CI/CD 🤖 Issues related to continuous integration and deployment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant