Skip to content

fix(examples): use bundled Scenegraph flight snapshot#10476

Open
ibgreen-openai wants to merge 1 commit into
masterfrom
codex/scenegraph-example-local-data
Open

fix(examples): use bundled Scenegraph flight snapshot#10476
ibgreen-openai wants to merge 1 commit into
masterfrom
codex/scenegraph-example-local-data

Conversation

@ibgreen-openai

Copy link
Copy Markdown
Collaborator

Goal

Make the Scenegraph website example load reliably even when the OpenSky browser API is unavailable.

Changes

  • Start from the bundled all.json flight snapshot so the example renders immediately.
  • Try the live OpenSky endpoint once, then keep the bundled snapshot if the request is blocked by CORS or otherwise fails.
  • Normalize data without mutating the imported snapshot.
  • Remove the interval/update loop that could create repeated fetch failures.
  • Rename the demo from “Realtime Flight Tracker” to “Flight Tracker” and document the fallback behavior.

This PR intentionally contains only example/data-source behavior. The ScenegraphLayer WebGPU port is split into a separate stacked PR.

Validation

  • yarn lint (passes with existing repository warnings only)
  • yarn test-website

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage is 83.355%codex/scenegraph-example-local-data into master. No base build found for master.

@ibgreen-openai
ibgreen-openai marked this pull request as ready for review July 23, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants