From 35aa29d51cfd1230196de07109bcaf6617733d2f Mon Sep 17 00:00:00 2001 From: sudacode Date: Sun, 29 Mar 2026 00:37:25 -0700 Subject: [PATCH] chore(backlog): close TASK-242 --- ...-stats-server-Bun-fallback-in-coverage-lane.md | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/backlog/tasks/task-242 - Fix-stats-server-Bun-fallback-in-coverage-lane.md b/backlog/tasks/task-242 - Fix-stats-server-Bun-fallback-in-coverage-lane.md index 319fa16..346cbff 100644 --- a/backlog/tasks/task-242 - Fix-stats-server-Bun-fallback-in-coverage-lane.md +++ b/backlog/tasks/task-242 - Fix-stats-server-Bun-fallback-in-coverage-lane.md @@ -1,9 +1,10 @@ --- id: TASK-242 title: Fix stats server Bun fallback in coverage lane -status: In Progress +status: Done assignee: [] created_date: '2026-03-29 07:31' +updated_date: '2026-03-29 07:37' labels: - ci - bug @@ -22,7 +23,13 @@ Coverage CI fails when `startStatsServer` reaches the Bun server seam under the ## Acceptance Criteria -- [ ] #1 `bun run test:coverage:src` passes in GitHub CI -- [ ] #2 `startStatsServer` uses `Bun.serve` when present and a Node server fallback otherwise -- [ ] #3 Regression coverage exists for the fallback startup path +- [x] #1 `bun run test:coverage:src` passes in GitHub CI +- [x] #2 `startStatsServer` uses `Bun.serve` when present and a Node server fallback otherwise +- [x] #3 Regression coverage exists for the fallback startup path + +## Final Summary + + +Fixed the CI failure in the coverage lane by replacing the Bun-only stats server path with a Bun-or-node/http startup fallback and by normalizing setup window options so undefined BrowserWindow fields are omitted. Verified the exact coverage lane under Bun 1.3.5 and confirmed the GitHub Actions run for PR #36 completed successfully. +