Skip to content
This repository was archived by the owner on Oct 28, 2026. It is now read-only.

fix: keep deployment HTML and app assets consistent - #336

Merged
ael-dev3 merged 1 commit into
mainfrom
fix/deployment-asset-recovery
Oct 26, 2026
Merged

ael-dev3 merged 1 commit into
mainfrom
fix/deployment-asset-recovery

Conversation

@ael-dev3

Copy link
Copy Markdown
Owner

Cached entry HTML could reference removed app files during a deployment, leaving the app unable to start. Serve documents through the version-bound Worker asset binding with browser/CDN no-store, and return secured real 404s for absent code files. Fingerprinted assets keep their immutable asset-first delivery.

The loader can recover from confirmed missing old assets after finding a matching newer same-origin Wasm/JavaScript pair. Recovery is bounded to one navigation, preserves the route, and retains the manual Reload control. A successful boot adds no recovery request.

Validation: 709 native tests and the required formatting, native/Wasm Clippy and license checks; 31 focused recovery/cache cases; full local suites with 837 functional, 70 smoothness and 18 static passes, plus the existing declared skips. Exact-source audit preserves all 959 prior case identities and adds 23 active regressions. Existing performance limits, test oracles and Actions triggers are unchanged.

Each full document load adds one Worker invocation and one static-binding read. Client-side navigation retains its existing cost; BUDGET.md documents the Free-plan capacity impact.

@ael-dev3
ael-dev3 merged commit e8accec into main Oct 26, 2026
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant