René's URL Explorer Experiment


Title: `release.inject` gives startup chunks new file names on every commit · Issue #26485 · getsentry/sentry-javascript · GitHub

Open Graph Title: `release.inject` gives startup chunks new file names on every commit · Issue #26485 · getsentry/sentry-javascript

X Title: `release.inject` gives startup chunks new file names on every commit · Issue #26485 · getsentry/sentry-javascript

Description: Problem Statement release.inject defaults to true, and release.name defaults to the current commit. So every chunk that gets the release snippet gets a new content hash on every commit, even when its code did not change. Since #25541 thi...

Open Graph Description: Problem Statement release.inject defaults to true, and release.name defaults to the current commit. So every chunk that gets the release snippet gets a new content hash on every commit, even when i...

X Description: Problem Statement release.inject defaults to true, and release.name defaults to the current commit. So every chunk that gets the release snippet gets a new content hash on every commit, even when i...

Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/26485

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`release.inject` gives startup chunks new file names on every commit","articleBody":"### Problem Statement\n\n`release.inject` defaults to `true`, and `release.name` defaults to the current commit. So every chunk that gets the release snippet gets a new content hash on every commit, even when its code did not change.\n\nSince #25541 this only hits startup chunks, but those are exactly the files every returning visitor needs first. Other chunks import them by their hashed file names, so the renames spread from there.\n\nOn `@sentry/nuxt` 10.47, a deploy that changed one image renamed 140 of 147 client files. `release: { inject: false }` fixed it.\n\nThis is a very weird default. A bundler plugin should not break the bundler's content hashing unless you ask it to, and most users will never notice that every deploy throws away their users' cache.\n\n### Solution Brainstorm\n\n- Keep the release out of content-hashed files: inject it into the HTML (`transformIndexHtml` in Vite, the HTML plugin in webpack) or into one small unhashed file.\n- Or default `release.inject` to `false` when the SDK already gets the release some other way (`Sentry.init({ release })`, framework runtime config).\n- Either way, document the caching cost on `release.inject`.\n\nDebug IDs are not the problem: they come from the file content, so they don't change the hashes.\n\n### Additional Context\n\nSame problem in the old repo: https://github.com/getsentry/sentry-javascript-bundler-plugins/issues/680 (closed, but people still hit it there).\n\nWorkaround: `release: { inject: false }`, and pass `release` to `Sentry.init` at runtime.\n","author":{"url":"https://github.com/AI091","@type":"Person","name":"AI091"},"datePublished":"2026-11-17T13:26:03Z","url":"https://github.com/getsentry/sentry-javascript/issues/26485"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8a529d72-6e40-9964-a15e-726d3ddd4c9b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE4E6:1F35:993642:D5F470:6B0438EC
html-safe-nonce0af9aac2edcd4de4795f5eaa5437877c30b9e5a9ce8ef56e2bff381d87c7ce24
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEU2OjFGMzU6OTkzNjQyOkQ1RjQ3MDo2QjA0MzhFQyIsInZpc2l0b3JfaWQiOiIyMjU1MTI4MDY3MjQyNzM1ODUyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacf239bfc5e51155d546bb30a46134e562540bf67240483fbf4ad4d82165afcb5e
hovercard-subject-tagissue:6445590265
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/26485/issue_layout
twitter:imagehttps://opengraph.githubassets.com/28b9438216e81c2b19dbb0982acbd562692cf64429f5c2958af452fc51bdf507/getsentry/sentry-javascript/issues/26485
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/28b9438216e81c2b19dbb0982acbd562692cf64429f5c2958af452fc51bdf507/getsentry/sentry-javascript/issues/26485
og:image:altProblem Statement release.inject defaults to true, and release.name defaults to the current commit. So every chunk that gets the release snippet gets a new content hash on every commit, even when i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAI091
hostnamegithub.com
expected-hostnamegithub.com
None9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release06dc448a76fe4751ac1db26524aefa3aa3e889a8
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/issues/26485#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F26485
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fissues%2F26485
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript
Reloadhttps://github.com/getsentry/sentry-javascript/issues/26485
Reloadhttps://github.com/getsentry/sentry-javascript/issues/26485
Reloadhttps://github.com/getsentry/sentry-javascript/issues/26485
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues340 (340)https://github.com/getsentry/sentry-javascript/issues
Pull requests55 (55)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/26485
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/26485
release.inject gives startup chunks new file names on every commithttps://github.com/getsentry/sentry-javascript/issues/26485#top
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
https://github.com/AI091
AI091https://github.com/AI091
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485#issue-6445590265
#25541https://github.com/getsentry/sentry-javascript/pull/25541
getsentry/sentry-javascript-bundler-plugins#680https://github.com/getsentry/sentry-javascript-bundler-plugins/issues/680
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485#event-36408967774
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485#issuecomment-6949371154
Linear Codehttps://linear.app
JS-4110https://linear.app/getsentry/issue/JS-4110
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485#event-36408974810
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485
linear-codehttps://github.com/apps/linear-code
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485#event-36409047629
https://github.com/isaacs
isaacshttps://github.com/isaacs
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485#issuecomment-6955522230
#25541https://github.com/getsentry/sentry-javascript/pull/25541
getsantryhttps://github.com/apps/getsantry
Waiting for: Product Ownerhttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Waiting%20for%3A%20Product%20Owner%22
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485#event-36434453606
getsantryhttps://github.com/apps/getsantry
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485
sentry-juniorhttps://github.com/apps/sentry-junior
on Nov 17, 2026https://github.com/getsentry/sentry-javascript/issues/26485#event-36437396415
fix(nuxt): Pass the client release through runtime confighttps://github.com/getsentry/sentry-javascript/commit/df77938bd79afa697a0d63c320254cac8ee68abd
df77938https://github.com/getsentry/sentry-javascript/commit/df77938bd79afa697a0d63c320254cac8ee68abd
fix(astro): Deliver the release to the browser through the page HTMLhttps://github.com/getsentry/sentry-javascript/commit/b0f386fa209095a024d24ebb001711cee17550b2
b0f386fhttps://github.com/getsentry/sentry-javascript/commit/b0f386fa209095a024d24ebb001711cee17550b2
fix(react-router): Pass the release to the browser in the pagehttps://github.com/getsentry/sentry-javascript/commit/f368a7e58f513796a57203c61f719906b5909368
f368a7ehttps://github.com/getsentry/sentry-javascript/commit/f368a7e58f513796a57203c61f719906b5909368
fix(nextjs): Deliver the release at runtime with `release.inject: false`https://github.com/getsentry/sentry-javascript/commit/c59f113ade74c517fa0ed43c1709084089c22ca3
c59f113https://github.com/getsentry/sentry-javascript/commit/c59f113ade74c517fa0ed43c1709084089c22ca3
feat(webpack-plugin): Add `release.inject: 'html'` to keep chunk hash…https://github.com/getsentry/sentry-javascript/commit/fdae05e9b34d1e91e4ff8a3477b61c5fc915b67c
fdae05ehttps://github.com/getsentry/sentry-javascript/commit/fdae05e9b34d1e91e4ff8a3477b61c5fc915b67c
fix(solidstart): Deliver the release to the browser through the pagehttps://github.com/getsentry/sentry-javascript/commit/fdbab023b85aee0b34d7ba2a9bb336a12e4774f9
fdbab02https://github.com/getsentry/sentry-javascript/commit/fdbab023b85aee0b34d7ba2a9bb336a12e4774f9
fix(solidstart): Deliver the release to the browser through the pagehttps://github.com/getsentry/sentry-javascript/commit/22d336a9b4b80383bf87e0f7a356bdd164fb134a
22d336ahttps://github.com/getsentry/sentry-javascript/commit/22d336a9b4b80383bf87e0f7a356bdd164fb134a
isaacshttps://github.com/isaacs
on Nov 18, 2026https://github.com/getsentry/sentry-javascript/issues/26485#event-36556107109
docs(bundler-plugins): Document the caching cost of `release.inject` (#…https://github.com/getsentry/sentry-javascript/commit/47aec5e8b0d2bc8addfa2b878fb76346b5e81e66
#…https://github.com/getsentry/sentry-javascript/pull/26499
47aec5ehttps://github.com/getsentry/sentry-javascript/commit/47aec5e8b0d2bc8addfa2b878fb76346b5e81e66
feat(bundler-plugins): Export `resolveReleaseName` (#26500)https://github.com/getsentry/sentry-javascript/commit/b442e61d3528feb204725004845fc9af3fd78981
#26500https://github.com/getsentry/sentry-javascript/pull/26500
b442e61https://github.com/getsentry/sentry-javascript/commit/b442e61d3528feb204725004845fc9af3fd78981
fix(nuxt): Pass the client release through runtime config (#26503)https://github.com/getsentry/sentry-javascript/commit/86062470211721d821b5133110c02cc4a087bed5
#26503https://github.com/getsentry/sentry-javascript/pull/26503
8606247https://github.com/getsentry/sentry-javascript/commit/86062470211721d821b5133110c02cc4a087bed5
fix(sveltekit): Deliver the release through the page instead of clien…https://github.com/getsentry/sentry-javascript/commit/2dc64fd7307e7be63f595a31c1c4c9dcf329d1a5
2dc64fdhttps://github.com/getsentry/sentry-javascript/commit/2dc64fd7307e7be63f595a31c1c4c9dcf329d1a5
fix(astro): Deliver the release to the browser through the page HTML (#…https://github.com/getsentry/sentry-javascript/commit/f89bb74f57945194dde62ac5e9144843c0965e11
#…https://github.com/getsentry/sentry-javascript/pull/26506
f89bb74https://github.com/getsentry/sentry-javascript/commit/f89bb74f57945194dde62ac5e9144843c0965e11
fix(remix): Deliver the release through the rendered page instead of …https://github.com/getsentry/sentry-javascript/commit/e003ff2925959b7c0bc32a5d7de9d35e0f587c3d
e003ff2https://github.com/getsentry/sentry-javascript/commit/e003ff2925959b7c0bc32a5d7de9d35e0f587c3d
fix(react-router): Pass the release to the browser in the page (#26508)https://github.com/getsentry/sentry-javascript/commit/6025891450236f3ff310a51562a006ba7016560c
#26508https://github.com/getsentry/sentry-javascript/pull/26508
6025891https://github.com/getsentry/sentry-javascript/commit/6025891450236f3ff310a51562a006ba7016560c
fix(nextjs): Deliver the release at runtime with `release.inject: fal…https://github.com/getsentry/sentry-javascript/commit/d0df2ed54be77c26313c79e4918d0a8857b8ed4a
d0df2edhttps://github.com/getsentry/sentry-javascript/commit/d0df2ed54be77c26313c79e4918d0a8857b8ed4a
fix(tanstackstart-react): Deliver the release through the page instea…https://github.com/getsentry/sentry-javascript/commit/0e2a03220a903122ce424d9a02655a176dbc0f59
0e2a032https://github.com/getsentry/sentry-javascript/commit/0e2a03220a903122ce424d9a02655a176dbc0f59
feat(vite-plugin): Add `release.inject: 'html'` to keep chunk hashes …https://github.com/getsentry/sentry-javascript/commit/08f205e128483bfced617da9f3817f8452a7fa5f
08f205ehttps://github.com/getsentry/sentry-javascript/commit/08f205e128483bfced617da9f3817f8452a7fa5f
feat(webpack-plugin): Add `release.inject: 'html'` to keep chunk hash…https://github.com/getsentry/sentry-javascript/commit/4e014bb0a684741d22a8f45d90bbcd7d35482be9
4e014bbhttps://github.com/getsentry/sentry-javascript/commit/4e014bb0a684741d22a8f45d90bbcd7d35482be9
fix(solidstart): Deliver the release to the browser through the page (#…https://github.com/getsentry/sentry-javascript/commit/661009e889cd5744eb1629be216037a1c87f7392
#…https://github.com/getsentry/sentry-javascript/pull/26513
661009ehttps://github.com/getsentry/sentry-javascript/commit/661009e889cd5744eb1629be216037a1c87f7392
feat(browser): Read the release from the `sentry-release` meta tag (#…https://github.com/getsentry/sentry-javascript/commit/14cff1fcc72699e4426b934671a6ba9befb82eaa
#…https://github.com/getsentry/sentry-javascript/pull/26514
14cff1fhttps://github.com/getsentry/sentry-javascript/commit/14cff1fcc72699e4426b934671a6ba9befb82eaa
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-javascript/issues/26485
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-javascript/issues/26485
Bughttps://github.com/getsentry/sentry-javascript/issues?q=state%3Aopen%20label%3A%22Bug%22
GitHub Issues with 👀 3https://github.com/orgs/getsentry/projects/227
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.