Skip to content

Conversation

@michaelkedar
Copy link
Member

Use the new coarse version matching to filter database queries, and remove all code that uses Bug entities from the API

@michaelkedar
Copy link
Member Author

/gemini review

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces coarse version filtering to optimize database queries and removes legacy code that uses Bug entities. The overall direction is good, but there's a critical issue with the new Datastore query and its corresponding index. The query as written uses two inequality filters with a sort order on a different property, which Datastore does not support and will cause runtime failures. I've provided suggestions to correct the query and the index. Additionally, I've included a suggestion to improve the error handling for better efficiency and to address a TODO in the code.

@michaelkedar michaelkedar marked this pull request as ready for review January 20, 2026 23:57
@michaelkedar michaelkedar merged commit 170be5e into google:master Jan 21, 2026
19 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.

2 participants