Skip to content

test(enhanced): harden treeshake fixture setup for CI flake#4441

Merged
ScriptedAlchemy merged 2 commits intomainfrom
fix/enhanced-treeshake-ci-hardening
Feb 14, 2026
Merged

test(enhanced): harden treeshake fixture setup for CI flake#4441
ScriptedAlchemy merged 2 commits intomainfrom
fix/enhanced-treeshake-ci-hardening

Conversation

@ScriptedAlchemy
Copy link
Copy Markdown
Member

Summary

  • harden reshake fixture bootstrap for tree-shaking-share cases
  • serialize treeshake rstest config cases and add guarded recompilation path for missing generated shared fixtures
  • add diagnostics/recovery for the known flaky Cannot find module ...tree-shaking-share...node_modules... failure

Validation

  • NODE_OPTIONS="--experimental-vm-modules --max-old-space-size=24576" npx rstest -c packages/enhanced/rstest.treeshake.serial.config.ts

Context

This targets the flaky checkout-install failure mode where enhanced:test intermittently fails in CI due to reshake-share fixture module path misses.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Feb 14, 2026

⚠️ No Changeset found

Latest commit: 330f9d5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 14, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 330f9d5
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/6990d5e499704400082ead58
😎 Deploy Preview https://deploy-preview-4441--module-federation-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.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Feb 14, 2026

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/devtools@4441

@module-federation/cli

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/cli@4441

create-module-federation

pnpm add https://pkg.pr.new/module-federation/core/create-module-federation@4441

@module-federation/data-prefetch

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/data-prefetch@4441

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/dts-plugin@4441

@module-federation/enhanced

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/enhanced@4441

@module-federation/error-codes

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/error-codes@4441

@module-federation/managers

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/managers@4441

@module-federation/manifest

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/manifest@4441

@module-federation/metro

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro@4441

@module-federation/metro-plugin-rnc-cli

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro-plugin-rnc-cli@4441

@module-federation/metro-plugin-rnef

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/metro-plugin-rnef@4441

@module-federation/modern-js-v3

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/modern-js-v3@4441

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/retry-plugin@4441

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rsbuild-plugin@4441

@module-federation/rspack

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rspack@4441

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/rspress-plugin@4441

@module-federation/runtime

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime@4441

@module-federation/runtime-core

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime-core@4441

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/runtime-tools@4441

@module-federation/sdk

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/sdk@4441

@module-federation/third-party-dts-extractor

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/third-party-dts-extractor@4441

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/treeshake-frontend@4441

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/treeshake-server@4441

@module-federation/webpack-bundler-runtime

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/webpack-bundler-runtime@4441

@module-federation/bridge-react

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-react@4441

@module-federation/bridge-react-webpack-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-react-webpack-plugin@4441

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-shared@4441

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/bridge-vue3@4441

@module-federation/inject-external-runtime-core-plugin

pnpm add https://pkg.pr.new/module-federation/core/@module-federation/inject-external-runtime-core-plugin@4441

commit: 330f9d5

@github-actions
Copy link
Copy Markdown
Contributor

Bundle Size Report

No bundle size changes detected.

Total dist: 6.66 MB (no change)
Total ESM gzip: 138.1 kB (no change)

@ScriptedAlchemy ScriptedAlchemy merged commit e5d0148 into main Feb 14, 2026
26 checks passed
@ScriptedAlchemy ScriptedAlchemy deleted the fix/enhanced-treeshake-ci-hardening branch February 14, 2026 20:35
@ScriptedAlchemy ScriptedAlchemy restored the fix/enhanced-treeshake-ci-hardening branch February 15, 2026 00:53
@2heal1 2heal1 mentioned this pull request Mar 5, 2026
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