Skip to content
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

codeintel: Add blocklist for autoindexing #51578

Merged
merged 5 commits into from
May 9, 2023
Merged

Conversation

efritz
Copy link
Contributor

@efritz efritz commented May 8, 2023

Fixes #51430. This PR adds the ability to mark repos as blocked for index scheduling and for inference. At the point where these repos are about to perform such an action, it is logged and no-op'd.

This should be exposed via GraphQL eventually but isn't a priority for this PR.

Test plan

Updated unit tests, tested locally.

@efritz efritz added team/graph Graph Team (previously Code Intel/Language Tools/Language Platform) team/language-platform labels May 8, 2023
@efritz efritz self-assigned this May 8, 2023
@cla-bot cla-bot bot added the cla-signed label May 8, 2023
@efritz efritz force-pushed the ef/autoindexing-blocklist branch 2 times, most recently from 99ef9a7 to a151f47 Compare May 9, 2023 13:13
@efritz efritz force-pushed the ef/autoindexing-blocklist branch from a151f47 to 89c6500 Compare May 9, 2023 13:14
@efritz efritz requested a review from cesrjimenez May 9, 2023 13:15
@efritz efritz marked this pull request as ready for review May 9, 2023 20:59
@sourcegraph-bot
Copy link
Contributor

sourcegraph-bot commented May 9, 2023

Codenotify: Notifying subscribers in CODENOTIFY files for diff dc2eb7a...c81dd92.

Notify File(s)
@Strum355 enterprise/internal/codeintel/autoindexing/internal/background/dependencies/mocks_test.go
enterprise/internal/codeintel/autoindexing/internal/jobselector/job_selector.go
enterprise/internal/codeintel/autoindexing/internal/store/config_repo.go
enterprise/internal/codeintel/autoindexing/internal/store/config_repo_test.go
enterprise/internal/codeintel/autoindexing/internal/store/observability.go
enterprise/internal/codeintel/autoindexing/internal/store/store.go
enterprise/internal/codeintel/autoindexing/mocks_test.go
enterprise/internal/codeintel/autoindexing/service.go
enterprise/internal/codeintel/autoindexing/service_test.go

@efritz efritz merged commit d6250d3 into main May 9, 2023
@efritz efritz deleted the ef/autoindexing-blocklist branch May 9, 2023 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed team/graph Graph Team (previously Code Intel/Language Tools/Language Platform)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

autoindexing: Add a block list for inference
3 participants