Repository navigation
Support headed browser tests on Linux - #21
Merged
Merged
Conversation
silveltman
added a commit
that referenced
this pull request
Nov 26, 2026
…ulldev Sites shows (#36) Fulldev Sites shows each running version of a website with its preview, but a Shopify theme had no preview per pull request. This adds a reusable Theme preview workflow: each push to a pull request into the default branch mirrors the branch to an unpublished theme named `#<number> <tag> <branch>` (the tag is the repository's, and Sites's cms/<id> branches stay whole at the end, which its bar reads), reports the preview link as the commit status `fulldev/theme-preview/<number>`, which Sites reads, and closing the pull request or moving it off the default branch deletes the theme and takes the link away. It only ever touches that pull request's theme (never a merchant's theme or another repository's preview on the same store, also after a rebase), reads the pull request as it is when each queued job runs, skips without the store or the secret, and pins Shopify CLI 5.0.0. Callers run it on `pull_request_target`, as GitHub skips `pull_request` workflows during a merge conflict; it only uploads a same-repository branch's files, never runs them. Proved on the dev store fulldev-liquid-template-review through fulldotdev/liquid-template#18 and throwaway pull requests (#19, #20, #21, closed): a theme per pull request, reused on a new push and after a force-push, deleted on close with its link taken away. Merge this first; then #18 is pinned to the merge commit on main. Created with Claude Opus 5.5 in Claude Code, reviewed by GPT Sol. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
Linux headless WebKit can stop delivering animation frames on pages using backdrop filters, leaving normal Playwright clicks waiting for stability. Run the existing browser package script under Xvfb on Linux so repositories can select headed WebKit; other operating systems keep their current command. Both steps explicitly use Bash so Windows callers can execute the OS selection.
Validation: 39 shared policy tests, actionlint and diff checks pass. On Blacksmith Ubuntu 24.04, the unchanged full.dev page reproduced the headless failure and passed both language-menu clicks with headed WebKit under Xvfb. Independent review found the missing shell declaration, which is now corrected in both steps; no other material findings. The full Fulldev browser suite remains required after both callers pin the merged revision.