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(next): finish focused review control setup [N2,B16]

Corey Olson253c2b7fad12
diff --git a/test/line-settings.test.js b/test/line-settings.test.js
index 5b52454e..efe539f8 100644
--- a/test/line-settings.test.js
+++ b/test/line-settings.test.js
@@ -67,10 +67,11 @@ test('the settings inventory exposes board line values and defaults without audi
} finally {
for (const [key, value] of Object.entries(previous)) { if (value === undefined) delete process.env[key]; else process.env[key] = value; }
}
- assert.equal(rows.length, 8);
+ assert.equal(rows.length, 9);
assert.deepEqual(rows.find(row => row.key === 'line.wipPerReviewer'), { key: 'line.wipPerReviewer', scope: 'board',
board: store.boardId(board), root: box.repo, value: 2, default: false,
source: join(box.repo, '.git', 'pullboard', 'board.sqlite'), origin: 'configured' });
+ assert.equal(rows.find(row => row.key === 'line.focusMilestone').value, false);
assert.equal(rows.find(row => row.key === 'line.reviewsFirst').value, false);
assert.equal(rows.find(row => row.key === 'line.reviewsFirst').origin, 'default');
assert.doesNotMatch(JSON.stringify(rows), /PRIVATE_REASON_CANARY|activeReviewers|reviewMedianMinutes/u);
diff --git a/test/next-order.test.js b/test/next-order.test.js
index 9d5f521a..844832ca 100644
--- a/test/next-order.test.js
+++ b/test/next-order.test.js
@@ -918,7 +918,7 @@ test('next offers the focus milestone first across review and build modes [N2,B1
const review = box.json(box.runAs(box.session, owner.root, 'next', '--verify', '--json'));
assert.equal(review.item.item_id, outside, 'review-only next never silently claims the focused build');
assert.equal(review.review, true);
- box.json(box.runAs(box.session, owner.root, 'release', String(outside), '--json'));
+ box.json(box.runAs(box.session, owner.root, 'release', String(outside), '--note', 'Continue the private focus ordering control', '--json'));
const focusedReview = box.add('api', 'Focused review before focused build');
const updated = store.openBoard(join(box.repo, '.git', 'pullboard', 'board.sqlite'));
try {