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

(POC) Integrate Batch Changes into GitHub App integration #31533

@eseliger

Description

@eseliger

GitHub Apps are being introduced in other parts of the system, currently mostly for Cloud but I heard that it might expand to on-premise as well.
In FY24 for Cloud, but maybe also sooner for on-prem we might want to integrate into that workflow.

A couple of key benefits I could see that giving us:

  • GitHub Apps rate limit thresholds are relatively high
  • GitHub Apps will be the onboarding flow for GitHub.com users into Sourcegraph, and currently, Batch Changes has its own, separate setup process, potentially preventing more widespread adoption "I don't get enough value out of a 3 changeset Batch Change right now when I need to do 20 minutes of docs reading and setup work before I can get started". The GitHub App could simply give us an access token and Batch Changes would never need a separate one. (Pending figuring out if we can support SSH pushes with that, too)
  • GitHub Apps support webhooks out of the box, so no more stale changesets or nudging to set up webhooks

Overall, that combined with SSBC would mean we can run truly 0-conf batch changes. A user could just be prompted with a change and they can apply it. That simple.

Customers wanting this per product gaps as of 2026-06-26 (total ARR impact $2.6M):

image.png

POC Implementation can be found here.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

Status
🏗 In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions