Skip to content

Validate ProductUsageEvent against analytics catalog#570

Merged
jjoonleo merged 2 commits into
mainfrom
feature/issue-548-product-usage-event-catalog
Jun 28, 2026
Merged

Validate ProductUsageEvent against analytics catalog#570
jjoonleo merged 2 commits into
mainfrom
feature/issue-548-product-usage-event-catalog

Conversation

@jjoonleo

Copy link
Copy Markdown
Contributor

Summary

  • Add an in-code first-release Product Usage Event catalog with typed workflow/result/parameter definitions.
  • Route schedule_created through ProductUsageEvent.scheduleCreated and reject unknown events, non-allowlisted parameters, forbidden fields, and nested map values before analytics service logging.
  • Add catalog tests that compare the in-code catalog to docs/Analytics-Event-Catalog.md and preserve disabled collection behavior.

Closes #548

Tests

  • dart run build_runner build --delete-conflicting-outputs
  • flutter analyze
  • flutter test

@jjoonleo jjoonleo merged commit cc18236 into main Jun 28, 2026
1 of 4 checks passed
@jjoonleo jjoonleo deleted the feature/issue-548-product-usage-event-catalog branch June 28, 2026 13:24
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.

Type and validate ProductUsageEvent against the analytics catalog

1 participant