gstack icon indicating copy to clipboard operation
gstack copied to clipboard

ship-queue: support a trusted local test lane for repos without hosted CI

Open DanCanadian opened this issue 1 week ago • 1 comments

A PR with a current ship receipt and a passing local pregate is refused by gstack-ship-queue ready when its head has no GitHub checks (QUEUE_NOT_READY: CI at that exact head is not green). This is a repo with GitHub PRs but no hosted CI (Actions unavailable), so no head ever has checks.

Please add an opt-in lane configured by the base branch's ship policy:

  • accept a trusted local test receipt bound to the exact head and tree, or a named commit-status context from a configured GitHub App / login;
  • keep refusing missing, stale, failed, pending or unreadable evidence;
  • test the lane in a fixture repo with no Actions workflows.

Today the only paths are the interactive NO_CHECKS confirmation in /land-and-deploy, or posting a commit status from a local runner and relying on ready counting status contexts, which any account with write access can also post under the same name.

Related: #3991 (local repos with no PR and no CI; this one has PRs).

DanCanadian avatar Nov 23 '26 17:11 DanCanadian

Thanks for the careful request. We're going to close this one. gstack's merge check is built around evidence that someone without write access can't fake, and a repo with no hosted CI would need a new trust path inside that check: a local receipt or a status from a named app, each with its own way to go wrong. We can't test that against our own setup, which always has hosted CI, so we'd be maintaining a security-relevant path nobody here runs.

For a repo without Actions today, the NO_CHECKS confirmation in /land-and-deploy is the supported route. If hosted CI is off for a reason that many gstack users share, please reopen with that detail and we'll look again.

capy-ai[bot] avatar Nov 24 '26 16:11 capy-ai[bot]