Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"check:declared-population-live": "node scripts/check-declared-population-live.mjs --self-test && node scripts/check-declared-population-live.mjs",
"check:pm-half-states": "node scripts/pm/check-half-states.mjs --self-test",
"check:issue-citations": "node scripts/check-issue-citations.mjs --self-test",
"check:pm-record-recognisers": "node scripts/pm/record-recognisers.mjs --self-test && node scripts/pm/check-owed-reviews.mjs --self-test",
"check:pm-record-recognisers": "node scripts/pm/record-recognisers.mjs --self-test && node scripts/pm/check-owed-reviews.mjs --self-test && node scripts/pm/mailbox-open.mjs --self-test && node scripts/pm/fleet-roster.mjs --self-test",
"check:pm-prior-rulings": "node scripts/pm/check-prior-rulings.mjs --self-test",
"check:pm-stale-finding": "node scripts/pm/sweep-stale-finding.mjs --self-test",
"check:pm-write-pace": "node scripts/pm/write-pace.mjs --self-test",
Expand Down
4 changes: 3 additions & 1 deletion scripts/pm/fleet-roster.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ const SELF_TEST_BATTERIES = Object.freeze({
'arguments: modes and every refusal': 9,
'seat titles: lane, seat, repo, status, account, project': 13,
'wall notes, closing refs, verdicts and mailboxes': 13,
'the fixture snapshot: rows for the three repos': 17,
'the fixture snapshot: rows for the three repos': 18,
'the rendered body: marker, columns, footer, determinism': 9,
'refusing to overwrite what is not the roster': 6,
'the CLI: fixture runs offline, usage errors are exit 2': 6,
Expand Down Expand Up @@ -646,6 +646,8 @@ async function selfTest() {
'objectui:domain:ui:1',
'objectui:domain:ui:4',
]);
const laneListed = (lane) => (lane.includes(':') ? mailboxOpen.SEAT_LANE_KINDS.includes(lane.slice(0, lane.indexOf(':'))) : mailboxOpen.SEAT_BARE_LANES.includes(lane));
t('every fixture lane is a kind or bare word from the opener\'s lane-word lists — imported, not re-spelled', [...new Set(rows.map((r) => r.lane))].map((lane) => `${lane}:${laneListed(lane)}`), ['repo:hotcrm:true', 'domain:devx:true', 'domain:skills:true', 'triage:true', 'domain:ui:true']);
t('the non-seat issue in the seat list is skipped', rows.some((r) => r.post === 999), false);
t('today’s three seats carry the right accounts', [row(19287).account, row(6023).account, row(1353, 'objectstack-ai/hotcrm').account], ['os-elon-musk', 'os-elon-musk', 'os-elon-musk']);
t('devx seat 1: its assigned dispatched card, not seat 2’s', row(6023).inFlight, [{ repo: 'objectstack-ai/objectstack', number: 25416 }]);
Expand Down
Loading