Skip to content

Checks lookup using index - #2578

Merged
shangyian merged 1 commit into
mainfrom
checks-lookup-index
Sep 24, 2026
Merged

shangyian merged 1 commit into
mainfrom
checks-lookup-index

Conversation

@shangyian

Copy link
Copy Markdown
Collaborator

Summary

This change makes sure that checks are looked up using the right indexes. Previously we were ordering the candidates in SQL with length(namespace), but that means indexes can't be used, so the database was reading every deployment for a namespace.

Test Plan

  • PR has an associated issue: #
  • make check passes
  • make test shows 100% unit test coverage

Deployment Plan

@netlify

netlify Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for thriving-cassata-78ae72 canceled.

Name Link
🔨 Latest commit d02d165
🔍 Latest deploy log https://app.netlify.com/projects/thriving-cassata-78ae72/deploys/6ab4e34a19de6c000818f538

@shangyian
shangyian marked this pull request as ready for review September 24, 2026 08:23
@shangyian
shangyian merged commit df7bc97 into main Sep 24, 2026
26 checks passed
@shangyian
shangyian deleted the checks-lookup-index branch September 24, 2026 08:46
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.

1 participant