Files
SubMiner/backlog/tasks/task-242 - Fix-stats-server-Bun-fallback-in-coverage-lane.md

820 B

id, title, status, assignee, created_date, labels, milestone, dependencies, references, priority
id title status assignee created_date labels milestone dependencies references priority
TASK-242 Fix stats server Bun fallback in coverage lane In Progress
2026-03-29 07:31
ci
bug
cleanup
PR #36
high

Description

Coverage CI fails when startStatsServer reaches the Bun server seam under the maintained source lane. Add a runtime fallback that works when Bun.serve is unavailable and keep the stats-server startup path testable.

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