Skip to content

test(e2e): Install test-utils from a tarball - #25402

Open
mydea wants to merge 2 commits into
chore/bump-playwright-1.64from
test/e2e-test-utils-tarball
Open

mydea wants to merge 2 commits into
chore/bump-playwright-1.64from
test/e2e-test-utils-tarball

Conversation

@mydea

@mydea mydea commented Oct 15, 2026

Copy link
Copy Markdown
Member

Test apps depended on @sentry-internal/test-utils via link:../../../test-utils. Its imports (express, ws) therefore resolved from the monorepo's root node_modules, so E2E jobs needed that restored even though the apps install everything else themselves.

test-utils is now packed like the SDK packages, and its tarball gets its own artifact so it can't end up among the release tarballs. Apps depend on it directly with file:../../packed/sentry-internal-test-utils-packed.tgz, so pnpm installs its dependencies into each app. It is also pinned through the pnpm overrides like the SDK packages, which is redundant but harmless.

Locally, changes to test-utils now need yarn build:tarball, as for the SDK packages.

Stacked on #25382. Replaces #25396, which GitHub closed as merged by accident during a restack.

🤖 Generated with Claude Code

@mydea
mydea added this pull request to stack #25405 October 15, 2026 12:55
@mydea
mydea force-pushed the test/e2e-test-utils-tarball branch from 5f86924 to 9637862 Compare October 15, 2026 14:28
@mydea
mydea force-pushed the test/e2e-test-utils-tarball branch from 9637862 to f2dbfe9 Compare October 16, 2026 07:35
mydea and others added 2 commits October 16, 2026 10:51
Test apps linked `@sentry-internal/test-utils` from the workspace, so its
dependencies (`express`, `ws`) resolved from the monorepo's root
`node_modules`. It is now packed like the SDK packages, and the apps depend on
its tarball in `packed/` directly, so pnpm installs its dependencies into each
app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mydea
mydea force-pushed the test/e2e-test-utils-tarball branch from f2dbfe9 to 05695c5 Compare October 16, 2026 08:52
@mydea
mydea marked this pull request as ready for review October 16, 2026 09:12
@mydea
mydea requested review from Lms24 and andreiborza October 16, 2026 09:12

This branch has not been deployed

No deployments
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.

3 participants