Repository navigation
fix(website): render later canvases on the page after worker failure - #5257
Conversation
Size Report
Startup median (7 runs, lower is better):
|
There was a problem hiding this comment.
All reported issues were addressed across 3 files
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
|
The code at 6f4dd77 is ready, with no blocking problems. Not blocking: these can be taken or left: because The earlier thread no longer applies: the error listener is removed on Not verified here: no local tests or browser run were performed, the order of the Coverage, Lint/Typecheck, Integration, smoke and Body rules checks pass. One other check is still pending, and it does not exercise any route changed here. Nothing from this review needs to change before merge. |
Summary
The homepage registers four canvases at load and starts each when it approaches the viewport. An asynchronous module-worker load error can arrive between those callbacks. Record the failure in the shared host so subsequent mounts use the existing page renderer.
Before / after
Before, scrolling to another scene after the worker failed transferred its canvas to the failed worker. After, that scene keeps its canvas and draws on the page. Canvases transferred before the error still belong to the worker.
Validation
CI pending at
6f4dd775c55255d04cf7cf8a6ae840a82106a703. Focused regressions cover later mounts after a startup failure and after a running worker reports an error. Validation is CI-only. On the prior head, all three native builds succeeded before post-job cleanup failed. That job was retried once.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.