Skip to content

ci: Share the E2E test setup between build.yml and optional-e2e.yml - #25616

Merged
andreiborza merged 1 commit into
ab/optional-e2e-workflowfrom
ab/prepare-e2e-test-action
Oct 21, 2026
Merged

andreiborza merged 1 commit into
ab/optional-e2e-workflowfrom
ab/prepare-e2e-test-action

Conversation

@mydea

@mydea mydea commented Oct 21, 2026

Copy link
Copy Markdown
Member

Stacked on #25548.

The optional E2E workflow copied most of `job_e2e_tests` from build.yml, so the two could drift apart. The steps that prepare a test application (runtimes, artifact downloads including the AWS ones, prepare/validate, copy to temp, pnpm overrides) now live in `.github/actions/prepare-e2e-test`. The action downloads from the current run by default; optional-e2e.yml passes the build.yml run ID and a token instead.

Installing Playwright, building and running the test stay in the workflows: Playwright installs as a background step, and a composite action cannot declare background steps.

🤖 Generated with Claude Code

Moves the steps that prepare a test application into a composite action, so the required and optional E2E jobs
cannot drift apart. Playwright, the build and the test run stay in the workflows, because a composite action cannot
declare background steps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mydea
mydea added this pull request to stack #25617 October 21, 2026 12:39
@github-actions

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 98df61f (PR test merge using ab/optional-e2e-workflow at 9350429)

Against: 5e2b904 (ab/optional-e2e-workflow) · base run #62910

⚠️ Baseline mismatch: 6 ab/optional-e2e-workflow commit(s) in the PR build are missing from the baseline. Their size changes also affect this comparison. Compare commits. Re-run once ab/optional-e2e-workflow's baseline build for 9350429 finishes.

Path Size % Change Change
@sentry/browser 29.91 kB - -
@sentry/browser - with treeshaking flags 28.05 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.95 kB - -
@sentry/browser (incl. Tracing) 52.1 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.1 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.05 kB - -
@sentry/browser (incl. Tracing, Replay) 91.85 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 80.72 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 96.58 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 109.52 kB - -
@sentry/browser (incl. Feedback) 47.42 kB - -
@sentry/browser (incl. sendFeedback) 34.97 kB - -
@sentry/browser (incl. FeedbackAsync) 40.07 kB - -
@sentry/browser (incl. Metrics) 30.93 kB - -
@sentry/browser (incl. Logs) 31.21 kB - -
@sentry/browser (incl. Metrics & Logs) 31.84 kB - -
@sentry/react 31.73 kB - -
@sentry/react (incl. Tracing) 54.41 kB - -
@sentry/vue 38.07 kB - -
@sentry/vue (incl. Tracing) 55.03 kB - -
@sentry/svelte 29.93 kB - -
@sentry/remix (Remix 3 client bundle) 57.11 kB - -
CDN Bundle 31.67 kB - -
CDN Bundle (incl. Tracing) 52.61 kB - -
CDN Bundle (incl. Logs, Metrics) 33.87 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 54.55 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.79 kB - -
CDN Bundle (incl. Tracing, Replay) 90.28 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 92.21 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 96.42 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 98.37 kB - -
CDN Bundle - uncompressed 93.29 kB - -
CDN Bundle (incl. Tracing) - uncompressed 156.14 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 99.84 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 162.11 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.88 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 276.31 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 282.26 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 290.01 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 295.96 kB - -
@sentry/nextjs (client) 57.31 kB - -
@sentry/sveltekit (client) 52.48 kB - -
@sentry/core/server 41.8 kB - -
@sentry/core/browser 13.81 kB - -
@sentry/node 155.32 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 84.06 kB - -
@sentry/node - without tracing 96.95 kB - -
@sentry/node - without channel injection 133.3 kB - -
@sentry/aws-serverless 105.13 kB +0.01% +1 B 🔺
@sentry/cloudflare (withSentry) - minified 211.11 kB - -
@sentry/cloudflare (withSentry) 523.83 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 230.74 kB - -

View base workflow run

@andreiborza andreiborza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice, good idea to split this up.

@mydea
mydea marked this pull request as ready for review October 21, 2026 12:57
@andreiborza
andreiborza merged commit 5e5b998 into develop Oct 21, 2026
688 of 693 checks passed
@andreiborza
andreiborza deleted the ab/prepare-e2e-test-action branch October 21, 2026 13:02
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.

2 participants