Skip to content

Conversation

@jcscottiii
Copy link
Collaborator

Overhauls the EventSummary structure in workertypes to provide strongly-typed, structured data for downstream processing.

Key changes:

  • Introduced generic Change[T] type and strongly-typed value structs (BaselineValue, BrowserValue, FeatureRef) to replace raw strings in the summary. Note, there is an existing Change struct that we may want to eventually consolidate with this one.
  • Added SummaryHighlightType and BrowserName enums for type safety.
  • Switched browser_changes to a map keyed by BrowserName.
  • Add MaxHighlights variable and set it to 10,000 to make the Spanner summary the authoritative "hot" data source (as opposed to the non truncated blob in GCS). Note: We only anticipate 2k-3k features total so this is a very high limit.
  • Updated FeatureDiffV1SummaryGenerator to populate these structured fields.

@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt1 branch from ae36f69 to 5f201e1 Compare December 28, 2025 03:15
@jcscottiii jcscottiii force-pushed the jcscottiii/producer-wiring-pt9 branch from 86f01d3 to 6250caa Compare December 28, 2025 18:14
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt1 branch from 5f201e1 to 0662a36 Compare December 28, 2025 18:15
@jcscottiii jcscottiii force-pushed the jcscottiii/producer-wiring-pt9 branch from 6250caa to e6ad352 Compare December 28, 2025 22:28
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt1 branch from 0662a36 to afacfa9 Compare December 28, 2025 22:30
@jcscottiii jcscottiii force-pushed the jcscottiii/producer-wiring-pt9 branch from e6ad352 to 9b95286 Compare December 29, 2025 03:31
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt1 branch from afacfa9 to 0ed7b72 Compare December 29, 2025 03:33
@jcscottiii jcscottiii requested a review from jrobbins December 29, 2025 16:13
@jcscottiii jcscottiii force-pushed the jcscottiii/producer-wiring-pt9 branch from 9b95286 to 9e90d9a Compare January 13, 2026 19:15
Base automatically changed from jcscottiii/producer-wiring-pt9 to main January 13, 2026 20:12
Overhauls the `EventSummary` structure in `workertypes` to provide strongly-typed,
structured data for downstream processing.

Key changes:
- Introduced generic `Change[T]` type and strongly-typed value structs (`BaselineValue`,
  `BrowserValue`, `FeatureRef`) to replace raw strings in the summary.
  Note, there is an existing Change struct that we may want to eventually consolidate with this one.
- Added `SummaryHighlightType` and `BrowserName` enums for type safety.
- Switched `browser_changes` to a map keyed by `BrowserName`.
- Add `MaxHighlights` variable and set it to 10,000 to
  make the Spanner summary the authoritative "hot" data source (as opposed to the non truncated blob in GCS). Note: We only anticipate 2k-3k features total so this is a very high limit.
- Updated `FeatureDiffV1SummaryGenerator` to populate these structured fields.
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt1 branch from 0ed7b72 to 269ba37 Compare January 13, 2026 20:26
@jcscottiii jcscottiii enabled auto-merge January 13, 2026 20:26
@jcscottiii jcscottiii added this pull request to the merge queue Jan 13, 2026
Merged via the queue into main with commit 53b618c Jan 13, 2026
8 checks passed
@jcscottiii jcscottiii deleted the jcscottiii/push-delivery-worker-pt1 branch January 13, 2026 21:25
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