ci: enforce coverage thresholds in CI pipeline#68
Merged
kayodebristol merged 2 commits intomainfrom Mar 26, 2026
Merged
Conversation
…test:coverage Agent-Logs-Url: https://github.com/plures/chronos/sessions/81968079-2865-4bae-8a52-bf2da5b5999d Co-authored-by: kayodebristol <3579196+kayodebristol@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Improve test coverage from 0% to 80%
ci: enforce coverage thresholds in CI pipeline
Mar 26, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the Deno task used by CI so test runs produce coverage reports and enforce the existing Vitest coverage thresholds, aligning CI behavior with the repo’s configured quality gates.
Changes:
- Switch
deno task testfromnpm run test:runtonpm run test:coverage.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
kayodebristol
approved these changes
Mar 26, 2026
Contributor
kayodebristol
left a comment
There was a problem hiding this comment.
Auto-approved: CI green + Copilot code review complete.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The praxis level evaluator reported test-coverage at 0% because
deno task testrannpm run test:run, which executes tests but generates no coverage report and ignores the 80% thresholds already declared invitest.config.js.Change
deno.json: switchtesttask fromnpm run test:run→npm run test:coverageThis makes CI enforce the configured thresholds and emit lcov/html reports, giving the praxis system something to measure.
Current coverage across all 257 tests: 97.59% statements / 92.51% branches / 100% functions — all well above the 80% floor.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
dl.deno.land/usr/bin/curl curl -s REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.