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
7 changes: 7 additions & 0 deletions pm-stack/aggregator/bunfig.toml
Original file line number Diff line number Diff line change
@@ -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/**"]
4 changes: 2 additions & 2 deletions pm-stack/aggregator/src/render.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7497,7 +7497,7 @@ export function queuePanelHtml(snapshot: QueueSnapshot | null): string {
`<tr><td>${esc(q.queue)}</td><td>${q.queued}</td><td>${q.claimed}</td><td>${q.parked}</td><td>${q.blocked}</td><td>${q.done}</td><td>${esc(age(q.oldestQueuedAgeMs))}</td><td>${q.terminalEvents24h} / ${q.terminalEvents7d}</td></tr>`,
)
.join("");
const streams = `<table><thead><tr><th>Queue stream</th><th>Queued</th><th>Claimed</th><th>Parked</th><th>Blocked</th><th>Done</th><th>Oldest queued</th><th>Terminal 24h / 7d</th></tr></thead><tbody>${streamRows}</tbody></table>`;
const streams = `<table><caption>Queue streams</caption><thead><tr><th scope="col">Queue stream</th><th scope="col">Queued</th><th scope="col">Claimed</th><th scope="col">Parked</th><th scope="col">Blocked</th><th scope="col">Done</th><th scope="col">Oldest queued</th><th scope="col">Terminal 24h / 7d</th></tr></thead><tbody>${streamRows}</tbody></table>`;
const idItems = snapshot.tasks.filter(
(task) =>
task.repo === "developing-today/code" &&
Expand All @@ -7513,7 +7513,7 @@ export function queuePanelHtml(snapshot: QueueSnapshot | null): string {
})
.join("");
const items = idItems.length
? `<h3>Claimed &amp; parked id items (${idItems.length})</h3><table><thead><tr><th>Task</th><th>Issue</th><th>Status</th><th>Worker / lane</th><th>Stage</th></tr></thead><tbody>${itemRows}</tbody></table>`
? `<h3>Claimed &amp; parked id items (${idItems.length})</h3><table><caption>Claimed &amp; parked id items</caption><thead><tr><th scope="col">Task</th><th scope="col">Issue</th><th scope="col">Status</th><th scope="col">Worker / lane</th><th scope="col">Stage</th></tr></thead><tbody>${itemRows}</tbody></table>`
: `<h3>Claimed &amp; parked id items</h3><p class="muted">None in the current snapshot.</p>`;
return `${head}${sourceLine}${streams}${items}`;
}
Expand Down
6 changes: 5 additions & 1 deletion pm-stack/aggregator/test/actions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down