Title: Consider adding integration tests for build code · Issue #5195 · getsentry/sentry-javascript · GitHub
Open Graph Title: Consider adding integration tests for build code · Issue #5195 · getsentry/sentry-javascript
X Title: Consider adding integration tests for build code · Issue #5195 · getsentry/sentry-javascript
Description: We have a good deal of code which concerns the creation of build artifacts, but none of it is tested in an end-to-end way. (Right now I'm thinking about all of our rollup config code and the withSentryConfig code in the nextjs SDK, which...
Open Graph Description: We have a good deal of code which concerns the creation of build artifacts, but none of it is tested in an end-to-end way. (Right now I'm thinking about all of our rollup config code and the withSe...
X Description: We have a good deal of code which concerns the creation of build artifacts, but none of it is tested in an end-to-end way. (Right now I'm thinking about all of our rollup config code and the wi...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5195
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Consider adding integration tests for build code","articleBody":"We have a good deal of code which concerns the creation of build artifacts, but none of it is tested in an end-to-end way.\r\n\r\n(Right now I'm thinking about all of our rollup config code and the `withSentryConfig` code in the nextjs SDK, which modifies the user's webpack config in order to change what's in their bundles, but there may be other places as well. The latter does have unit tests, but no integration tests, and the former has no tests at all.)\r\n\r\nWe should consider having integration tests which run the code and check the emitted artifacts for certain characteristics. For example, do the debug bundles actually contain logging statements? Do the non-debug bundles correctly omit them? Do artifacts end up where we think they should? etc etc.\r\n\r\nWhile we'd have to restrict it to fairly broad characterizations (both to prevent brittleness and to make sure that we're testing things which it's easy to check programmatically), it could at least protect against [obvious mistakes](https://github.com/getsentry/sentry-javascript/pull/5192). ","author":{"url":"https://github.com/lobsterkatie","@type":"Person","name":"lobsterkatie"},"datePublished":"2022-06-02T18:13:17Z","url":"https://github.com/getsentry/sentry-javascript/issues/5195"}
| 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:08623aa4-7eea-450d-3212-58a94e605fb1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B788:2F3E36:102956:163ADC:6B04B1AF |
| html-safe-nonce | 61f199ed2e3a0a4ddf6b56abb2355921b3d03a939139aebda32c092c123b446a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzg4OjJGM0UzNjoxMDI5NTY6MTYzQURDOjZCMDRCMUFGIiwidmlzaXRvcl9pZCI6IjM4NTg3ODE4MTM3NjE5NDYwMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c1c5a4b411217cc5da6c19cb505a81400af8c8c13d1fc0559aba1755f7398e33 |
| hovercard-subject-tag | issue:1258528993 |
| 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/5195/issue_layout |
| twitter:image | https://opengraph.githubassets.com/59c4562c9fb9cb2d625ee2c55222c89d1e421bdb7ebc0c0da5680d99b49930b7/getsentry/sentry-javascript/issues/5195 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/59c4562c9fb9cb2d625ee2c55222c89d1e421bdb7ebc0c0da5680d99b49930b7/getsentry/sentry-javascript/issues/5195 |
| og:image:alt | We have a good deal of code which concerns the creation of build artifacts, but none of it is tested in an end-to-end way. (Right now I'm thinking about all of our rollup config code and the withSe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lobsterkatie |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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