This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Include bundled aggregations for the latest event in a thread #12273
Include bundled aggregations for the latest event in a thread #12273
Changes from 30 commits
797dd9e
5065c10
f0ab01f
d78ca4c
5a1c218
560a4ac
3f8bd1f
60ac6b4
af4c814
a63d62a
cf96c0a
d247e72
2a64c41
14ff585
a8c02b4
5e18d24
c89d227
8fe3029
823a6b1
db0ccce
87dc36a
d87dcba
8c65ace
1ccde00
6951c83
566b66c
c48b220
586943c
36ec434
c499757
d8d2879
34ee419
53fda7f
bd886bb
4f7132c
98d73e9
6bcb2dc
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved the filtering to here (instead of
_inject_bundled_aggregations
) as this better matches what we already did for annotations and edits. (See below, near line 411.)This should avoid requesting data from the database which we will just throw away later on.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not following this. "must have" according to whom? Evidently it doesn't have a thread relation, otherwise we wouldn't have to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest event is an event which has a
rel_type
=m.thread
to an event. (That's what we just searched for above.) The latest events are new events found, not part of the original input set, so we're expanding the information we calculated above.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully 4f7132c clarifies this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup, much clearer, thanks.