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

dangernoodle-io / TaipanMiner / 25617700713
90%

Build:
DEFAULT BRANCH: main
Ran 10 May 2026 02:31AM UTC
Jobs 3
Files 66
Run time 1min
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: 78.62% (+13.2%) from 65.388%
25617700713

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)

1716 of 2649 branches covered (64.78%)

Branch coverage included in aggregate %.

3307 of 3740 relevant lines covered (88.42%)

220771.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 webui - 25617700713.1 10 May 2026 02:31AM UTC 38
45.48
GitHub Action Run
2 native - 25617700713.2 10 May 2026 02:31AM UTC 28
89.19
GitHub Action Run
3 e2e - 25617700713.3 10 May 2026 02:32AM UTC 37
58.74
GitHub Action Run
Source Files on build 25617700713
  • Tree
  • List 66
  • Changed 36
  • Source Changed 0
  • Coverage Changed 36
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #25617700713
  • 6a1f76ac on github
  • Prev Build on main (#25616916268)
  • Next Build on main (#25618078697)
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