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

gitserver: Sunset Exec endpoint#62774

Merged
eseliger merged 1 commit into
mainfrom
es/05-17-gitserversunsetexecendpoint
Jun 6, 2024
Merged

gitserver: Sunset Exec endpoint#62774
eseliger merged 1 commit into
mainfrom
es/05-17-gitserversunsetexecendpoint

Conversation

@eseliger

@eseliger eseliger commented May 17, 2024

Copy link
Copy Markdown
Member

After we finally migrated all calls to Exec by proper API offerings, we're finally not using this API anymore.
The previous PR deprecated this endpoint, and this one will fully remove it. We can merge it early June when after the next release was cut.

As a result of this, gitserver no longer exposes a blanket exec endpoint that could pose several risks from running dangerous commands to just running commands that could cause resource exhaustion.

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

Test plan:

This endpoint is unused, CI did not find any issues from removing it.

@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 17, 2024
@eseliger eseliger marked this pull request as ready for review May 17, 2024 21:59
@eseliger eseliger requested a review from a team May 17, 2024 21:59
@eseliger eseliger force-pushed the es/05-17-gitserverdeprecateexecandremovelocalgit branch from 7f51c08 to 858cb3d Compare May 21, 2024 15:15
@eseliger eseliger force-pushed the es/05-17-gitserversunsetexecendpoint branch from 45db510 to 3e86bd6 Compare May 21, 2024 15:15
@eseliger eseliger force-pushed the es/05-17-gitserverdeprecateexecandremovelocalgit branch from 858cb3d to 44b9087 Compare May 21, 2024 16:06
Base automatically changed from es/05-17-gitserverdeprecateexecandremovelocalgit to main May 21, 2024 16:19
@eseliger eseliger force-pushed the es/05-17-gitserversunsetexecendpoint branch from 3e86bd6 to d0fbdc8 Compare May 21, 2024 17:36
After we finally migrated all calls to Exec by proper API offerings, we're finally not using this API anymore.
The previous PR deprecated this endpoint, and this one will fully remove it. We can merge it early June when after the next release was cut.

As a result of this, gitserver no longer exposes a blanket exec endpoint that could pose several risks from running dangerous commands to just running commands that could cause resource exhaustion.

Test plan:

This endpoint is unused, CI did not find any issues from removing it.
@eseliger eseliger force-pushed the es/05-17-gitserversunsetexecendpoint branch from d0fbdc8 to 1708397 Compare June 6, 2024 12:24
@eseliger eseliger merged commit 9183f52 into main Jun 6, 2024
@eseliger eseliger deleted the es/05-17-gitserversunsetexecendpoint branch June 6, 2024 12:36
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: Sunset Exec endpoint

2 participants