Asset cache serves old bundle: pre-release and first 30 minutes checklists
Users receive an old JavaScript bundle with a new API and the app errors.
The pre-release checklist maps each item to a test class from the incident page. The first-30-minutes checklist covers detection, containment, the rollback decision and customer communication.
Pre-release checklist
- PR-01
- PR-02
- PR-03
- PR-04
- PR-05
- PR-06
- PR-07
- PR-08
First 30 minutes
- FM-01
- FM-02
- FM-03
- FM-04
- FM-05
- FM-06
- FM-07
Download the checklist
Only in this checklist
Every test class in this checklist also appears in at least one sibling checklist in the group; the item texts differ: Scan the build output and fail the release when any JavaScript file URL lacks a content hash in its file name.
Questions
What should be checked before a release to prevent Asset cache serves old bundle?
8 pre-release items, PR-01 to PR-08. PR-01: Scan the build output and fail the release when any JavaScript file URL lacks a content hash in its file name.
Is there a rollback plan for Asset cache serves old bundle?
The first-30-minutes checklist has 7 items. FM-01: Query frontend asset requests for 404 responses since the last deploy, because existing alerts may not cover them.
What should a team do in the first 30 minutes after Asset cache serves old bundle is detected?
The first-30-minutes checklist has 7 items. FM-01: Query frontend asset requests for 404 responses since the last deploy, because existing alerts may not cover them.
Which configuration checks apply to Asset cache serves old bundle?
PR-01: Scan the build output and fail the release when any JavaScript file URL lacks a content hash in its file name. PR-02: Confirm the remote entry file is served with a cache header that forces the browser to revalidate it on every load. PR-03: Confirm the previous deployment's hashed JavaScript assets still return 200 on the server after the new deployment goes live. PR-04: Confirm the deploy step purges every changed JavaScript chunk at the CDN and fails the deploy when the purge does not complete.
Is a Asset cache serves old bundle checklist still needed if deployment is automated?
Yes. Automation runs the steps; the checklist names what the tests must cover: configuration and environment tests, end-to-end tests and synthetic monitoring.
Which pipeline stages does the Asset cache serves old bundle checklist cover?
The pre-release items map to the pre-deploy and post-deploy stages.