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

gitserver: Move implementation of HasCommitAfter to caller#62520

Merged
eseliger merged 1 commit into
mainfrom
es/05-08-gitservermoveimplementationofhascommitaftertocaller
May 10, 2024
Merged

gitserver: Move implementation of HasCommitAfter to caller#62520
eseliger merged 1 commit into
mainfrom
es/05-08-gitservermoveimplementationofhascommitaftertocaller

Conversation

@eseliger

@eseliger eseliger commented May 8, 2024

Copy link
Copy Markdown
Member

This is only used in one place, so we're moving the implementation to the caller. Gitserver client only exposes gRPC methods without additional logic on top.

Closes https://github.com/sourcegraph/sourcegraph/issues/61688

Test plan:

Kept the existing tests but rewrote them to test Commits instead so we don't lose coverage for this.

@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 17:16
@eseliger eseliger requested a review from a team May 8, 2024 17:16
@graphite-app graphite-app Bot assigned pjlast, eseliger and ggilmore and unassigned eseliger May 8, 2024
@eseliger eseliger force-pushed the es/gitserver-hascommitafter branch from cde2256 to 8ec8fdf Compare May 10, 2024 18:39
@eseliger eseliger force-pushed the es/05-08-gitservermoveimplementationofhascommitaftertocaller branch from e3977df to 18d5fad Compare May 10, 2024 18:39
@eseliger eseliger force-pushed the es/gitserver-hascommitafter branch from 8ec8fdf to c0e2968 Compare May 10, 2024 19:27
@eseliger eseliger force-pushed the es/05-08-gitservermoveimplementationofhascommitaftertocaller branch from 18d5fad to 4a5095f Compare May 10, 2024 19:27
@eseliger eseliger force-pushed the es/gitserver-hascommitafter branch from c0e2968 to 985143d Compare May 10, 2024 19:29
@eseliger eseliger force-pushed the es/05-08-gitservermoveimplementationofhascommitaftertocaller branch from 4a5095f to ba2b1e9 Compare May 10, 2024 19:29
@eseliger eseliger force-pushed the es/gitserver-hascommitafter branch from 985143d to 54e601c Compare May 10, 2024 20:16
@eseliger eseliger force-pushed the es/05-08-gitservermoveimplementationofhascommitaftertocaller branch from ba2b1e9 to 78320cc Compare May 10, 2024 20:16
@eseliger eseliger force-pushed the es/gitserver-hascommitafter branch from 54e601c to 6750cef Compare May 10, 2024 22:25
@eseliger eseliger force-pushed the es/05-08-gitservermoveimplementationofhascommitaftertocaller branch from 78320cc to 4585dee Compare May 10, 2024 22:25
@eseliger eseliger force-pushed the es/gitserver-hascommitafter branch from 6750cef to a4c639d Compare May 10, 2024 22:30
@eseliger eseliger force-pushed the es/05-08-gitservermoveimplementationofhascommitaftertocaller branch from 4585dee to 65dc9a0 Compare May 10, 2024 22:30
@eseliger eseliger force-pushed the es/gitserver-hascommitafter branch from a4c639d to 36c1679 Compare May 10, 2024 23:24
Base automatically changed from es/gitserver-hascommitafter to main May 10, 2024 23:29
This is only used in one place, so we're moving the implementation to the caller. Gitserver client only exposes gRPC methods without additional logic on top.

Test plan:

Kept the existing tests but rewrote them to test Commits instead so we don't lose coverage for this.
@eseliger eseliger force-pushed the es/05-08-gitservermoveimplementationofhascommitaftertocaller branch from 65dc9a0 to 7d13e41 Compare May 10, 2024 23:30

eseliger commented May 10, 2024

Copy link
Copy Markdown
Member Author

Merge activity

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

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.

gitserver: Move HasCommitAfter to new gRPC pattern

3 participants