Repository navigation
Fix master website schema generation and cached demo restoration - #10859
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
53 of 66 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #10858
Follow up of #10849
Background
Master website deployments fail during playground schema generation. PR website checks skip that step. City Scene also stays finalized after back/forward-cache restoration.
Change List
Verified
/next/website build, 113 Node tests, three schema tests, lint, and example types; schema generation also passes on Node 22.22.Note
Low Risk
Changes are limited to example/demo startup, schema generation tooling, and CI; no production auth or data paths.
Overview
Fixes master website builds that failed during playground JSON schema generation, and fixes the City Scene demo staying torn down after back-forward cache (bfcache) navigation.
Playground schema: Adds a
TypedArrayNodeParserso native typed arrays (includingFloat16Array) are stripped from the generated schema instead of breaking generation. Treats@loaders.glLoadertypes like other non-JSON runtime classes. Newgenerate-schema.test.cjschecksNumericArray, layer accessors/loadOptions, and dangling$refs.website/scripts/test-build.shnow runsyarn generate-schemaand those tests before the Docusaurus build, and copiesschema.generated.jsoninto the site static assets.City Scene: On
pagehide, captures control + playback state when the page was ready; onpageshow, restarts the scene and reapplies that state (unless the user switched backend, which clears saved settings). Control listeners are registered once viainitializeControls()when a scene is created, avoiding duplicate handlers across restarts. Startup test coverage expands to bfcache restore and settings round-trip.Reviewed by Cursor Bugbot for commit 14c4201. Bugbot is set up for automated code reviews on this repo. Configure here.