Skip to content

fix(e2e): stabilize no-isolate runs and harden stack parsing#849

Merged
9aoy merged 10 commits intomainfrom
ci-fix
Jan 9, 2026
Merged

fix(e2e): stabilize no-isolate runs and harden stack parsing#849
9aoy merged 10 commits intomainfrom
ci-fix

Conversation

@ScriptedAlchemy
Copy link
Copy Markdown
Contributor

@ScriptedAlchemy ScriptedAlchemy commented Jan 9, 2026

This PR stabilizes CI e2e runs without changing normal (isolated) behavior.

Changes

  • Avoid crashing while printing stack traces when sourcemap sources are not valid URLs.
  • Reduce flakiness in ISOLATE=false runs by capping worker concurrency.

Files

  • packages/core/src/utils/error.ts
  • e2e/rstest.config.ts

Copilot AI review requested due to automatic review settings January 9, 2026 04:04
@netlify
Copy link
Copy Markdown

netlify bot commented Jan 9, 2026

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 86c1ba4
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/6960cd2f281423000895194c
😎 Deploy Preview https://deploy-preview-849--rstest-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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes snapshot tests to normalize pnpm global store paths, making snapshots OS/host independent. The default path-serializer doesn't handle pnpm's global store structure, which varies across different systems.

Key Changes:

  • Added custom snapshot serializer that wraps the existing path-serializer
  • Implemented regex pattern to normalize pnpm global store paths to <ROOT>/node_modules/<PNPM_INNER>/... format
  • Enabled additional path normalization features (replaceHomeDir, replacePnpmInner, replaceTmpDir, transformWin32Path)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ScriptedAlchemy ScriptedAlchemy changed the title fix(test): normalize pnpm store paths in snapshots fix(ci): stabilize snapshots and e2e across environments Jan 9, 2026
@ScriptedAlchemy ScriptedAlchemy changed the title fix(ci): stabilize snapshots and e2e across environments fix(ci): stabilize snapshots and e2e determinism Jan 9, 2026
@9aoy
Copy link
Copy Markdown
Collaborator

9aoy commented Jan 9, 2026

It looks like some Rstest test cases are unstable on Windows with Node.js 20. I’ll create a PR to investigate and try to fix this. 😭

@ScriptedAlchemy ScriptedAlchemy changed the title fix(ci): stabilize snapshots and e2e determinism fix(e2e): stabilize no-isolate runs and harden stack parsing Jan 9, 2026
@9aoy 9aoy merged commit eea68d0 into main Jan 9, 2026
16 checks passed
@9aoy 9aoy deleted the ci-fix branch January 9, 2026 12:05
@9aoy
Copy link
Copy Markdown
Collaborator

9aoy commented Jan 9, 2026

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants