diff --git a/pm-stack/aggregator/bunfig.toml b/pm-stack/aggregator/bunfig.toml new file mode 100644 index 0000000000..d91924ef18 --- /dev/null +++ b/pm-stack/aggregator/bunfig.toml @@ -0,0 +1,7 @@ +# MOB-00 (#9467): test/browser/*.spec.ts are Playwright acceptance +# specs, run by the browser job via playwright.config.ts +# (pm-aggregator-tests.yml) — not by bun test. Loading them under +# bun test registers Playwright hooks outside a Playwright run and +# fails the suite (#10469), so bun test ignores that directory. +[test] +pathIgnorePatterns = ["**/test/browser/**"] diff --git a/pm-stack/aggregator/src/render.ts b/pm-stack/aggregator/src/render.ts index b4c9022d85..8fa24cdea8 100644 --- a/pm-stack/aggregator/src/render.ts +++ b/pm-stack/aggregator/src/render.ts @@ -7497,7 +7497,7 @@ export function queuePanelHtml(snapshot: QueueSnapshot | null): string { `${esc(q.queue)}${q.queued}${q.claimed}${q.parked}${q.blocked}${q.done}${esc(age(q.oldestQueuedAgeMs))}${q.terminalEvents24h} / ${q.terminalEvents7d}`, ) .join(""); - const streams = `${streamRows}
Queue streamQueuedClaimedParkedBlockedDoneOldest queuedTerminal 24h / 7d
`; + const streams = `${streamRows}
Queue streams
Queue streamQueuedClaimedParkedBlockedDoneOldest queuedTerminal 24h / 7d
`; const idItems = snapshot.tasks.filter( (task) => task.repo === "developing-today/code" && @@ -7513,7 +7513,7 @@ export function queuePanelHtml(snapshot: QueueSnapshot | null): string { }) .join(""); const items = idItems.length - ? `

Claimed & parked id items (${idItems.length})

${itemRows}
TaskIssueStatusWorker / laneStage
` + ? `

Claimed & parked id items (${idItems.length})

${itemRows}
Claimed & parked id items
TaskIssueStatusWorker / laneStage
` : `

Claimed & parked id items

None in the current snapshot.

`; return `${head}${sourceLine}${streams}${items}`; } diff --git a/pm-stack/aggregator/test/actions.test.ts b/pm-stack/aggregator/test/actions.test.ts index f93b5ffd6d..76861b233e 100644 --- a/pm-stack/aggregator/test/actions.test.ts +++ b/pm-stack/aggregator/test/actions.test.ts @@ -701,7 +701,11 @@ describe("status-request + session renders (#1154/#1156)", () => { title: "Request status change action", state: "open", contentKind: "issue", - status: "Todo", + // #5082: only active work (In Progress / In Review) or epics render + // the full card with the status-request form; every other status + // renders compact with action badges only. This fixture exercises + // the form, so the item is active work. + status: "In Progress", area: null, horizon: null, kind: null,