Skip to content
Snippets Groups Projects

search contexts: improve validation and create/update perf

Merged Administrator requested to merge rn/improve-large-search-contexts-update-perf into main

Created by: novoselrok

See https://github.com/sourcegraph/sourcegraph/pull/26588 for first attempt

Instead of validating and retrieving the ID for each repository on its own, we can bulk request the data for all repositories and validate them all at once. This will speed up the client UX of validating and creating/updating search contexts.

We can do a similar improvement on the backend where we extract all repositories in a single query.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading