Skip to content

refactor(extensions): separate attribute preparation from lifecycle - #10986

Merged
ibgreen merged 1 commit into
masterfrom
codex/extension-attribute-lifecycle-prep
Oct 31, 2026
Merged

ibgreen merged 1 commit into
masterfrom
codex/extension-attribute-lifecycle-prep

Conversation

@ibgreen

@ibgreen ibgreen commented Oct 31, 2026 •

Copy link
Copy Markdown
Collaborator

Background

Separate deck.gl’s data handling from luma.gl’s shader and execution work. Keeping accessors, attribute layouts, and category bookkeeping independent lets us port extensions to ShaderPlugins, then move counting passes toward pipeline/graph APIs, without rewriting data preparation. This is behavior-preserving preparation, not WebGPU support or a new public API.

For #9504

Change List

  • Extract brushing attribute registration from pointer-listener lifecycle
  • Extract filtering attributes, counting layouts, and category bookkeeping
  • Preserve layer-owned state, extension overrides, and pass scheduling
  • Unit tests: focused extensions and pre-commit checks pass

Verified: yarn build, yarn lint, five focused headless tests, 31 pre-commit tests. Full local headless: 1,446 passed, 22 failed, including lost WebGL contexts and timeouts. All hosted CI checks pass, including coverage and WebGPU.

@chatgpt-codex-connector

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 ⚠️ Failed 2026-10-31T11:49:34.734481Z
We couldn’t complete this review. Comment @codex review to try again.
2dd8c51 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

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@greptile-apps

greptile-apps Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This refactor appears safe to merge.

Summary

Moves brushing and data-filter attribute work into helpers while keeping lifecycle hooks responsible for listeners and GPU resources.

  • Brushing layers register their shader attribute through a helper.
  • Data-filter attributes are prepared by helpers outside the lifecycle code.
  • Data-filter category updates and keys are managed by layer-aware helpers.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[Extension initialization] --> B[Attribute helpers]
  A --> C[Listeners and GPU resources]
  D[Data-filter update] --> E[Category update helper]
  E --> F[Layer-owned category state]
  G[Category accessor] --> H[Extension override]
  H --> I[Category key helper]
  I --> F
Loading

Reviews (1) · Last reviewed commit: "refactor(extensions): separate attribute..." · Reviewed by Greptile

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 84.404% (+0.003%) from 84.401% — codex/extension-attribute-lifecycle-prep into master

@ibgreen
ibgreen merged commit 13f150b into master Oct 31, 2026
9 checks passed
@ibgreen
ibgreen deleted the codex/extension-attribute-lifecycle-prep branch October 31, 2026 21:10
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