Skip to content

Copy private GPU and Arrow deck modules from luma.gl - #10838

Merged
ibgreen merged 9 commits into
masterfrom
codex/copy-private-deck-modules
Oct 11, 2026
Merged

ibgreen merged 9 commits into
masterfrom
codex/copy-private-deck-modules

Conversation

@ibgreen

@ibgreen ibgreen commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

Background

Private GPU and Arrow deck.gl packages live in luma.gl. Copy them here with opt-in builds for unpublished peers. Examples and additional tests follow in #10840 and #10841 to stay below GitHub's diff limit.

Change List

  • Copy private GPU and Arrow packages with workspace dependencies
  • Add opt-in build-private and test-private commands
  • Exclude private prototypes from default builds, tests, and coverage
  • Fix Arrow cleanup, upload rollback, and stream cancellation
  • Correct clip offsets, graph depth, icon sizing, cloud IDs
  • Pause graph layout independently of rendering and selection
  • Unit tests: 42 private and 20 default node tests
  • Render tests: add WebGPU pixel-sizing regression
  • Documentation: record provenance and unpublished-peer setup

Verified package builds, declarations, node tests, pixel sizing, and lint.

TODO


Note

Medium Risk
Large new rendering and GPU compute surface (WebGPU-only graph paths, buffer lifecycle, streaming loaders) with unpublished peer dependencies; mitigated by private packages and opt-in builds.

Overview
Adds two private, opt-in workspace packages copied from luma.gl: @deck.gl-community/arrow-layers and @deck.gl-community/gpu-layers, wired through yarn build-private / yarn test-private while staying out of the default build and test graph.

arrow-layers introduces Apache Arrow–backed deck layers that upload columns to GPUVector (via @luma.gl/arrow) and render through gpu-layers, deliberately without AttributeManager for Arrow data. Composite adapters cover scatterplot, line, arc, column, icon, point cloud, grid cell, and similar types; heavier layers (ArrowPathLayer, ArrowPolygonLayer, text) add streamed record-batch loading, WebGPU storage paths, picking metadata, and shared WGSL/viewport helpers. GeoArrowLayer picks point/line/polygon children from extension metadata. A separate GPU graph stack (GPUGraphDeckEffect, GPUGraphNodeLayer, GPUGraphEdgeLayer) runs @luma.gl/gpgpu/gpu-graph analytics and force layout inside deck’s frame encoder and draws caller-owned GPU edge partitions (WebGPU-only).

Package docs and package.json peers call out unpublished @luma.gl/arrow, experimental, and text plus manual linking for local development.

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

@coveralls

coveralls commented Oct 10, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 83.507% (-0.01%) from 83.517% — codex/copy-private-deck-modules into master

@ibgreen
ibgreen marked this pull request as ready for review October 10, 2026 13:52
@ibgreen
ibgreen requested a review from Pessimistress October 10, 2026 13:52
@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-10T13:57:10.662560Z 2418fe6 Draft marked ready
ℹ️ 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.

@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.

@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: 2418fe6736

ℹ️ 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".

@greptile-apps

greptile-apps Bot commented Oct 10, 2026 •

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

[Medium impact] Appears safe to merge in the planned stack, with private packages remaining opt-in.

Summary

Copies private GPU and Arrow layer packages into deck.gl, with opt-in builds and tests. The latest changes let graph selection update independently of paused layout and replace the broken Sketch example link.

  • GPU-backed deck layers draw data from caller-owned buffers and vectors.
  • Arrow tables and batches can feed deck’s GPU-backed layers.
  • GPU graph analysis and layout now feed deck node and edge layers.
  • GPU effects and scene layers add skies, weather, and spatial queries.
  • Private GPU and Arrow packages have opt-in build and test commands.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart LR
  Arrow[Arrow columns] --> Adapter[Arrow layers upload owned vectors]
  Adapter --> GPU[GPU layers borrow vectors]
  Caller[Caller-owned GPU vectors] --> GPU
  GPU --> Deck[Deck renders layers]
  Graph[Graph topology and analysis] --> Search[Pending selection search]
  Search --> Pause{Layout paused?}
  Pause -->|No| Layout[Advance layout]
  Pause -->|Yes| Draw[Render existing positions]
  Layout --> Draw
Loading

Reviews (5) · Last reviewed commit: "fix: update graph selection independentl..." · Reviewed by Greptile

@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.

@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.

Comment thread examples/deck/arrow-path-layer/app.ts Resolved
Comment thread modules/deck-gpu-layers/README.md Resolved

@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 1 potential issue.

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 1d05b8c. Configure here.

@ibgreen
ibgreen merged commit aac0b1d into master Oct 11, 2026
8 checks passed
@ibgreen
ibgreen deleted the codex/copy-private-deck-modules branch October 11, 2026 12:36
@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