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

gitserver: Implement CommitLog using Commits #62518

Merged
merged 1 commit into from
May 10, 2024

Conversation

eseliger
Copy link
Member

@eseliger eseliger commented May 8, 2024

This PR reimplements what CommitLog does using Commits. This reduces the surface area, but also removes an API that currently wasn't respecting sub repo permissions properly.
Another side-effect of this is that we have to make more gRPC requests for indexing, but in return we accumulate less data in memory as we don't need to store all paths in all diffs here.

Closes #62103

Test plan:

Existing tests still pass, adjusted test suite as well.

@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 May 8, 2024
@eseliger eseliger marked this pull request as ready for review May 8, 2024 15:47
@eseliger eseliger requested a review from a team May 8, 2024 15:47
Copy link

graphite-app bot commented May 8, 2024

Graphite Automations

"Assign Source to gitserver PRs" took an action on this PR • (05/08/24)

3 assignees were added to this PR based on Geoffrey Gilmore's automation.

@eseliger eseliger force-pushed the es/05-08-gitservermovecommitsuniquetobranchtocallsite branch from ca98456 to c5a4188 Compare May 10, 2024 18:39
@eseliger eseliger force-pushed the es/05-08-gitserverimplementcommitlogusingcommits branch from 836e6b2 to c578d4c Compare May 10, 2024 18:39
@eseliger eseliger force-pushed the es/05-08-gitservermovecommitsuniquetobranchtocallsite branch from c5a4188 to 7d955ac Compare May 10, 2024 19:27
@eseliger eseliger force-pushed the es/05-08-gitserverimplementcommitlogusingcommits branch from c578d4c to 64cf62c Compare May 10, 2024 19:27
@eseliger eseliger force-pushed the es/05-08-gitservermovecommitsuniquetobranchtocallsite branch from 7d955ac to 99767c0 Compare May 10, 2024 19:29
@eseliger eseliger force-pushed the es/05-08-gitserverimplementcommitlogusingcommits branch from 64cf62c to e45f971 Compare May 10, 2024 19:29
@eseliger eseliger force-pushed the es/05-08-gitserverimplementcommitlogusingcommits branch from e45f971 to daa97f4 Compare May 10, 2024 20:16
@eseliger eseliger force-pushed the es/05-08-gitservermovecommitsuniquetobranchtocallsite branch from 99767c0 to 4c79f9f Compare May 10, 2024 22:25
@eseliger eseliger force-pushed the es/05-08-gitserverimplementcommitlogusingcommits branch from daa97f4 to b64a0f7 Compare May 10, 2024 22:25
@eseliger eseliger force-pushed the es/05-08-gitservermovecommitsuniquetobranchtocallsite branch from d83a205 to e9df5e4 Compare May 10, 2024 22:30
@eseliger eseliger force-pushed the es/05-08-gitserverimplementcommitlogusingcommits branch from b64a0f7 to 103f5e3 Compare May 10, 2024 22:30
@eseliger eseliger force-pushed the es/05-08-gitservermovecommitsuniquetobranchtocallsite branch from e9df5e4 to b130050 Compare May 10, 2024 23:08
Base automatically changed from es/05-08-gitservermovecommitsuniquetobranchtocallsite to main May 10, 2024 23:16
This PR reimplements what CommitLog does using Commits. This reduces the surface area, but also removes an API that currently wasn't respecting sub repo permissions properly.
Another side-effect of this is that we have to make more gRPC requests for indexing, but in return we accumulate less data in memory as we don't need to store all paths in all diffs here.

Test plan:

Existing tests still pass, adjusted test suite as well.
@eseliger eseliger force-pushed the es/05-08-gitserverimplementcommitlogusingcommits branch from 103f5e3 to 6af60b8 Compare May 10, 2024 23:16
Copy link
Member Author

eseliger commented May 10, 2024

Merge activity

  • May 10, 7:17 PM EDT: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.
  • May 10, 7:21 PM EDT: @eseliger merged this pull request with Graphite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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.

gitserver: Move CommitLog to new gRPC pattern
3 participants