Skip to content

batches: add `src batch remote -f spec.yml` for SSBC execution

Warren Gifford requested to merge aharvey/ssbc into main

Created by: LawnGnome

This PR depends on sourcegraph/sourcegraph#30448.

Given the feedback from the draft version of this PR, the new command is src batch remote -f spec.yml. I promise that I'll figure out how to have commander handle optional sub-sub-commands if we decide to add a src batch remote list or similar later.

Although it's a few hundred lines, this is basically 95% boilerplate — the bulk of the logic is really in the backend PR, and backend service methods that were created early in the SSBC development process. We just have lots of (IMHO) uninteresting code to set up the command, wrap the GraphQL queries and mutations, and report progress.

Closes sourcegraph/sourcegraph#26503.

Merge request reports

Loading