Skip to content

Recheck differing shots for load-to-load variation #47

Closed

Description

@tmashara

What
Before reporting a shot as differing, load that page again on the reference side and compare the two loads. Pixels that differ between two loads of the same side get flagged as varies per load, with the element behind them and a suggested mask, instead of being reported as a difference.

Why
From the metabase.com run (feedback.md, item 5): /love masonry reflowed on every load, and the agent only found out by running the same side twice. Today's "shoot until stable" catches pixels that move within one load, not content that differs from load to load. uiverify.ai re-renders a changed story a few times and calls disagreement a flake. Doing it only for shots that differ means it costs nothing on clean pages.

How

  • Recapture the right side in a fresh context only for shots that differ, and diff it against the first right shot.
  • Regions that vary go into a separate varies field, excluded from the score the same way unstable is, and are located like other regions (dom selector). Print a ready --mask / config mask line for them.
  • A shot whose remaining difference is empty counts as clean but is listed, so it's never silent.
  • --no-recheck turns it off.
  • This replaces the separate --self-check idea.

Activity

  1. added
    enhancement
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions