Skip to content

Conversation

@widatama
Copy link
Contributor

@widatama widatama commented Jan 5, 2026

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the MongoDB changestream aggregation pipelines in the crashes plugin to properly handle the _id field and ensure consistent field projection across all three event aggregators (crash, crash-session-start, and crash-session-update).

Key Changes:

  • Renamed _id to __id in changestream $project stages to avoid field name conflicts when projecting from fullDocument._id
  • Added missing fields (uid, up, up_extra) to ensure all necessary data is projected consistently
  • Updated lrid assignments to use fallback logic currEvent.__id || currEvent._id to support both changestream and fallback modes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@widatama widatama merged commit afe24a4 into newarchitecture Jan 7, 2026
14 of 16 checks passed
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.

3 participants