René's URL Explorer Experiment


Title: fix(webapp): survive asset hash rotation across rolling deploys by kathiekiwi · Pull Request #4260 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix(webapp): survive asset hash rotation across rolling deploys by kathiekiwi · Pull Request #4260 · triggerdotdev/trigger.dev

X Title: fix(webapp): survive asset hash rotation across rolling deploys by kathiekiwi · Pull Request #4260 · triggerdotdev/trigger.dev

Description: Problem Webapp HTML references content-hashed /build assets, and each Docker image contains exactly one build with a hard 404 for unknown hashes. During a rolling deploy, a client holding HTML from the old build may request old asset hashes from a replica running the new image, causing missing styles or failed chunk loads. The page should recover automatically once a compatible build becomes available, without reload loops or unnecessary interruptions during normal deployments. What changed Build changes alone do nothing — no polling, no automatic reloads. If a CSS or JavaScript asset fails to load, a recovery overlay is shown immediately. While the server still reports the same build, the client polls for a newer build using exponential backoff (up to ~60s). As soon as a newer build is detected, the page reloads automatically. If no newer build appears within the timeout, recovery falls back to a manual Reload action. If recovery still fails after the automatic reload, the client stops retrying and displays a final recovery screen instead of entering a reload loop. Recovery preserves form values and scroll position across the automatic reload.

Open Graph Description: Problem Webapp HTML references content-hashed /build assets, and each Docker image contains exactly one build with a hard 404 for unknown hashes. During a rolling deploy, a client holding HTML from...

X Description: Problem Webapp HTML references content-hashed /build assets, and each Docker image contains exactly one build with a hard 404 for unknown hashes. During a rolling deploy, a client holding HTML from...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/4260

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b9b2bbdd-9206-5dd6-2d8c-19a41ca57034
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA74:1658DB:1F936B:2D5593:6AFAF939
html-safe-nonced0be66bb3b65a089cc553a42519ed65555e50ab0e73779d5169ff0e78ac022bd
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTc0OjE2NThEQjoxRjkzNkI6MkQ1NTkzOjZBRkFGOTM5IiwidmlzaXRvcl9pZCI6Ijg1MDg3NjMyOTgxOTgxMjQ4NTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb2b30d7bb12f18e2e5924e5d81027109e3e253e7addcfe03aaa2d0d737feb7fb
hovercard-subject-tagpull_request:4052982298
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/4260/files
twitter:imagehttps://avatars.githubusercontent.com/u/4035897?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4035897?s=400&v=4
og:image:altProblem Webapp HTML references content-hashed /build assets, and each Docker image contains exactly one build with a hard 404 for unknown hashes. During a rolling deploy, a client holding HTML from...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54f7a6886649661c85eee945cca0773566bfb4065370e0429b7c8f7204184650
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecf8450eb633ec589502c42ff6f4072e40db65da3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4260/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4260%2Ffiles
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%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4260%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4260/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4260/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4260/files
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
kathiekiwihttps://github.com/kathiekiwi
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
fix/css-loadinghttps://github.com/triggerdotdev/trigger.dev/tree/fix/css-loading
Conversation 19 https://github.com/triggerdotdev/trigger.dev/pull/4260
Commits 12 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits
Checks 36 https://github.com/triggerdotdev/trigger.dev/pull/4260/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/4260/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4260/files
fix(webapp): survive asset hash rotation across rolling deploys https://github.com/triggerdotdev/trigger.dev/pull/4260/files#top
Show all changes 12 commits https://github.com/triggerdotdev/trigger.dev/pull/4260/files
5f61600 fix(webapp): survive asset hash rotation across rolling deploys kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/5f6160080214c7f438ba6802a374c2338ba8bb27
52ff029 fix(webapp): pass isProduction into StaleAssetRecovery as a prop kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/52ff0291078621e20c812a266a79c9d2c9e0354d
1ef1aae fix(webapp): prune carried assets before overlaying the current build kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/1ef1aaec8e8c4b79112f90ee93a8b0e6c8d02776
21e5738 fix(webapp): guard asset carry-forward retention and prefer latest as… kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/21e5738bb41d5b51b81b3632ec436481c4f0d243
48ceec7 chore(webapp): shorten server-changes note kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/48ceec7d165df8d8c832279313695dc6cc92c2c5
671b9ac revert(webapp): drop cross-build asset carry-forward from Docker images kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/671b9acdb78ad1c4b546d5622ea24d2dcaabc197
6d78b12 feat(webapp): make stale-asset recovery version-aware kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/6d78b12c293cc13c4d2456940d2ff43ec39da0eb
bc0e686 feat(webapp): never touch a working page; recover with overlay and st… kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/bc0e686f2795507c585f26b4e7a843b7b6ed01d6
6a7fabf fix(webapp): show plain loading text while recovery waits, reload but… kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/6a7fabf069e2ff3e29b206704863377091baad1c
79c664a fix(webapp): use ASCII ellipsis in recovery overlay (documents ship w… kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/79c664a58ee8c87d24910c0fcb5313fb5fb76e06
b3afb32 fix(webapp): restore intentionally cleared form fields after recovery… kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/b3afb320a942974bbefdf8351b2a98c859ad9e3f
1726d57 chore(webapp): make server-changes note user-facing, document note st… kathiekiwi Jul 14, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4260/commits/1726d5763e286959120e2b0735d65a80b538e55e
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/4260/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4260/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4260/files
server-apps.md https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-77e145303d72850f793948ba6297a15c98ebb5580e0ccaffb78e0d88204e8728
stale-deploy-asset-recovery.md https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-313406a26d20665287341f6933ce96e49b01d6c66e5d870d9cb61678111f962f
StaleAssetRecovery.tsx https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-36a3bdcf5bd67c813a723484455fb50103c245321ae2c211f1f296c4cd4ecb9a
entry.server.tsx https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-32e3e680f29eb98d74e9807ba47f82ee702ae33f603597da9221f016eb403e8c
root.tsx https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d5455d1a6da2122394baafc207ac7f4776c717c515cbee94121ba1e939f12cee
server.ts https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d79bf7c7076d11f715987ea7bf92189a9bc4ec9902cbfe830bf315019422536c
.claude/rules/server-apps.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-77e145303d72850f793948ba6297a15c98ebb5580e0ccaffb78e0d88204e8728
View file https://github.com/triggerdotdev/trigger.dev/blob/1726d5763e286959120e2b0735d65a80b538e55e/.claude/rules/server-apps.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4260/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-77e145303d72850f793948ba6297a15c98ebb5580e0ccaffb78e0d88204e8728
.server-changes/stale-deploy-asset-recovery.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-313406a26d20665287341f6933ce96e49b01d6c66e5d870d9cb61678111f962f
View file https://github.com/triggerdotdev/trigger.dev/blob/1726d5763e286959120e2b0735d65a80b538e55e/.server-changes/stale-deploy-asset-recovery.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4260/{{ revealButtonHref }}
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4260/files
apps/webapp/app/components/StaleAssetRecovery.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-36a3bdcf5bd67c813a723484455fb50103c245321ae2c211f1f296c4cd4ecb9a
View file https://github.com/triggerdotdev/trigger.dev/blob/1726d5763e286959120e2b0735d65a80b538e55e/apps/webapp/app/components/StaleAssetRecovery.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4260/{{ revealButtonHref }}
apps/webapp/app/entry.server.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-32e3e680f29eb98d74e9807ba47f82ee702ae33f603597da9221f016eb403e8c
View file https://github.com/triggerdotdev/trigger.dev/blob/1726d5763e286959120e2b0735d65a80b538e55e/apps/webapp/app/entry.server.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4260/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-32e3e680f29eb98d74e9807ba47f82ee702ae33f603597da9221f016eb403e8c
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4260/files
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-32e3e680f29eb98d74e9807ba47f82ee702ae33f603597da9221f016eb403e8c
apps/webapp/app/root.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d5455d1a6da2122394baafc207ac7f4776c717c515cbee94121ba1e939f12cee
View file https://github.com/triggerdotdev/trigger.dev/blob/1726d5763e286959120e2b0735d65a80b538e55e/apps/webapp/app/root.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4260/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d5455d1a6da2122394baafc207ac7f4776c717c515cbee94121ba1e939f12cee
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d5455d1a6da2122394baafc207ac7f4776c717c515cbee94121ba1e939f12cee
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d5455d1a6da2122394baafc207ac7f4776c717c515cbee94121ba1e939f12cee
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d5455d1a6da2122394baafc207ac7f4776c717c515cbee94121ba1e939f12cee
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d5455d1a6da2122394baafc207ac7f4776c717c515cbee94121ba1e939f12cee
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d5455d1a6da2122394baafc207ac7f4776c717c515cbee94121ba1e939f12cee
apps/webapp/server.tshttps://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d79bf7c7076d11f715987ea7bf92189a9bc4ec9902cbfe830bf315019422536c
View file https://github.com/triggerdotdev/trigger.dev/blob/1726d5763e286959120e2b0735d65a80b538e55e/apps/webapp/server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4260/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d79bf7c7076d11f715987ea7bf92189a9bc4ec9902cbfe830bf315019422536c
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4260/files
https://github.com/triggerdotdev/trigger.dev/pull/4260/files#diff-d79bf7c7076d11f715987ea7bf92189a9bc4ec9902cbfe830bf315019422536c
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

Viewport: width=device-width


URLs of crawlers that visited me.