Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(verify): reserve private check reviewer before accept [V18,V2]

Corey Olson367833855a94
diff --git a/test/e2e-helpers.js b/test/e2e-helpers.js
index 5ca67e26..fa6f3158 100644
--- a/test/e2e-helpers.js
+++ b/test/e2e-helpers.js
@@ -267,6 +267,8 @@ function privateCheckSubmission({ install = '', timeout = '5m', check }) {
const review = join(box.dir, 'private-check-review');
box.git(box.repo, 'worktree', 'add', '-q', '--detach', review, commit);
assert.equal(box.run(review, 'join', 'api').code, 0);
+ const reserved = box.run(review, 'next', '--verify', '1', '--json');
+ assert.equal(reserved.code, 0, reserved.out || reserved.err);
return { ...box, review, commit };
}