Skip to content

fix(repo): re-enable Cypress HMR e2e tests after upstream tapable fix#35105

Merged
FrozenPandaz merged 1 commit into
masterfrom
fix/reenable-cypress-hmr-tests
Mar 31, 2026
Merged

fix(repo): re-enable Cypress HMR e2e tests after upstream tapable fix#35105
FrozenPandaz merged 1 commit into
masterfrom
fix/reenable-cypress-hmr-tests

Conversation

@FrozenPandaz

Copy link
Copy Markdown
Contributor

Current Behavior

Six e2e tests were skipped in #34969 because they were failing with a Cypress uncaught exception: [HMR] Hot Module Replacement is disabled. The error originated from the webpack styles.js bundle during the before each hook due to an upstream tapable issue (webpack/webpack#20693).

Skipped tests:

  • e2e-nx:e2e-ci--src/workspace-legacy.test.ts
  • e2e-react:e2e-ci--src/module-federation/independent-deployability.webpack.test.ts
  • e2e-react:e2e-ci--src/module-federation/core-webpack-basic-host-remote-generation.test.ts
  • e2e-react:e2e-ci--src/module-federation/misc-rspack-interoperability.test.ts
  • e2e-react:e2e-ci--src/module-federation/dynamic-federation.webpack.test.ts
  • e2e-react:e2e-ci--src/module-federation/federate-module.webpack.test.ts

Expected Behavior

The upstream tapable issue has been resolved (webpack/webpack#20693). All 6 tests should be re-enabled and passing.

Related Issue(s)

Upstream fix: webpack/webpack#20693
Reverts the skip from #34969

@FrozenPandaz FrozenPandaz requested a review from a team as a code owner March 31, 2026 20:25
@FrozenPandaz FrozenPandaz requested a review from MaxKless March 31, 2026 20:25
@netlify

netlify Bot commented Mar 31, 2026

Copy link
Copy Markdown

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit e7cfd49
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/69cc3cafbaa1140008269c61
😎 Deploy Preview https://deploy-preview-35105--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented Mar 31, 2026

Copy link
Copy Markdown

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit e7cfd49
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/69cc3caf01c87e0008e782b2
😎 Deploy Preview https://deploy-preview-35105--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@nx-cloud

nx-cloud Bot commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

View your CI Pipeline Execution ↗ for commit e7cfd49

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ❌ Failed 45m 42s View ↗
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 3s View ↗
nx-cloud record -- pnpm nx conformance:check ✅ Succeeded 7s View ↗
nx build workspace-plugin ✅ Succeeded <1s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-03-31 22:21:13 UTC

nx-cloud[bot]

This comment was marked as outdated.

The upstream webpack/tapable issue (webpack/webpack#20693) has been
resolved. Re-enable the 6 e2e tests that were skipped in #34969.
@FrozenPandaz FrozenPandaz force-pushed the fix/reenable-cypress-hmr-tests branch from be01441 to e7cfd49 Compare March 31, 2026 21:29
@FrozenPandaz FrozenPandaz enabled auto-merge (squash) March 31, 2026 21:47

@nx-cloud nx-cloud Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nx Cloud has identified a possible root cause for your failed CI:

We identified that the failing task e2e-react:e2e-ci--src/react-router-ts-solution.test.ts is unrelated to the changes in this PR, which only re-enable previously skipped Cypress HMR tests. The error — a TypeScript type incompatibility between [email protected] and [email protected] in a generated test workspace — has been confirmed to exist on master as well, indicating a pre-existing environment issue.

No code changes were suggested for this issue.

Trigger a rerun:

Rerun CI

Nx Cloud View detailed reasoning on Nx Cloud ↗

🔔 Heads up, your workspace has pending recommendations ↗ to auto-apply fixes for similar failures.


🎓 Learn more about Self-Healing CI on nx.dev

@FrozenPandaz FrozenPandaz disabled auto-merge March 31, 2026 23:32
@FrozenPandaz FrozenPandaz merged commit 7c3df37 into master Mar 31, 2026
20 of 23 checks passed
@FrozenPandaz FrozenPandaz deleted the fix/reenable-cypress-hmr-tests branch March 31, 2026 23:32
FrozenPandaz added a commit that referenced this pull request Mar 31, 2026
…#35105)

## Current Behavior

Six e2e tests were skipped in #34969 because they were failing with a
Cypress uncaught exception: `[HMR] Hot Module Replacement is disabled`.
The error originated from the webpack `styles.js` bundle during the
`before each` hook due to an upstream tapable issue
(webpack/webpack#20693).

Skipped tests:
- `e2e-nx:e2e-ci--src/workspace-legacy.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/independent-deployability.webpack.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/core-webpack-basic-host-remote-generation.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/misc-rspack-interoperability.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/dynamic-federation.webpack.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/federate-module.webpack.test.ts`

## Expected Behavior

The upstream tapable issue has been resolved (webpack/webpack#20693).
All 6 tests should be re-enabled and passing.

## Related Issue(s)

Upstream fix: webpack/webpack#20693
Reverts the skip from #34969
vsavkin pushed a commit that referenced this pull request Apr 1, 2026
…#35105)

## Current Behavior

Six e2e tests were skipped in #34969 because they were failing with a
Cypress uncaught exception: `[HMR] Hot Module Replacement is disabled`.
The error originated from the webpack `styles.js` bundle during the
`before each` hook due to an upstream tapable issue
(webpack/webpack#20693).

Skipped tests:
- `e2e-nx:e2e-ci--src/workspace-legacy.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/independent-deployability.webpack.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/core-webpack-basic-host-remote-generation.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/misc-rspack-interoperability.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/dynamic-federation.webpack.test.ts`
-
`e2e-react:e2e-ci--src/module-federation/federate-module.webpack.test.ts`

## Expected Behavior

The upstream tapable issue has been resolved (webpack/webpack#20693).
All 6 tests should be re-enabled and passing.

## Related Issue(s)

Upstream fix: webpack/webpack#20693
Reverts the skip from #34969
@github-actions

github-actions Bot commented Apr 6, 2026

Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HMR broken with separate styles entry after tapable 2.3.1

2 participants