Bundle and fingerprint the mobile PWA runtime #380

Merged
rockachopa merged 1 commits from timmy/379-content-hashed-pwa-shell into main 2026-08-09 07:00:37 +00:00
Member

Closes #379

What changed

  • builds the 37 ordered page modules into one deterministic content-addressed runtime
  • serves the fingerprinted runtime with immutable caching while revalidating HTML and the service worker
  • precaches the exact runtime revision atomically and removes superseded page-module requests from the generated shell
  • enforces deterministic fingerprints, cache behavior, worker consistency, and a 100 KiB gzip budget

Verification

  • RED: tests/test_frontend_bundle.py initially failed with ModuleNotFoundError: src.frontend_bundle
  • GREEN: python3 -m pytest tests/ -q → 722 passed
  • JavaScript syntax: node --check passed for the 380,623-byte generated bundle
  • release build and verification passed
Closes #379 ## What changed - builds the 37 ordered page modules into one deterministic content-addressed runtime - serves the fingerprinted runtime with immutable caching while revalidating HTML and the service worker - precaches the exact runtime revision atomically and removes superseded page-module requests from the generated shell - enforces deterministic fingerprints, cache behavior, worker consistency, and a 100 KiB gzip budget ## Verification - RED: `tests/test_frontend_bundle.py` initially failed with `ModuleNotFoundError: src.frontend_bundle` - GREEN: `python3 -m pytest tests/ -q` → 722 passed - JavaScript syntax: `node --check` passed for the 380,623-byte generated bundle - release build and verification passed
rockachopa added 1 commit 2026-08-09 06:59:29 +00:00
perf: bundle and fingerprint the PWA runtime (#379)
All checks were successful
CI / lint (pull_request) Successful in 42s
CI / build-release (pull_request) Successful in 5s
CI / release-candidate (pull_request) Has been skipped
a919242b8f
rockachopa merged commit 51278bc86f into main 2026-08-09 07:00:37 +00:00
rockachopa deleted branch timmy/379-content-hashed-pwa-shell 2026-08-09 07:00:37 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#380
No description provided.