Skip to content

JCU: CI: bump cypress-io/github-action to v7.4.4 (fixes 'Socket closed before the connection was established') - #1658

Merged
vidiecan merged 1 commit into
customer/jcufrom
jcu/ci-cypress-action-v7.4.4
Oct 24, 2026
Merged

vidiecan merged 1 commit into
customer/jcufrom
jcu/ci-cypress-action-v7.4.4

Conversation

@vidiecan

Copy link
Copy Markdown

Change set

Bumps cypress-io/github-action from @v7.1.9 to @v7.4.4 in .github/workflows/build.yml. One line, no other changes.

Backport

  • Backported from: CI: bump cypress-io/github-action to v7.4.4 (fixes 'Socket closed before the connection was established') #1656 (dtq-dev, merged 2026-10-23), which bumped @v6 → @v7.4.4. customer/jcu was already on @v7.1.9, so the hunk differs but the target version is the same.
  • Compatibility: browser, start, wait-on and wait-on-timeout exist unchanged in v7.4.4's action.yml. The action runs on the runner's bundled Node, so the Node 20/22 matrix, setup-node and the Cypress version from package.json are not affected.
  • Manual test scenario: this PR's own CI run. The Run e2e tests (integration tests) step must get past wait-on and actually start Cypress. Because the bug is intermittent, one green run proves v7.4.4 works with our inputs, not that the flake is gone; a few scheduled runs on customer/jcu after merge will show that.

Problem

Every one of the last 10 scheduled Build runs on customer/jcu fails in Run e2e tests (integration tests) about a second after it starts, before any Cypress test runs:

waiting on "http://127.0.0.1:8080/server/api/core/sites, http://127.0.0.1:4000" with timeout of 120 seconds
##[error]Socket closed before the connection was established

#1657 (tests (20.x) and tests (22.x)) fails the same way for the same reason.

Cause

Upstream bug cypress-io/github-action#1873: the action's wait-on uses got@11, and on Node ≥ 24.20 (the runner's bundled Node, v24.21.0 on runner 2.338.0) a refused connection while SSR is still starting is raised as a fatal error instead of being retried. Fixed in v7.4.4 ("migrate from got@11 to got@16"). See #1656 for the full analysis.

Test evidence

No local test applies to a workflow file. Evidence is the CI run of this PR (see Manual test scenario).

Backport of #1656 (dtq-dev). v7.1.9 still bundles got@11, which on the
runner's Node >= 24.20 turns a refused connection during wait-on into a
fatal 'Socket closed before the connection was established' instead of
retrying (cypress-io/github-action#1873). Every scheduled run of
customer/jcu currently fails this way before any Cypress test starts.
v7.4.4 migrated to got@16; the action inputs we use are unchanged.
@vidiecan
vidiecan merged commit f6912d2 into customer/jcu Oct 24, 2026
5 checks passed
@vidiecan
vidiecan deleted the jcu/ci-cypress-action-v7.4.4 branch October 24, 2026 09:39
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