Skip to content

Conversation

@BYK
Copy link
Member

@BYK BYK commented Dec 10, 2025

Closes #18469 (added automatically)

@BYK BYK requested a review from Lms24 December 10, 2025 22:49
@github-actions
Copy link
Contributor

github-actions bot commented Dec 10, 2025

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 11,449 - 8,563 +34%
GET With Sentry 2,051 18% 1,711 +20%
GET With Sentry (error only) 7,768 68% 6,049 +28%
POST Baseline 1,204 - 1,193 +1%
POST With Sentry 612 51% 595 +3%
POST With Sentry (error only) 1,063 88% 1,035 +3%
MYSQL Baseline 4,052 - 3,211 +26%
MYSQL With Sentry 579 14% 481 +20%
MYSQL With Sentry (error only) 3,250 80% 2,604 +25%

View base workflow run

BYK added 2 commits December 11, 2025 00:08
- Update userAgent to match Chromium 141 in playwright-config.ts
- Filter out favicon resource spans in react-create-*-router tests
- Add retry logic for flaky navigation in browser-integration-tests
- Handle error status code navigation in astro-4/5 SSR error tests
@github-actions
Copy link
Contributor

github-actions bot commented Dec 11, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.81 kB - -
@sentry/browser - with treeshaking flags 23.3 kB - -
@sentry/browser (incl. Tracing) 41.55 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Profiling) 46.14 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay) 79.97 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.7 kB +0.01% +3 B 🔺
@sentry/browser (incl. Tracing, Replay with Canvas) 84.64 kB -0.01% -1 B 🔽
@sentry/browser (incl. Tracing, Replay, Feedback) 96.89 kB -0.01% -1 B 🔽
@sentry/browser (incl. Feedback) 41.52 kB -0.01% -1 B 🔽
@sentry/browser (incl. sendFeedback) 29.49 kB -0.01% -1 B 🔽
@sentry/browser (incl. FeedbackAsync) 34.48 kB -0.01% -1 B 🔽
@sentry/react 26.52 kB -0.01% -1 B 🔽
@sentry/react (incl. Tracing) 43.75 kB - -
@sentry/vue 29.27 kB -0.01% -1 B 🔽
@sentry/vue (incl. Tracing) 43.36 kB - -
@sentry/svelte 24.82 kB - -
CDN Bundle 27.24 kB - -
CDN Bundle (incl. Tracing) 42.23 kB -0.01% -1 B 🔽
CDN Bundle (incl. Tracing, Replay) 78.75 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 84.21 kB -0.01% -1 B 🔽
CDN Bundle - uncompressed 80.04 kB - -
CDN Bundle (incl. Tracing) - uncompressed 125.39 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 241.42 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 254.18 kB - -
@sentry/nextjs (client) 45.97 kB -0.01% -1 B 🔽
@sentry/sveltekit (client) 41.92 kB - -
@sentry/node-core 51.5 kB -0.01% -1 B 🔽
@sentry/node 159.81 kB - -
@sentry/node - without tracing 92.91 kB - -
@sentry/aws-serverless 108.44 kB -0.01% -1 B 🔽

View base workflow run

Pages that return HTTP error status codes now fail with
net::ERR_HTTP_RESPONSE_CODE_FAILURE in Playwright 1.56/Chromium 141
BYK added 2 commits December 11, 2025 09:22
The value 'chromium' is not a valid Playwright channel option.
Playwright uses the bundled Chromium by default when no channel is specified.
…ibility

Playwright 1.56+ changed how glob patterns work in page.route().
The release notes recommend using regular expressions instead.

This converts all 'https://dsn.ingest.sentry.io/**/*' glob patterns
to regex equivalents: /^https:\/\/dsn\.ingest\.sentry\.io\//
@BYK BYK requested a review from a team as a code owner December 11, 2025 10:24
@BYK BYK enabled auto-merge (squash) December 11, 2025 10:43
Comment on lines +14 to 18
// This page returns an error status code, so we need to catch the navigation error
await page.goto('/ssr-error').catch(() => {
// Expected to fail with net::ERR_HTTP_RESPONSE_CODE_FAILURE in newer Chromium versions
});

Copy link
Member

Choose a reason for hiding this comment

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

q: does playwright throw for requests with errors now?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is a Chromium behavior change in version 141 (bundled with Playwright 1.56). When navigating to a page that returns an HTTP error status code (4xx/5xx), Chromium now throws net::ERR_HTTP_RESPONSE_CODE_FAILURE.

This affects tests that intentionally navigate to error pages. The workaround is to catch the navigation error since we're testing the error handling behavior, not the navigation itself.

You can also use page.goto(url, { failOnStatusCode: false }) to suppress the error, but .catch() is more explicit about what's expected.

Copy link
Member

Choose a reason for hiding this comment

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

thanks for explaining. .catch sounds good to me then.

BYK added 2 commits December 11, 2025 12:56
The retry logic was added as a workaround when glob patterns weren't
matching. Now that we've converted to regex patterns, this is no longer
needed. Surfacing flakes is better than masking them with retries.
# Conflicts:
#	dev-packages/test-utils/package.json
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Thanks for following up on my review. Good to merge from my end!

@BYK BYK merged commit d4301fd into develop Dec 11, 2025
207 checks passed
@BYK BYK deleted the feat/upgrade-playwright-1.56 branch December 11, 2025 13:39
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.

chore: upgrade Playwright to ~1.56.0 for WSL2 compatibility

3 participants