Skip to content

Skip the visual diff against stable 3084 - #768

Closed
cyberb wants to merge 1 commit into
masterfrom
visual-diff-skip-3084
Closed

Skip the visual diff against stable 3084#768
cyberb wants to merge 1 commit into
masterfrom
visual-diff-skip-3084

Conversation

@cyberb

@cyberb cyberb commented Aug 28, 2026

Copy link
Copy Markdown
Member

One-line stopgap to unblock platform branch builds.

Why

FindLatestBuild("stable") resolves to build 3084 (2026-08-19). The nightly artifact prune on the CI host deleted platform/3084-*, so ci-diff downloads an empty tree and every branch build fails:

Stable build: #3084
=== desktop ===
  SKIP: base=missing compare=artifact/playwright/desktop/screenshot
=== mobile ===
  SKIP: base=missing compare=artifact/playwright/mobile/screenshot
FAIL: no screenshots were compared stable

Nothing is wrong with the screenshots — the baseline no longer exists. This currently fails every platform PR, not just one.

3076 was the previous occurrence of the same thing. The constant only takes effect when it equals the current latest stable, so it went inert the moment stable moved to 3084.

What this does not fix

  • visual-diff/cmd/app.go:54DownloadBuild returns nil for a build directory that does not exist, so a pruned baseline is indistinguishable from a screenshot regression until you read the log.
  • The constant still needs hand-bumping at each recurrence.

Both are worth a follow-up; this is the stopgap.

The baseline regenerates on the next stable push. Going forward it is protected from pruning by the artifact cleaner now running on the CI host, which keeps the last green stable per app regardless of age.

Validated with drone jsonnet + drone lint; generated step reads ci-diff artifact/playwright 3084.

The nightly artifact prune on the CI host deleted platform/3084-*, which
is the build FindLatestBuild("stable") resolves to, so ci-diff downloads
an empty tree and every branch build fails with "no screenshots were
compared". Nothing is wrong with the screenshots; the baseline no longer
exists.

3076 was the previous occurrence of the same thing. The constant only
matches when it equals the current latest stable, so it went inert the
moment stable moved to 3084 and has to be hand-bumped each time.

This unblocks branch builds until the baseline regenerates on the next
stable push. It is a stopgap: ci-diff still cannot tell a pruned
baseline from a screenshot regression, and until DownloadBuild fails on
a missing build directory this will keep costing an investigation each
time it recurs.
@cyberb

cyberb commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

Folding this into #767 instead so that branch goes green directly.

@cyberb cyberb closed this Aug 28, 2026
@cyberb
cyberb deleted the visual-diff-skip-3084 branch August 28, 2026 00:10
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