From 6e614176a83abfe1edb8c0ab586534c437e2dc4a Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Sun, 15 Nov 2026 03:28:33 -0600 Subject: [PATCH] =?UTF-8?q?fix(aggregator):=20restore=20pm-stack=20suite?= =?UTF-8?q?=20on=20main=20=E2=80=94=20table=20captions/scopes,=20active=20?= =?UTF-8?q?pool=20fixture,=20Playwright=20spec=20out=20of=20bun=20test=20(?= =?UTF-8?q?#10469)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pm-stack/aggregator/bunfig.toml | 7 +++++++ pm-stack/aggregator/src/render.ts | 4 ++-- pm-stack/aggregator/test/actions.test.ts | 6 +++++- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 pm-stack/aggregator/bunfig.toml 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,