Repository navigation
Add code coverage reporting (c8 + Cobertura) and wire into CI - #216
Closed
BunsDev with code-coverage-agent[bot] wants to merge 4 commits into
Closed
BunsDev with code-coverage-agent[bot] wants to merge 4 commits into
BunsDev with code-coverage-agent[bot] wants to merge 4 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-authored-by: BunsDev <[email protected]>
…-22ba008f-b336-479e-b38c-2f2cf9b5870e
Code coverage overviewLanguages: TypeScript TypeScript / code-coverage-agent
Line coverage data for the main branch is not yet available. View coverage of the 10 most covered files.
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
Inventory all eligible production sources before remapping coverage so unexecuted files appear at zero. Full build and coverage tests, independent review, both hosted macOS runs and hosted iPhone acceptance passed. Coven-Harness: Codex / GPT-6
This was referenced Oct 15, 2026
BunsDev
deleted the
code-coverage-agent/fix-331025984-1386876170-22ba008f-b336-479e-b38c-2f2cf9b5870e
branch
October 18, 2026 03:43
This branch was successfully deployed
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.
Integration target:
release-reviewed-batch. This reviewed update will land through the combined batch and its protected squash tomain; Images/Plugins #236 is excluded.The repository had no code coverage setup for local development or CI, making it hard to see what the test suite actually exercises.
Coverage setup (project-level)
c8(wraps Node's native V8 coverage) as a root devDependency — works with the existingnode --testrunner used across all four packages (packages/core,apps/desktop,apps/site,apps/store-desktop) without any toolchain changes..c8rc.jsonat the root: generates a native Cobertura XML report (coverage/cobertura-coverage.xml), with excludes for test files, tooling scripts, and config files.test:coveragescript (c8 pnpm test) so developers get the same report locally/in their IDE that CI produces.coverage/and.nyc_output/are now gitignored.Coverage correctly remaps from compiled
dist/*.jsback to original.tssources via the sourcemaps already emitted bytsc(sourceMap: true), and merges across all four packages into a single report sincec8runs as the outer process wrapping the wholepnpm testchain.CI integration (
.github/workflows/ci.yml)unit + e2e (macOS)job (the required, PR-gating check) now runspnpm run test:coverageinstead ofpnpm test.upload-coverage-typescriptjob that downloads the artifact and uploads it viaactions/upload-code-coverage@v1(language: TypeScript), withcode-quality: writeandpull-requests: readscoped to just that job.push/pull_requesttriggers (no branch filter) already produce a default-branch baseline for comparison.Existing build/test commands, action versions, and job structure are otherwise unchanged.
Review follow-up #232 is integrated. The report now explicitly includes all 198 eligible production source files, including unexecuted files at zero, with no duplicate or generated-output entries. The validated local run reports 17,222 covered lines of 28,307 (60.84%). Full build and coverage tests and independent review passed; the follow-up also passed hosted macOS and iPhone acceptance. Fresh CI is running for the combined head
af0c17502618821198527481b9e0e339d69b1e87.Coven-Harness: Codex / GPT-6