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

valkyrjaio / project-template-ts / 30509114920
100%

Build:
DEFAULT BRANCH: 26.x
Ran 30 Jul 2026 02:41AM UTC
Jobs 1
Files 1
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

30 Jul 2026 02:40AM UTC coverage: 100.0%. First build
30509114920

push

github

web-flow
[CI] Measure src coverage, cover TemplateInfo, and enforce the floor (#64)

# Description

This repo's Vitest coverage configuration measured **nothing**.
`vitest-coverage` reported
`Statements : Unknown% ( 0/0 )` while
`src/Template/Constant/TemplateInfo.ts` sat entirely untested —
a coverage report that looks clean because it has no denominator.

Two causes, fixed here:

1. **The config was missing everything that makes coverage collect.**
`project-template-ts` is the
odd one out among the four TypeScript repos: `valkyrja`, `sindri` and
`application` all set
`root`, `coverage.all`, `coverage.include`, `coverage.exclude` and
`reportsDirectory`; this one set
only `provider` and `reporter`. With no `coverage.include` and no `all`,
v8 reports only files a
   test happened to import — and with no test at all, nothing.
2. **`TemplateInfo` had no test.** `tests/Tests/` contained a lone
`.gitkeep`.

Because this is the **structural source of truth** every new TypeScript
repo is scaffolded from
(canonical rule §3.9), a config that silently measures nothing
propagates that blind spot into every
repo created from it.

Both changes are needed together: the config alone would report
`TemplateInfo` at 0%, and the test
alone would not be measured.

This also unblocks a follow-up PR adding a 100% `thresholds` block,
which would otherwise have been
vacuous here — a threshold over `0/0` passes no matter what the source
does.

## Types of changes

- [x] Improvement _(non-breaking change which improves code)_
- [ ] Bug fix _(non-breaking change which fixes an issue)_
- [ ] New feature _(non-breaking change which adds functionality)_
- [ ] Deprecation _(breaking change which removes functionality)_
- [ ] Breaking change _(fix or feature that would cause existing
functionality to change)_
- [ ] Documentation improvement

## Changes

- **`.github/ci/vitest/vitest.config.ts`** — adds `root`,
`coverage.all`, `coverage.include`
(`src/**/*.ts`), `coverage.exclude` and `report... (continued)

2 of 2 relevant lines covered (100.0%)

1.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30509114920.1 30 Jul 2026 02:41AM UTC 1
100.0
GitHub Action Run
Source Files on build 30509114920
  • Tree
  • List 1
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30509114920
  • 8889de3c on github
  • Next Build on 26.x (#30512696215)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc