Skip to content

fix(ci): keep Cypress readiness checks working on Node 24 - #4387

Merged
olemartinorg merged 1 commit into
mainfrom
codex/fix-cypress-node24-readiness
Oct 21, 2026
Merged

olemartinorg merged 1 commit into
mainfrom
codex/fix-cypress-node24-readiness

Conversation

@olemartinorg

@olemartinorg olemartinorg commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Description

Cypress CI can now wait for the frontend server to start on GitHub runner 2.338.0. That runner upgrades the action's Node runtime from 24.19.0 to 24.21.0, exposing a bug in the HTTP client bundled with Cypress action v7.3.0. The readiness check fails immediately with Socket closed before the connection was established, before tests run.

Update all three action references to SHA-pinned v7.4.4, which includes the upstream fix. Both main and release/v4.35 use the affected pin.

Related Issue(s)

Verification/QA

  • Manual functionality testing

    • I have tested these changes manually
    • Creator of the original issue (or service owner) has been contacted for manual testing (or will be contacted when released in alpha)
    • No testing done/necessary
  • Automated tests

    • Unit test(s) have been added/updated
    • Cypress E2E test(s) have been added/updated
    • No automatic tests are needed here (no functional changes/additions)
    • I want someone to help me make some tests
  • UU/WCAG (follow these guidelines until we have our own)

    • I have tested with a screen reader/keyboard navigation/automated wcag validator
    • No testing done/necessary (no DOM/visual changes)
    • I want someone to help me perform accessibility testing
  • User documentation @ altinn-studio-docs

    • Has been added/updated

    • No functionality has been changed/added, so no documentation is needed

    • I will do that later/have created an issue

  • Support in Altinn Studio

    • Issue(s) created for support in Studio

    • This change/feature does not require any changes to Altinn Studio

  • Sprint board

    • The original issue (or this PR itself) has been added to the Team Apps project and to the current sprint board
    • I don't have permissions to do that, please help me out
  • Labels

    • I have added a kind/* and backport* label to this PR for proper release notes grouping
    • I don't have permissions to add labels, please help me out

Summary by CodeRabbit

  • Chores
    • Updated Cypress testing workflows to use version 7.4.4 for installation and test execution.

Runner 2.338.0 upgrades the action runtime from Node 24.19.0 to
24.21.0. The got@11 client in Cypress action v7.3.0 crashes on an
initial refused connection with Node 24.20.0 and later, before
http-server can start.

Update all three action references to SHA-pinned v7.4.4, which
fixes the readiness check by upgrading got.

Upstream: cypress-io/github-action#1874
@olemartinorg olemartinorg added kind/bug Something isn't working ignore-for-release Pull requests to be ignored in release notes backport This PR should be cherry-picked onto older release branches backport-ignore This PR is a new feature and should not be cherry-picked onto release branches approve You approve this PR. Use when: - Small changes - Already agreed upon - Async review and removed backport This PR should be cherry-picked onto older release branches labels Oct 21, 2026
@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 6a7d22e9-1e76-47aa-8d89-187a9c20f5ad
📥 Commits

Reviewing files that changed from the base of the PR and between 52e4099 and 2a670fa.

📒 Files selected for processing: 1
  • .github/workflows/cypress.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The Cypress install, internal-run, and external-run jobs now reference Cypress GitHub Action v7.4.4 instead of v7.3.0.

Changes: Cypress workflow

Layer / File(s) Summary
Update Cypress action references
.github/workflows/cypress.yml
The install, internal-run, and external-run jobs now use Cypress GitHub Action v7.4.4.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 2a670

The workflow-only version updates present no identified merge-blocking risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly identifies the CI fix and explains the main change: keeping Cypress readiness checks working with Node 24.
Description check Passed The description explains the failure, affected Cypress action references, upstream fix, affected branches, and verification decisions. It follows the required sections. The related issue section lists…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the failure, affected Cypress action references, upstream fix, affected branches, and verification decisions. It follows the required sections. The related issue section lists relevant links but does not use the requested closing-issue format, and sprint-board and label status remain unchecked.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches: 💡 1
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@olemartinorg
olemartinorg merged commit cd18b44 into main Oct 21, 2026
22 of 25 checks passed
@olemartinorg
olemartinorg deleted the codex/fix-cypress-node24-readiness branch October 21, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approve You approve this PR. Use when: - Small changes - Already agreed upon - Async review backport-ignore This PR is a new feature and should not be cherry-picked onto release branches ignore-for-release Pull requests to be ignored in release notes kind/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant