Repository navigation
Rerun keeps near-clean shots, one-sided asset retry, CSS-only skill fixes - #134
Merged
Merged
Conversation
A rerun now keeps a shot with no differing pixels and at most 100 unstable ones (anti-aliased corners recur on every load), unless it has failed assets or varies. reusable() and the clean/evidence rules are unchanged. A shot whose stylesheet or font face failed on one side only reloads that side once and reports the failure only if it recurs. A recurring failure is remembered for the run, so a one-sided regression on every page isn't shot twice. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… run Loop steps 3 and 5 now run the routes in scope (for CSS-only, the ones the changed rules reach), matching the mode table. A build diff whose changed rules only reorder or re-notate declarations proves parity without shots, and CSS inlined into every page by Astro and similar doesn't make a change non-CSS-only. With the change already made, base vs base runs after the change run, only on the routes that still differ, the right origin on both sides. reference.md also picks up the rerun and failed-asset wording from the previous commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A retry that throws (a timeout after shoot's own retry) kept its error and turned a compared row into an ERROR; a timeout also left the side's page blank for locate and --computed. The retry now runs in a spare page that replaces the side's page only when it returns, and the first shot stands otherwise. lasting is keyed by side. The 100 px rule is stated once per doc, and the baseline recipe covers command-line routes, --sitemap and moved pairs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A failure opening or preparing the spare page now keeps the first shot too, and a right-side retry that throws during a replay no longer leaves its own missed-request count behind. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
Refs #129. Covers items 1–4.
renderdiff reach, a--baselineflag and--clockare deferred. The rule-coverage example belongs to #121.Behaviour changes
--rerun-failedkeeps near-clean shots. A shot with no differing pixels and at most 100 unstable ones (anti-aliased corners, which recur on every load) is now reused instead of rerun.varies, an error or any differing pixel is still rerun.unstableand stays offclean:. evidence.html still says Not verified.reusable()and the clean/evidence rules are unchanged; only the rerun's reuse check is new.--cache-rightreplay-gap entry is added, so a replay gap never triggers a retry.jq+--onlyrecipe for this.Tests
/tickerwith an 8×8 tick at 375 has 64 unstable px.--rerun-failedreuses that shot and reruns the 148,480 px one at 1440.npm test(397) andnpm run test:visual(400) pass locally.🤖 Generated with Claude Code