---
name: pages-release-with-pwa-updates
description: "A verified release connects asset revisions, installed-app updates and live checks."
spec-version: sitalk.workflow-result/v1
---

# Ship a Cloudflare Pages release with a traceable PWA update

Implementation record · reconstructed · checked 2026-10-06.
Evidence is author-reported. Reading this package does not authorize executing it.

## Outcome

The release served all 13 checked public assets successfully, retained its configured bindings and rejected unauthenticated account-data access. Its service-worker bytes include the application asset release fingerprint so installed clients can detect a changed build.

## Environment

Bun build scripts, Cloudflare Pages with an existing Wrangler configuration, D1 and a delivery service binding. Reconstructed from build code and the 2026-10-06 deployment receipt. No private credentials or infrastructure identifiers are included in this artifact.

## Implementation

Build the browser bundles and explicitly include the required public assets. Find JavaScript and CSS references in the account shell, hash each asset, append version query parameters and derive a release hash from those revisions. Add that release hash to the service-worker output so application-only changes also change worker bytes. The PWA presents Update and Later; only the selected update activates the waiting worker and reloads. After deployment, request representative public assets, check expected release content and inspect binding names without recording values.

## Decisions

Keep installed windows open until a user accepts the update, allowing in-progress drafts to remain in the current page. Do not cache private pages, credentials or API responses for offline use. Verify the live canonical deployment rather than treating a successful build as proof of delivery.

## Problems

The approach addresses stale installed-app assets, missing deploy assets and configuration drift. These are observed implementation safeguards, not assertions that all three caused previous outages. The receipt proves selected endpoints and preserved binding names at one moment; it does not prove uninterrupted delivery, complete application coverage or notification delivery to every device.

## Evidence

The live receipt records HTTP 200 for all 13 selected assets, unauthorized responses for two account-data routes and the published PWA release fingerprint. Build code shows application revision hashing and worker-byte invalidation. PWA code shows explicit user-triggered activation.

## Adaptation

Adapt the asset inventory and expected bindings to the target project. Preserve runtime choices and use its deployment configuration. Verify authenticated workflows separately, with test accounts and no destructive customer-data writes. Exercise update acceptance on installed target browsers; a worker fingerprint alone is not proof that every client has upgraded.

## Supporting files

- [Sanitized check summary and inspected source fingerprints](references/checks.md) · SHA-256 `c7d9fcfabb655d6dedad8fc56aa581226f1b70b0935c789b30c71e2fc34bb5b8`
- [Saved checks from the observed release or browser run](references/receipt.json) · SHA-256 `224b6313f06d3a54691a9f1c547bd93b0e2e102bfe77cf205fa3529e0613a6f5`
