Skip to content

馃悰 Keep Swift preview names stable across schemes - #370

Merged
Robdel12 merged 1 commit into
mainfrom
rd/swift-preview-name-stability
Oct 2, 2026
Merged

Robdel12 merged 1 commit into
mainfrom
rd/swift-preview-name-stability

Conversation

@Robdel12

@Robdel12 Robdel12 commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Why

Swift preview capture currently prefixes each screenshot name with its Xcode scheme. That makes the same preview produce different Vizzly screenshot identities when captured from another scheme, so the schemes cannot share comparisons.

Approach

Use the Xcode preview name as the screenshot name, independent of scheme. Keep the scheme in screenshot metadata and retain suffixes only when needed to distinguish duplicate preview names.

Evidence

The focused naming tests and package lint pass. The full local package test run reaches a Node 26 assertion during test-process cleanup after the test assertions pass, so CI should confirm the complete suite.

Use Xcode preview names without the selected scheme so builds from different schemes compare against the same screenshot identities.
@Robdel12
Robdel12 enabled auto-merge (squash) October 2, 2026 03:39
@Robdel12
Robdel12 merged commit 7388578 into main Oct 2, 2026
29 of 34 checks passed
@Robdel12
Robdel12 deleted the rd/swift-preview-name-stability branch October 2, 2026 03:52
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