Skip to content

Add snapshot masks and comparison tolerances - #34

Merged
brynary merged 2 commits into
snapshot-parse-fixesfrom
snapshot-comparison-options
Oct 5, 2026
Merged

brynary merged 2 commits into
snapshot-parse-fixesfrom
snapshot-comparison-options

Conversation

@brynary

@brynary brynary commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Stacked on #33. This PR contains only the snapshot comparison changes.

Add snapshot-mask, snapshot-pixel-threshold, and snapshot-max-diff in [Options] and beneath individual SNAPSHOT actions. Each local setting overrides its file default. Mask lists replace inherited masks, and none clears them. Difference limits accept pixel counts or percentages; existing defaults remain unchanged.

Apply masks to every snapshot capture, including stabilization and baseline updates. Record effective settings in JSON and HTML reports, preserve secret masking, and extend parsing, formatting, diagnostics, and documentation. Bump the private shim protocol so older shims cannot silently ignore the settings.

Validation: mise run check.

@brynary brynary mentioned this pull request Sep 28, 2026
@brynary
brynary added this pull request to stack #55 October 5, 2026 13:05
@brynary
brynary force-pushed the snapshot-comparison-options branch from 63041c0 to 6452745 Compare October 5, 2026 13:21
@brynary
brynary force-pushed the snapshot-comparison-options branch from 6452745 to 51a811d Compare October 5, 2026 14:02
@brynary
brynary merged commit 2453baf into pointer-buttons Oct 5, 2026
2 of 3 checks passed
@brynary
brynary deleted the snapshot-comparison-options branch October 5, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant