Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

codeintel: Add blocklist for autoindexing#51578

Merged
efritz merged 5 commits into
mainfrom
ef/autoindexing-blocklist
May 9, 2023
Merged

codeintel: Add blocklist for autoindexing#51578
efritz merged 5 commits into
mainfrom
ef/autoindexing-blocklist

Conversation

@efritz

@efritz efritz commented May 8, 2023

Copy link
Copy Markdown
Contributor

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

sourcegraph-bot commented May 9, 2023

Copy link
Copy Markdown
Contributor

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

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