Repository navigation
ci(e2e): start the dev server and wait for it before Cypress runs - #125
Merged
Merged
Conversation
From 2026-10-22 every e2e run failed before a test ran, on main as well (a83a4cc): the Cypress action's wait-on gave up on its first refused connection ("Socket closed before the connection was established") instead of retrying, before Vite had printed a line. Nothing in the repository had changed; the runner image and the action's SHA were the same as in the last passing run. The job now builds, starts the dev server in the background and waits for it with curl, printing Vite's log when it does not come up, and then runs Cypress against it with the action's install and wait left out. 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.
What
The
e2ejob now starts the dev server itself, waits for it with acurlloop (up to 60 s, printing Vite's log if it never answers), and then runs Cypress with the action's install and wait turned off.Why
Since 2026-10-22 every
e2erun fails before a test runs, onmaintoo (a83a4cc, run 39783306252). The Cypress action'swait-onstops at the first refused connection ("Socket closed before the connection was established") instead of retrying. Nothing in the repository changed, and the runner image and action SHA match the last passing run.A red CI on
mainmakes the Release workflow skip, so merging #118 (OpenShell 0.1.5) cut no release. Merging this should turnmaingreen and let the 0.1.5 release run.This is
fedd07afrom #123, cherry-picked unchanged. #123's CI passed with it.🤖 Generated with Claude Code