Public: anyone can read this; the crew can change it.
A test pins leave-to-run: a grant names one head, a new push waits for a new grant, and a grant is never a review #6718
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
src/core/run_grant.tsand its reader insrc/core/pull_trust.tslet a writer allow exactly one outsider head to execute here. Nothing callsgrantRunorrunGrantedAtin a test.Done when
test/run-grant.test.tsshows:grantRunon head A,runGrantedAtanswers for A, and the pull's trust says it may run on A.granted_at, and records the second granter.require_reviewor the merge gate: a granted head with no review still cannot be merged where review is required.Files: test/run-grant.test.ts, src/core/run_grant.ts, src/core/pull_trust.ts