Repository navigation
fix(action): ignore sub-pixel glyph drift - #17
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
8 screenshot changes — 0 changed · 8 added · 0 removed |
dcramer
marked this pull request as ready for review
October 15, 2026 05:12
dcramer
added a commit
to getsentry/junior
that referenced
this pull request
Oct 15, 2026
Move both Frameshift steps from v0.1.0 (`b730732`) to v0.2.0 (`57ef8e4`). v0.2.0 ignores sub-pixel glyph drift (dcramer/frameshift#17). Chrome sometimes draws text a fraction of a pixel to one side between runs. v0.1.0 reported those screenshots as changed, even though they look the same. PR #2140 had 12 such false flags. Checks: - The `ci/` and `publish/workflow` action files did not change between the two versions, so the inputs and baseline artifacts stay the same. - v0.2.0 on the #2140 baseline and candidate images reports 0 changed instead of 12. Baseline images do not change. Frameshift checks this PR's screenshots with v0.2.0. Real changes still show up. <!-- junior-request-attribution:start --> via **David Cramer**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:slack%3AC0B595QDZLL%3A1792026612.765249 --> -- [View Junior Session](https://junior-prod.sentry.dev/conversations/slack%3AC0B595QDZLL%3A1792026612.765249) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0B595QDZLL%3A1792026612.765249/?project=4510944073809921) <!-- junior-session-footer:end --> Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: David Cramer <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Screenshot comparison now recognizes sub-pixel glyph rasterization drift after Honeydiff reports a change. Same-size comparisons without height alignment are rechecked using padded diff regions, linear-light ink measurements, and whole-pixel movement detection; qualifying drift is reported as unchanged and its diff image is removed.
The guard remains conservative: transparency, flat-pixel edits, whole-pixel movement, color changes, and glyph shape changes remain changed. The 12 false positives in the report linked from the issue are suppressed, and the checked-in Action bundle includes the new behavior.
Fixes #16