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

gitserver: Extract repository service in gRPC #61807

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

eseliger
Copy link
Member

@eseliger eseliger commented Apr 11, 2024

This PR moves the Fetch and Delete operations onto a separate service.

With that, we also disallow consumers of the internal/gitserver.Client
interface to use these methods. Repo-updaters scheduler has authority
over this and it should not be interfered with. If a caller wants to make
a scheduling suggestion, it will be able to talk to repo-updater.

This prepares for a better scheduler that has full control of the operations
running.

Test plan:

E2E and integration tests will verify that repos are still cloned properly.

@cla-bot cla-bot bot added the cla-signed label Apr 11, 2024
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch from 05576fd to 314d3a0 Compare April 11, 2024 21:07
@github-actions github-actions bot added team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all labels Apr 11, 2024
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch 6 times, most recently from fd71cf5 to d352fab Compare April 12, 2024 22:48
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch from d352fab to d0e7679 Compare April 13, 2024 23:11
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch from d0e7679 to 6f6f001 Compare April 15, 2024 13:43
@eseliger eseliger marked this pull request as ready for review April 15, 2024 13:44
@eseliger eseliger requested a review from a team April 15, 2024 13:44
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch from 6f6f001 to c34062f Compare April 15, 2024 17:20
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch 2 times, most recently from e0d352d to ef4b95b Compare April 17, 2024 14:20
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch from ef4b95b to 21c9dbe Compare April 17, 2024 20:36
This PR moves the Fetch and Delete operations onto a separate service.

With that, we also disallow consumers of the internal/gitserver.Client
interface to use these methods. Repo-updaters scheduler has authority
over this and it should not be interfered with. If a caller wants to make
a scheduling _suggestion_, it will be able to talk to repo-updater.

This prepares for a better scheduler that has full control of the operations
running.

Test plan:

E2E and integration tests will verify that repos are still cloned properly.
@eseliger eseliger force-pushed the es/04-11-gitserverextractrepositoryserviceingrpc branch from 21c9dbe to 2ea4046 Compare April 18, 2024 14:52
@eseliger eseliger merged commit b64422d into main Apr 18, 2024
Copy link
Member Author

Merge activity

@eseliger eseliger deleted the es/04-11-gitserverextractrepositoryserviceingrpc branch April 18, 2024 18:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla-signed team/product-platform team/source Tickets under the purview of Source - the one Source to graph it all
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants