Title: [Flaky CI]: Node (20.19) Unit Tests - bundler-plugins webpack release-injection test times out · Issue #26169 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Flaky CI]: Node (20.19) Unit Tests - bundler-plugins webpack release-injection test times out · Issue #26169 · getsentry/sentry-javascript
X Title: [Flaky CI]: Node (20.19) Unit Tests - bundler-plugins webpack release-injection test times out · Issue #26169 · getsentry/sentry-javascript
Description: Flakiness Type Timeout Name of Job CI: Build & Test / Node (20.19) Unit Tests Name of Test packages/bundler-plugins/test/webpack/release-injection.test.ts > release injection > injects the release only into initial chunks Link to Test Ru...
Open Graph Description: Flakiness Type Timeout Name of Job CI: Build & Test / Node (20.19) Unit Tests Name of Test packages/bundler-plugins/test/webpack/release-injection.test.ts > release injection > injects the release ...
X Description: Flakiness Type Timeout Name of Job CI: Build & Test / Node (20.19) Unit Tests Name of Test packages/bundler-plugins/test/webpack/release-injection.test.ts > release injection > injects th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/26169
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Flaky CI]: Node (20.19) Unit Tests - bundler-plugins webpack release-injection test times out","articleBody":"### Flakiness Type\n\nTimeout\n\n### Name of Job\n\nCI: Build & Test / Node (20.19) Unit Tests\n\n### Name of Test\n\npackages/bundler-plugins/test/webpack/release-injection.test.ts > release injection > injects the release only into initial chunks\n\n### Link to Test Run\n\nhttps://github.com/getsentry/sentry-javascript/actions/runs/42188464735\n\n### Details\n\nThis test is behind most of the recent `CI: Build & Test` failures on `develop`. In the ten failed runs I checked from Nov 4–6, it caused seven of them, each time in `Node (20.19) Unit Tests` with the same error:\n\n```\nFAIL test/webpack/release-injection.test.ts > release injection > injects the release only into initial chunks\nError: Test timed out in 5000ms.\n```\n\nRuns: 42188464735, 42055973186, 42045166700, 42042016355, 42031821109, 42013442725, 42003938812. All other tests in the job pass.\n\nThe test (added in #25541) runs a full `mode: 'production'` webpack build, including minification, within Vitest's default 5s timeout. That's close to the limit on the Node 20 runner. `child-compiler.test.ts` next to it runs the same kind of production build and already sets `{ timeout: 15_000 }`.\n\nLocally (Windows 11, 5 runs each, test duration only), warm runs finish in 1.5–2.2s on both Node 20.19.0 and 24, but cold runs are much slower: the first runs on Node 20.19.0 took **28.0s** and **14.1s**, and the first run on Node 24 took 4.6s. A fresh CI runner is always cold, which fits the 5s timeouts above.\n\nI also tried `optimization: { minimize: false }`. The assertions still pass unminified, but warm runs were only slightly faster (1.1–2.2s), so I don't think minification alone explains the timeouts. The simplest fix is to give this test the same timeout as its sibling:\n\n```ts\nit('injects the release only into initial chunks', { timeout: 15_000 }, async () => {\n```\n\nHappy to open a PR for this if that works for you.\n","author":{"url":"https://github.com/adityankale190895","@type":"Person","name":"adityankale190895"},"datePublished":"2026-11-06T10:37:34Z","url":"https://github.com/getsentry/sentry-javascript/issues/26169"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:688769b9-6fdb-4b94-d32a-65c03d7095ac |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85D0:39B4E5:1DE5F4F:2729B41:6B0412DF |
| html-safe-nonce | a37c13cce64961d749fa00b7d684a6127d4a1a61f2ffc7eb0311de723426dc8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUQwOjM5QjRFNToxREU1RjRGOjI3MjlCNDE6NkIwNDEyREYiLCJ2aXNpdG9yX2lkIjoiNjc5NjgxMDY3MTQxMDY0Nzc3NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5a22a344ca83159baac95490b80d74026d99f6a2a2f8836b1941444c2af22a20 |
| hovercard-subject-tag | issue:6241138138 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/26169/issue_layout |
| twitter:image | https://opengraph.githubassets.com/44437bf09c8f7f81ac0e43981147f3f3c0b0b59f35a3c435771dda717d88e59e/getsentry/sentry-javascript/issues/26169 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/44437bf09c8f7f81ac0e43981147f3f3c0b0b59f35a3c435771dda717d88e59e/getsentry/sentry-javascript/issues/26169 |
| og:image:alt | Flakiness Type Timeout Name of Job CI: Build & Test / Node (20.19) Unit Tests Name of Test packages/bundler-plugins/test/webpack/release-injection.test.ts > release injection > injects the release ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adityankale190895 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width