Repository navigation
Run the remote E2E tests on Linux, Windows and macOS for stable-line pull requests - #9215
Open
craigmichaelmartin wants to merge 14 commits into
Open
craigmichaelmartin wants to merge 14 commits into
craigmichaelmartin wants to merge 14 commits into
Conversation
The remote E2E tests run on Linux only, and they can't fail a pull request. Release E2E runs them on Linux, Windows and macOS against every pull request into a stable line, and against any branch or tag on demand. Its gate job fails unless every system passed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Temporary: a later commit removes this trigger before review. Co-Authored-By: Claude Opus 5.5 <[email protected]>
node-pty 1.1.0's macOS prebuilds ship spawn-helper without the execute bit, so every pseudo-terminal in the E2E tests failed to start with "posix_spawnp failed". Co-Authored-By: Claude Opus 5.5 <[email protected]>
On Windows, node-pty looks up the command on PATH as a file named exactly "node", without adding .exe, so it can't start the CLI. This tries the harness fix on Windows and macOS; the change itself goes to the E2E package upstream, and a later commit reverts it here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
app dev ignored edits to shopify.app.toml on Windows in the E2E tests: chokidar reports backslash paths there, and the file watcher compared them with the configuration path as they were. This tries the fix on Windows; the change itself goes upstream, and a later commit reverts it here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Function build and run, app info, app dev on a React Router app with app execute, GraphiQL and app logs, and Hydrogen init and build. The cases go to the E2E package upstream, and a later commit reverts them here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… (draft only) The React Router test waits for the web dev server, Hydrogen installs with pnpm, and a new case checks that app dev serves an admin action and the theme app extension preview. The workflow also runs the local project, which needs no account. A later commit reverts the test changes here; they go to the E2E package upstream. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… once per system (draft only) The serving case checks only the admin action, since the theme app extension preview needs the store's storefront password. The local project runs whole on each system's first shard, so the remote shards stay even. Release runs retry the login 4 times, 30 seconds apart. A later commit reverts the E2E package changes here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
5.2.0 broke npm and npx web commands in app dev on Windows through cross-spawn 7.1.0, and 5.2.1 moved to 7.1.2. This run checks that the React Router dev test fails on Windows with 7.1.0. The React Router test also installs its app with pnpm now. A later commit reverts the dependency here. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The E2E harness fixes, the new cases and the app dev fix go upstream as their own changes, and the dependency trial is over. This pull request changes only the workflow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The new E2E cases go upstream as their own changes. This pull request changes only the workflow. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Windows and macOS are slower, and a long test plus its retry can pass Playwright's configured 20 minutes. The remote run gets 35 minutes, and the job 50. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch has not been deployed
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.
WHY are these changes introduced?
The remote E2E tests run on Linux only, and they can't fail a pull request. Before a release, Windows and macOS get only unit tests. 5.2.0's Version Packages pull request (#9206) passed the Linux E2E tests, then shipped an
app devfailure on Windows that #9213 fixed for 5.2.1.WHAT is this pull request doing?
Adds Release E2E (
release-e2e.yml). It runs the E2E tests on Linux, Windows and macOS against every pull request intostable/**, and against any branch or tag on demand:spawn-helperexecutable, because the published prebuilds ship it without the execute bit.While it was a draft, this pull request also ran the workflow on itself, with trial changes that are now reverted. Those runs found three problems:
spawn-helperwasn't executable. The workflow step above fixes that.nodewithout its.exe, so no pseudo-terminal started. The fix is a separate change to the E2E harness.app devdidn't reload the app whenshopify.app.tomlchanged. That's a CLI bug, with its own fix and changeset.Results from those runs:
Cannot find module '<app>\node_modules\npm\bin\npm-prefix.js'.How to manually test your changes?
Once this is on
main, run it against a branch or tag and compare the systems in the run summary:Checklist
patchfor bug fixes ·minorfor new features ·majorfor breaking changes) and added a changeset withpnpm changeset add🤖 Generated with Claude Code