GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci(e2e): Run E2E tests without restoring the monorepo's node_modules by mydea · Pull Request #25371 · getsentry/sentry-javascript

Conversation

@mydea

@mydea mydea commented Oct 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Each E2E job restored the full ~860 MB root dependency cache and the build output (about 33s per job, ~2.5 runner-hours per CI run) only to run a few tsx scripts and to resolve the linked @sentry-internal/test-utils. E2E jobs now only download tarballs.

The blocker was test-utils: apps depend on it via link:, so its imports (express, ws) resolved from the monorepo's root node_modules. It is now packed like the SDK packages and pinned through the pnpm overrides the E2E setup already writes, so app package.json files stay unchanged and pnpm installs its dependencies into each app. It goes into its own artifact so it can't end up among the release tarballs.

The E2E scripts are now plain .mjs files without dependencies. They run under each app's pinned Node (down to 20.19), which rules out Node's type stripping. With run.ts converted too, the package no longer needs tsx, dotenv, glob, esbuild or a tsconfig (lint:ts never ran in CI).

Since #25380 the Playwright install reads its version from the app's package.json, so it doesn't need the root node_modules either. aws-serverless still downloads the build output, since its Lambda stack installs the built package directories.

This also fixes the on-failure dump normalization step, which has never matched anything in CI: it searched the repo's test-applications/ while apps run in the runner's temp directory.

Stacked on #25384.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cursor[bot]
cursor Bot reviewed Oct 14, 2026
View reviewed changes

@cursor cursor Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit d16ed93. Configure here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread dev-packages/test-utils/package.json Resolved

Uh oh!

There was an error while loading. Please reload this page.

@mydea
mydea force-pushed the ci/e2e-without-root-node-modules branch from d16ed93 to f3d3a76 Compare October 15, 2026 07:43
@mydea
mydea changed the base branch from develop to ci/playwright-background-installs October 15, 2026 07:43
@mydea
mydea added this pull request to stack #25385 October 15, 2026 07:44
@mydea
mydea force-pushed the ci/e2e-without-root-node-modules branch from f3d3a76 to 7244f57 Compare October 15, 2026 11:36
@mydea
mydea removed this pull request from stack #25385 October 15, 2026 11:37
@mydea
mydea added this pull request to stack #25392 October 15, 2026 11:37
@mydea mydea mentioned this pull request Oct 15, 2026
test(e2e): Remove event dumps and their normalization script #25393
Merged
@mydea
mydea force-pushed the ci/e2e-without-root-node-modules branch from 7244f57 to c7e9bed Compare October 15, 2026 11:58
@mydea
mydea removed this pull request from stack #25392 October 15, 2026 11:58
@mydea
mydea changed the base branch from ci/playwright-background-installs to test/e2e-test-utils-tarball October 15, 2026 11:58
@mydea
mydea added this pull request to stack #25397 October 15, 2026 11:58
@mydea
mydea force-pushed the ci/e2e-without-root-node-modules branch from c7e9bed to 091053c Compare October 15, 2026 12:03
mydea and others added 2 commits October 15, 2026 14:50
@mydea @claude
ci(e2e): Run E2E tests without restoring the monorepo's node_modules
fb315a6
E2E jobs restored the ~860 MB root dependency cache and the full build
output only to run a few tsx scripts and to resolve the linked
test-utils package. The scripts are now plain .mjs files without
dependencies, and test-utils is installed from a tarball like the SDK
packages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mydea @claude
ref(e2e): Drop TypeScript and unused dependencies from e2e-tests
64925fb
With all scripts as plain .mjs files, the local runner no longer needs
tsx, dotenv or glob. esbuild was unused. Type checking of this package
was never run in CI, so it no longer has a tsconfig; the JSDoc types
are kept for editors.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mydea
mydea force-pushed the ci/e2e-without-root-node-modules branch from 091053c to 64925fb Compare October 15, 2026 12:51
Base automatically changed from test/e2e-test-utils-tarball to ci/playwright-background-installs October 15, 2026 12:51
@mydea
mydea merged commit 64925fb into develop Oct 15, 2026
@mydea
mydea deleted the ci/e2e-without-root-node-modules branch October 15, 2026 12:51
@mydea
mydea restored the ci/e2e-without-root-node-modules branch October 15, 2026 12:53
@mydea mydea mentioned this pull request Oct 15, 2026
ci(e2e): Run E2E tests without restoring the monorepo's node_modules #25403
Merged
mydea added a commit that referenced this pull request Oct 19, 2026
@mydea @claude
ci(e2e): Run E2E tests without restoring the monorepo's node_modules (#…
8a4a95d
…25403)

Each E2E job restored the full ~860 MB root dependency cache and the
build output (about 33s per job, ~2.5 runner-hours per CI run) only to
run a few `tsx` scripts and to resolve `@sentry-internal/test-utils`.
Since #25402 installs test-utils from a tarball, E2E jobs now only
download tarballs.

The E2E scripts are now plain `.mjs` files without dependencies. They
run under each app's pinned Node (down to 20.19), which rules out Node's
type stripping. With `run.ts` converted too, the package no longer needs
`tsx`, `dotenv`, `glob`, `esbuild` or a tsconfig (`lint:ts` never ran in
CI).

Since #25380 the Playwright install reads its version from the app's
`package.json`, so it doesn't need the root `node_modules` either. Since
#25334, `install-pnpm` takes pnpm from the root `node_modules` too, so
the E2E jobs install the root `devDependencies` version with
`pnpm/action-setup` instead. Other workflows and local runs keep getting
pnpm through `yarn.lock`. `aws-serverless` still downloads the build
output, since its Lambda stack installs the built package directories.

Stacked on #25402. Replaces #25371, which GitHub closed as merged by
accident during a restack. Its review history is still there.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@mydea
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.