Skip to content

test(render): render DataFilterExtension cases under GlobeView - #10662

Open
chrisgervang wants to merge 6 commits into
masterfrom
claude/test-data-filter-views-GveWO
Open

chrisgervang wants to merge 6 commits into
masterfrom
claude/test-data-filter-views-GveWO

Conversation

@chrisgervang

@chrisgervang chrisgervang commented Sep 7, 2026 •

Copy link
Copy Markdown
Collaborator

Follow up of #10657

DataFilterExtension filters on attribute values, so it is projection independent, but no extension render test runs under GlobeView. Tests only.

GlobeView
data-filter-effect-filter-1d-globe: filterRange: [3, 8] keeps columns 3 to 8 of a 32 x 20 point grid as large dots, zoom 10.2
data-filter-effect-single-category-globe: filterCategories: [3, 4, 5, 127, 0] on index % 128

No before images: both cases pass on master with this PR's spec, so the images show current behavior and the PR only adds the coverage.

Change List

  • data-filter-extension.spec.ts: filter-1d and single-category also render under GlobeView via expandViewMatrix, each variant keeping its own countItems assertion from feat(extensions): support countItems on WebGPU DataFilter #11035; globe variants skip WebGPU until validated there; existing map goldens reused unchanged
  • New goldens data-filter-effect-filter-1d-globe.png and data-filter-effect-single-category-globe.png: same filtered subsets as their map twins

Ran the render spec headless on WebGL and lint.


Note

Low Risk
Test-only changes adding render test coverage for GlobeView with no production code modifications.

Overview
Expands DataFilterExtension render tests to run under GlobeView in addition to MapView for the filter-1d and single-category test cases via expandViewMatrix. Each view preset runs with its own count closure to assert filtered item counts independently, with the globe tests configured for WebGL and strict image diff thresholds.

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


Generated by Claude Code

@coveralls

coveralls commented Sep 7, 2026 •

Copy link
Copy Markdown

Coverage Status

coverage: 84.836%. remained the same — claude/test-data-filter-views-GveWO into master

Base automatically changed from claude/globe-flat-common-helpers-GveWO to master September 25, 2026 17:34
@chrisgervang
chrisgervang force-pushed the claude/test-data-filter-views-GveWO branch from d68cf40 to a6a4c86 Compare September 25, 2026 17:37
@chrisgervang
chrisgervang force-pushed the claude/test-data-filter-views-GveWO branch from a6a4c86 to 7025669 Compare October 3, 2026 22:10
@chrisgervang chrisgervang added this to the v9.4 patch releases milestone Oct 4, 2026
DataFilterExtension filters on attribute values, not positions, so it is
projection independent and works in GlobeView unchanged. This adds render
coverage for that: the `filter-1d` (range) and `single-category` (category)
variants of data-filter-extension.spec.ts are expanded with
`expandViewMatrix(['map', 'globe'])` from test/render/view-presets.ts, passing
the spec's own viewState ({lat 37, lng -122, zoom 10.2}) so the existing map
goldens are reused byte-for-byte. The other five variants stay map-only to
limit the golden budget.

Two new goldens, data-filter-effect-filter-1d-globe.png and
data-filter-effect-single-category-globe.png, show the same filtered subsets
as their map twins (columns 3-8 / index % 128 in {0,3,4,5,127}); the only
difference is the sub-pixel drift of the tessellated sphere at zoom 10.2,
hence the globe-only imageDiffOptions threshold of 0.985. No source changes.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FyzWaF5TmQPmGjh3Zr3XL9
@chrisgervang
chrisgervang force-pushed the claude/test-data-filter-views-GveWO branch from 7025669 to fe846ec Compare October 23, 2026 00:36
@chrisgervang
chrisgervang requested a review from ibgreen November 3, 2026 17:14
@chrisgervang
chrisgervang marked this pull request as ready for review November 3, 2026 17:14
@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; no new blocking issue was found.

Summary

Adds globe render coverage for two DataFilterExtension cases.

  • Range and category filters now have GlobeView render tests.

No new findings. Source review only; tests were not run.

Reviews (5) · Last reviewed commit: "Merge remote-tracking branch 'origin/mas..." · Reviewed by Greptile

@ibgreen ibgreen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please rebase over the merged countItems change and retain the exact count assertions for the new globe cases. The projection matrix should extend the current render coverage without replacing its callback checks.

…lter-views-GveWO

# Conflicts:
#	test/render/test-cases/data-filter-extension.spec.ts
@ibgreen ibgreen added the test label Nov 21, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants