fix(ci): avoid browser e2e watcher#13987
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e67a9f7d57
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds best-effort file-descriptor (fd) diagnostics around the WASM browser E2E CI job to help debug intermittent EMFILE failures.
Changes:
- Print host-side fd limits/usage at job start for the wasm32-wasip1-threads target.
- Print container-side fd limits/usage before and after
pnpm run test:e2e-browser. - Preserve the original E2E test exit code while still running the post-test probe.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
📦 Binary Size-limit
🙈 Size remains the same at 61.96MB |
Rsdoctor Bundle Diff AnalysisFound 6 projects in monorepo, 2 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 popular-libsPath:
📦 Download Diff Report: popular-libs Bundle Diff 📁 ui-componentsPath:
📦 Download Diff Report: ui-components Bundle Diff Generated by Rsdoctor GitHub Action |
Merging this PR will not alter performance
Comparing Footnotes
|
Summary
Avoid the flaky browser e2e
EMFILEfailure by no longer starting Rsbuild's watch-based dev server in the PlaywrightwebServer.The browser e2e only needs to serve the built page once, so it now runs
rsbuild buildfollowed byrsbuild preview --port 8900. This avoids Chokidar/native watcher setup during CI and removes the temporary fd/ulimit debug logging from the workflow.Related failure: https://github.com/web-infra-dev/rspack/actions/runs/25654958179/job/75302142464?pr=13984
Validation
git diff --check.github/workflows/reusable-build-test.ymlas YAMLbash -nafter substituting the GitHub expression