Title: Fix flaky doubleEndMethodOnVercel test · Issue #6784 · getsentry/sentry-javascript · GitHub
Open Graph Title: Fix flaky doubleEndMethodOnVercel test · Issue #6784 · getsentry/sentry-javascript
X Title: Fix flaky doubleEndMethodOnVercel test · Issue #6784 · getsentry/sentry-javascript
Description: Problem Statement The doubleEndMethodOnVercel test in the NextJS integration tests are flaky. See an example here: https://github.com/getsentry/sentry-javascript/actions/runs/3930047407/jobs/6719941317 This test was introduced here: #667...
Open Graph Description: Problem Statement The doubleEndMethodOnVercel test in the NextJS integration tests are flaky. See an example here: https://github.com/getsentry/sentry-javascript/actions/runs/3930047407/jobs/671994...
X Description: Problem Statement The doubleEndMethodOnVercel test in the NextJS integration tests are flaky. See an example here: https://github.com/getsentry/sentry-javascript/actions/runs/3930047407/jobs/671994...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6784
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix flaky doubleEndMethodOnVercel test","articleBody":"### Problem Statement\n\nThe `doubleEndMethodOnVercel` test in the NextJS integration tests are flaky. See an example here: https://github.com/getsentry/sentry-javascript/actions/runs/3930047407/jobs/6719941317\r\n\r\nThis test was introduced here: https://github.com/getsentry/sentry-javascript/pull/6674\r\n\r\n```\r\n[nextjs@10 | webpack@5] Running server tests with options: --silent\r\nX Scenario failed: doubleEndMethodOnVercel.js (line: 9)\r\n'' == '{\"success\":true}'\r\n✓ Scenario succeded: errorApiEndpoint.js\r\n✓ Scenario succeded: errorServerSideProps.js\r\n✓ Scenario succeded: excludedApiEndpoints.js\r\n✓ Scenario succeded: tracing200.js\r\n✓ Scenario succeded: tracing500.js\r\n✓ Scenario succeded: tracingServerGetInitialProps.js\r\n✓ Scenario succeded: tracingServerGetServerSideProps.js\r\n✓ Scenario succeded: tracingServerGetServerSidePropsCustomPageExtension.js\r\n✓ Scenario succeded: tracingWithSentryAPI.js\r\n✓ Scenario succeded: tracingHttp.js\r\n✓ Scenario succeded: cjsApiEndpoints.js\r\nX Some scenarios failed\r\n[nextjs@10 | webpack@5] Server integration tests failed\r\n[nextjs] Cleaning up...\r\n[nextjs] Test run complete\r\nerror Command failed with exit code 1.\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\nError: Process completed with exit code 1.\r\n```\n\n### Solution Brainstorm\n\nThis might be indicative of a deeper issue here, that the fix in https://github.com/getsentry/sentry-javascript/pull/6674 did not work. As such, it might require some more investigation into alternative wrapping strategies for `res.end`.","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2023-01-16T12:22:59Z","url":"https://github.com/getsentry/sentry-javascript/issues/6784"}
| 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:77416312-6aa9-9754-7451-6b20dd2036bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B332:A439B:1BB9BA3:248803B:6B04247D |
| html-safe-nonce | c7693399370b8842a686b4db2339a4f3b49b6e59465e98c87931849f8783b621 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzMyOkE0MzlCOjFCQjlCQTM6MjQ4ODAzQjo2QjA0MjQ3RCIsInZpc2l0b3JfaWQiOiIzOTc4MDc0MzQxNDI5NzQ4ODYxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 54d6dc5150d1d4c01e5600415d4459f6e783e89a591e455bc680222a03bef555 |
| hovercard-subject-tag | issue:1534847595 |
| 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/6784/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ae4e0e26132244ea9793820f3975d8a70714fe2e3050d307eb601372b1816033/getsentry/sentry-javascript/issues/6784 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ae4e0e26132244ea9793820f3975d8a70714fe2e3050d307eb601372b1816033/getsentry/sentry-javascript/issues/6784 |
| og:image:alt | Problem Statement The doubleEndMethodOnVercel test in the NextJS integration tests are flaky. See an example here: https://github.com/getsentry/sentry-javascript/actions/runs/3930047407/jobs/671994... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | f8d9f404447ab5df341c8a92cf5fc927730ad1321e64ac57656444d2438097f1 |
| 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 | f7edccce04851591ee529948701779ce6819bc53 |
| 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