Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spanner query for missing one implementation feature IDs #1265

Merged
merged 3 commits into from
Mar 11, 2025
Merged

Conversation

KyleJu
Copy link
Collaborator

@KyleJu KyleJu commented Mar 11, 2025

A part of #1109. Implementing the Spanner logic to retrieve the list of feature IDs that are counted as "missing one implementation" for a target browser and target date.

This change is similar to the implementation in https://github.com/GoogleChrome/webstatus.dev/blob/main/lib/gcpspanner/missing_one_implementation.go#L197, but with a simpler template. Unlike that implementation, both GCP and local emulator use the same template.

A simpler version is tested on the Spanner studio

Follow-up:

Handle potential exclusions specified in the ExcludedFeatureKeys table.
support pagination to handle potentially large numbers of feature IDs.

@KyleJu KyleJu force-pushed the mis-impl-spanner branch from 0d17beb to 335014d Compare March 11, 2025 00:37
@KyleJu KyleJu force-pushed the mis-impl-spanner branch from 3268648 to 9109d87 Compare March 11, 2025 00:57
@KyleJu KyleJu requested a review from jcscottiii March 11, 2025 01:10
@KyleJu KyleJu marked this pull request as ready for review March 11, 2025 01:10
Copy link
Collaborator

@jcscottiii jcscottiii left a comment

Choose a reason for hiding this comment

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

LGTM with one change to add an ORDER BY statement and one nit

@KyleJu KyleJu enabled auto-merge March 11, 2025 18:03
@KyleJu KyleJu added this pull request to the merge queue Mar 11, 2025
Merged via the queue into main with commit 966bfff Mar 11, 2025
6 checks passed
@KyleJu KyleJu deleted the mis-impl-spanner branch March 11, 2025 18:38
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