Skip to content

Upgrade dependencies and preserve Cosmos selection behavior - #21

Open
aaltshuler wants to merge 1 commit into
mainfrom
codex/update-orbit-dependencies
Open

aaltshuler wants to merge 1 commit into
mainfrom
codex/update-orbit-dependencies

Conversation

@aaltshuler

@aaltshuler aaltshuler commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Upgrade Orbit's runtime and development dependencies while preserving existing selection behavior. Cosmos 3.6 defaults polygon queries to footprint overlap; the adapter keeps center-based lasso selection and restores the prior mode so rectangle culling retains footprint overlap.

  • Update Zustand to 5.1.0, Cosmos to 3.6.1, Vite to 8.4.0, Storybook to 10.6.9, Vitest to 5.1.2, jsdom to 31.0.1, pnpm to 12.23.0, and compatible tooling patches.
  • Add real-engine selection and async snapshot ownership probes. Update exact CSSOM expectations to match Chromium's zero-length serialization, and exclude lockfile integrity bytes from documentation-anchor scanning.
  • Add a patch changeset and document Cosmos's unbounded layout/force changes; existing layouts may settle differently.

Compatibility

  • Keep all four luma.gl packages on 9.3.6: Cosmos 3.6.1 requires ~9.3.0, so luma 9.4 is outside its supported peers.
  • Development tools require Node ^22.22.2 || ^24.15.0 || >=26.0.0. Published adapter requirements remain Node 22+.
  • Retain the TypeScript 6 tooling API / TypeScript 7 workspace compiler split and React 18+ peers.
  • Full audit still reports two moderate development-only advisories in Storybook’s glob/minimatch chain (glob, minimatch). Storybook 10.6.9 requires docgen plugin ^0.7.0, whose glob 13 range has no patched release. The newer plugin is outside that range and excludes TypeScript 7.0.x. This TypeScript docgen path is inactive in the current Storybook configuration; no unsupported major override is introduced.

Validation

  • Frozen offline install; full pnpm check: 1,995 package tests and 23 performance-evaluator tests, lint, typechecks, boundaries, anchors and exact Cosmos pin check.
  • Package, demo and Storybook builds; all 49 packed-package smoke gates, including public declarations and the documented quickstart.
  • Node 22.22.2: 1,366 core and 257 React tests, core/React typechecks, and an isolated packed React 18.3.1 consumer covering imports, declarations, quickstart compilation/bundling, mount, selection, search, clear and teardown.
  • Three Node capability probes and 11 headed GPU probes on Chromium 159 / Apple M5 Pro. These are functional checks, not performance claims.
  • Production dependency audit: zero reported vulnerabilities.
  • Six additional headed demo regressions passed: real shift-drag lasso, shrinking/expanding fit-view transitions and maxZoom, simulation-control layout stability, keyboard operation and accessibility.
  • GitHub CI passed all five jobs on de9b917: checks, Node 22/24 packaging, live OmniGraph integration, and the full demo suite (52 passed; four existing skips, covered separately by the dedicated OmniGraph job and local real-GPU lasso check).

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.

1 participant