Skip to content

Commit f1453c7

Browse files
authored
fix(ci): heal red main - dialog reopen under isolation + startup baseline (#125800)
Two landed-PR races left main red (run 32131816085): - #125692's rewritten markdown-tables dialog test drives every interaction through direct handler calls except the reopen, which used a raw expand.click() that only worked via a leaked cross-file document listener in the shared lane; #125766 moved the file to the isolated lane where no such listener exists. Reopen now uses the file's own handler idiom. - Accumulated startup-JS creep from landed features put main 50 B over its gzip budget (344395 B vs 343289 B baseline + 1056 B tolerance). Baseline updated to main's CI-measured bytes via the script's --update-baseline contract.
1 parent d412c6b commit f1453c7

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"startupJsGzipBytes": 343289,
3-
"reason": "Typed update recovery state, failure projection, and sidebar review routing",
2+
"startupJsGzipBytes": 344395,
3+
"reason": "Absorb accumulated startup creep from landed PRs to current main CI bytes (main red at 344395 B vs 343289 B baseline; run 32131816085)",
44
"updatedAt": "2026-08-18"
55
}

‎ui/src/components/markdown-tables.test.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ describe("Markdown table interactions", () => {
176176
expect(document.querySelector(".markdown-table-dialog")).toBeNull();
177177
expect(document.activeElement).toBe(expand);
178178

179-
expand.click();
179+
// Reopen through the handler like every other interaction here: the file
180+
// runs in the isolated lane, so no shared-graph document listener exists
181+
// to service a raw click().
182+
handleMarkdownTableInteraction(markdownTableInteractionEvent(expand));
180183
const reopenedDialog = document.querySelector<HTMLDialogElement>(".markdown-table-dialog")!;
181184

182185
reopenedDialog.querySelector<HTMLButtonElement>(".markdown-table-dialog__close")!.click();

0 commit comments

Comments
 (0)