Repository navigation
feat(aggregator): item activity and coverage-aware river filters (#3323) #5266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
cdcfad1
wip: preserve task 8947 activity changes
6631105
Merge remote-tracking branch 'origin/main' into queue/8947-3323-item-…
276e9fc
feat(aggregator): add item activity and river filters
26d3d41
Merge remote-tracking branch 'origin/main' into queue/8947-3323-item-…
9728b71
fix(aggregator): disposition Codex P2s on PR #5266 — instant ingestio…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
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.
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.
For stores migrated from v1,
migrateV1Event()preserves the original event timestamp asingestedAt, including supported ISO offsets and timestamps without fractional seconds. Comparing these strings lexicographically can select an incorrect snapshot cutoff:2026-11-04T15:00:00+08:00represents 07:00Z but sorts above native ingestion timestamps around 08:00Z. Consequently, a backfill ingested at 08:01Z after the first page can pass the snapshot cutoff and appear on a subsequent page, violating fixed-snapshot pagination. Compare parsed instants, or normalize ingestion timestamps before both selecting and applying the cutoff.Useful? React with 👍 / 👎.
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.
Fixed in 9728b71: pageEvents now compares ingestion timestamps as instants (Date.parse) both when selecting the snapshot maximum and when filtering events against the snapshot, so migrated v1 rows with UTC offsets or missing fractional seconds are ordered correctly. Regression test in test/events.test.ts ("pageEvents compares ingestion timestamps as instants, not strings"); full aggregator suite passes on the laptop (1521 pass, 0 fail).