• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dangernoodle-io / TaipanMiner / 25617700713 / 2
90%
main: 90%

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 02:33AM UTC
Files 28
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 May 2026 02:30AM UTC coverage: 89.191%. Remained the same
25617700713.2

push

github

web-flow
fix(webui): make e2e monocart coverage actually emit lcov entries (#365)

* fix(webui): make e2e monocart coverage actually emit lcov entries

The sourceFilter was rejecting all files because monocart extracts just
the filename (e.g., 'main.ts') from V8 coverage URLs, but the regex test
/(^|\/)src\//  expected the full path with 'src/' prefix. Changed the
filter to match against filenames and extensions, relying on entryFilter
to pre-filter non-source content. Updated sourcePath to normalize paths
by adding back the 'src/' prefix for files that lost it during extraction.

Added reportAnonymousScripts: true to the JS coverage options to ensure
all coverage data is captured. Anonymous scripts are still present in the
output (internal Vite code) but are harmless; actual source files are now
properly represented with full src/ paths in lcov.info.

Before: lcov.info was 0 bytes (empty)
After: lcov.info is ~17KB with 37 source files including all 8 page components

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

* fix: correct sourcePath extraction for E2E coverage lcov.info

The monocart-coverage-reports sourcePath callback receives the coverage entry info
with the full V8 URL (e.g., http://127.0.0.1:5173/src/pages/Dashboard.svelte) during
the initial V8 processing phase, but receives only the basename (e.g., Dashboard.svelte)
during the later istanbul phase when merging coverage data.

The fix has two parts:
1. Extract the correct source path from info.url when available (V8 phase)
2. Pre-build a filesystem map of source files by basename for fallback resolution
   during the istanbul phase when URL data is unavailable

This ensures that e2e lcov.info paths match vitest paths exactly:
- SF:src/pages/Dashboard.svelte (was SF:src/Dashboard.svelte)
- SF:src/components/AlertBanner.svelte (was SF:src/AlertBanner.svelte)
- SF:src/lib/api.ts (was SF:src/api.ts)

Now Coveralls can correctly merge coverage from both vitest and e2e since the file
paths are... (continued)

753 of 944 branches covered (79.77%)

Branch coverage included in aggregate %.

1640 of 1739 relevant lines covered (94.31%)

474786.77 hits per line

Source Files on job native - 25617700713.2
  • Tree
  • List 28
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25617700713
  • 6a1f76ac on github
  • Prev Job for on main (#25616916268.1)
  • Next Job for on main (#25618078697.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc