Skip to content

Add private Arrow and GPU graph examples and integration tests - #10840

Merged
ibgreen merged 5 commits into
masterfrom
codex/private-deck-arrow-examples
Oct 11, 2026
Merged

ibgreen merged 5 commits into
masterfrom
codex/private-deck-arrow-examples

Conversation

@ibgreen

@ibgreen ibgreen commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Background

Part 2 of the private-layer migration, based on #10838. The remaining 18 examples follow in #10841. The original diff exceeds GitHub's limit and prevents Coveralls from evaluating patch coverage.

Change List

  • Copy Arrow fixtures, panels, graph, trace, and taxi examples
  • Add opt-in example builds and remaining private integration tests
  • Preserve animated path streams with stable style selectors
  • Forward live Trips timing and fallback styling updates
  • Release uploaded timestamps after rejected path conversion
  • Handle diagnostic teardown and populate direct-vector table inspection
  • Resolve the available backend before initial example construction
  • Preserve dictionary batches and latest settings during streaming
  • Preserve graph pause state and cleared selections across rebuilds
  • Retain streams when unchanged options are forwarded
  • Guard indirect draws until WebGPU pipelines are ready
  • Unit tests: 75 private node tests pass
  • Documentation: record setup and existing private WebGPU failures

Verified affected builds, TypeScript checks, lint, and WebGL2 fallback in Chromium.

TODO


Note

Low Risk
Adds example and demo code only; no production library API changes in the shown diff. Risk is limited to maintainer build/test surface area.

Overview
This PR lands private Arrow and deck.gl demo infrastructure copied from luma.gl: shared panel hosts, table inspection, and input modes (stream / table / vectors) for both luma and deck examples.

It adds a full Arrow path-lines stack—synthetic GeoArrow/DenseUnion path data, ArrowLineRenderer (attribute, storage, and trips paths with incremental record-batch loading and batch aggregation), plus WGSL/GLSL shaders—and a polygon example suite with streaming batches, tessellated/dense-union sources, and metrics-driven control panels.

Under examples/deck, it wires ArrowDeck (shader-assembler compatibility), arrow-path-layer (animated Trips timing, ArrowPathLayer integration), and README/setup for opt-in build-private-examples / test-private workflows. A small supportsVertexStorageBuffers helper gates storage-model UI on WebGPU limits.

Reviewed by Cursor Bugbot for commit 61a7dd5. Bugbot is set up for automated code reviews on this repo. Configure here.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-10T18:38:31.190865Z 98b530b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 98b530bafb

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@cursor cursor Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stale Bugbot comment from a previous run.

@greptile-apps

greptile-apps Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Low impact] The reviewed changes appear safe to merge, with no new blocking issue found.

Summary

Adds private Arrow, graph, trace, and taxi examples, shared panels and fixtures, and opt-in builds and integration tests.

  • Arrow examples show their settings and tables beside the view.
  • Arrow paths stream into a deck.gl layer in batches.
  • Polygon and text examples let people compare Arrow input shapes.
  • The graph explorer changes its GPU graph and view from one control panel.
  • The trace viewer draws only visible blocks and their text glyphs.
  • The taxi example queries resident points as people move around the map.
  • Private deck.gl examples have an opt-in build command and shared setup.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Settings[Example settings] --> Change{Only animation changed?}
  Change -->|Yes| Retain[Keep iterator and loaded batches]
  Change -->|No| Source[Create a new batch stream]
  Retain --> Clock[Keep trail time]
  Source --> Reset[Reset trail time]
  Clock --> Layer[Update ArrowPathLayer]
  Reset --> Layer
  Layer --> Draw[Deck draws paths]
Loading

Reviews (5) · Last reviewed commit: "fix: preserve path streams and trail tim..." · Reviewed by Greptile

Comment thread examples/deck/gpu-graph-explorer/app.ts Resolved
Comment thread examples/deck/gpu-graph-explorer/app.ts Resolved
@coveralls

coveralls commented Oct 10, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 83.517% (+0.01%) from 83.503% — codex/private-deck-arrow-examples into master

@ibgreen
ibgreen force-pushed the codex/private-deck-arrow-examples branch from ec2bf09 to 47e124a Compare October 10, 2026 18:57

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 47e124a. Configure here.

Base automatically changed from codex/copy-private-deck-modules to master October 11, 2026 12:36
@ibgreen
ibgreen force-pushed the codex/private-deck-arrow-examples branch from 898d9fc to adbfa0a Compare October 11, 2026 12:37
@ibgreen
ibgreen merged commit d7aceb7 into master Oct 11, 2026
8 checks passed
@ibgreen
ibgreen deleted the codex/private-deck-arrow-examples branch October 11, 2026 13:25
@chrisgervang chrisgervang mentioned this pull request Oct 22, 2026
53 of 66 tasks
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.

2 participants