Skip to content

Add compound index for repetition release lookups - #686

Merged
neSpecc merged 4 commits into
masterfrom
perf/repetition-group-release-index
Oct 14, 2026
Merged

neSpecc merged 4 commits into
masterfrom
perf/repetition-group-release-index

Conversation

@alisawavezen12

@alisawavezen12 alisawavezen12 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Summary
Add a { groupHash: 1, release: 1 } index to repetition collections created for new projects.
Add a migration to create the index on existing repetitions:* collections in the events database.
Update the project creation test to verify the new index.
The migration uses MONGO_EVENTS_DB_URL to connect to the events database.

The release validator uses this index to find which releases each event appeared in, so it can determine when an event is resolved. codex-team/hawk.workers#590

@neSpecc
neSpecc merged commit 2b17e0a into master Oct 14, 2026
7 checks passed
@neSpecc
neSpecc deleted the perf/repetition-group-release-index branch October 14, 2026 14:23
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.

2 participants