Repository navigation
feat: app analytics - #8434
feat: app analytics#8434fetchfern wants to merge 17 commits into
Conversation
Pull request changelogAppAddedChangedDeprecatedRemovedFixedSecurityWebsiteAddedChangedDeprecatedRemovedFixedSecurityHostingAddedChangedDeprecatedRemovedFixedSecurity |
91084bb to
8e0ce72
Compare
|
Tick the box to add this pull request to the merge queue (same as
|
[Medium impact] The PR adds a bounded analytics path and database table for app events. The new version check needs a coordinated update before merging because it breaks dependent PR #8450. Reviews (2) · Last reviewed commit: "fix(analytics-types): loader_version and..." · Reviewed by Greptile |
| if let AppEventType::InstanceStart { | ||
| game_version, | ||
| loader_version, | ||
| .. | ||
| } = &event.event |
There was a problem hiding this comment.
The new match breaks PR #8450 when it picks up these changes. That PR changes AppEventType::InstanceStart to contain only info: InstanceInfo, so this pattern can no longer match game_version and loader_version directly. Update this check alongside that shape change so the stacked PR still compiles.
Prompt To Fix With AI
This is a comment left during a code review.
Path: packages/modrinth-app-analytics-types/src/http/extract.rs
Line: 181-185
Comment:
**Dependent PR stops compiling**
The new match breaks PR #8450 when it picks up these changes. That PR changes `AppEventType::InstanceStart` to contain only `info: InstanceInfo`, so this pattern can no longer match `game_version` and `loader_version` directly. Update this check alongside that shape change so the stacked PR still compiles.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
No description provided.