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

fix: recover a missing startup entry script once - #339

Merged
ael-dev3 merged 1 commit into
mainfrom
fix/deploy-entry-assets
Oct 27, 2026
Merged

ael-dev3 merged 1 commit into
mainfrom
fix/deploy-entry-assets

Conversation

@ael-dev3

Copy link
Copy Markdown
Owner

A cold production visit received a 404 for the initial fingerprinted boot script, leaving the app unable to start its existing recovery. A CSP-hashed inline guard now retries that exact same-origin entry once only after Resource Timing confirms 404/410. Successful startup adds no requests; persistent or unknown failures show an accessible Reload button without changing the page URL, drafts or session storage. A delayed Home response cannot cover the error panel.

Validation: pinned production/static builds and CSP metadata check passed; all 14 boot regressions passed with zero retries, including six new desktop/phone recovery cases. The unchanged deployment/early-paint cases passed (44 cases); static checks passed (18 passed, 19 existing skips). The strict local interaction run retained one failed 51 ms long task against the unchanged 50 ms limit (40 passed, 31 not run) on a busy Mac with overlapping local browser work; it receives no acceptance credit. The normal PR CI must pass every original strict check before merge. No changes to performance tests, retries, deployment readiness or asset warming.

The production trace shows the same entry URL returning 404 and then 200; the underlying CDN cause is not established. This change adds bounded client recovery, with a manual option on browsers that do not expose response status. SpacetimeDB and private mute/block behavior are unchanged.

@ael-dev3
ael-dev3 merged commit 9246ed7 into main Oct 27, 2026
5 checks passed
@ael-dev3
ael-dev3 deleted the fix/deploy-entry-assets branch October 27, 2026 09:53
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