Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -1,11 +1,10 @@
|
||||
# Test Coverage Policy
|
||||
|
||||
**Status:** completed; no-regression gate in maintenance
|
||||
**Spec:** `docs/improvement-plan/10-compliance-polish/test-coverage.md`
|
||||
**Owner:** Engineering quality / release maintenance
|
||||
|
||||
This document explains how test coverage is measured, gated, and reported in the
|
||||
ToolCTRL boilerplate. Per-path thresholds are encoded as data in
|
||||
HiveGrid. Per-path thresholds are encoded as data in
|
||||
`scripts/coverage-targets.json` and enforced by `scripts/verify-test-coverage.mjs`.
|
||||
CI workflows run the gate on GitHub PRs and `push` to `main`, while the
|
||||
Gitea coverage workflow currently runs on pull requests. Keep
|
||||
@@ -63,7 +62,7 @@ disproportionate impact. Each entry in `scripts/coverage-targets.json` with
|
||||
| `apps/web/app/services/auth/**` | 97 % / 88 % | 90 % / 85 % |
|
||||
| `apps/web/app/utils/auth/**` | 97 % / 92 % | 90 % / 85 % |
|
||||
| `apps/web/app/utils/session.server.ts` | 99 % / 98 % | 95 % / 90 % |
|
||||
| `apps/web/app/utils/stripe.server.ts` | 95 % / 90 % | 85 % / 75 % |
|
||||
| `apps/web/app/utils/legacyProvider.server.ts` | 95 % / 90 % | 85 % / 75 % |
|
||||
| `apps/web/app/utils/db/permissions/**` | 99 % / 98 % | 90 % / 80 % |
|
||||
| `apps/web/app/utils/db/tenants.db.server.ts` | 98 % / 95 % | 95 % / 90 % |
|
||||
| `packages/entitlements/src/**` | 96 % / 89 % | 90 % / 80 % |
|
||||
@@ -120,7 +119,7 @@ failure so contributors can drill into the HTML report.
|
||||
## Type-only packages
|
||||
|
||||
Packages that intentionally emit no runtime JavaScript, such as
|
||||
`@toolctrl/api-types`, must not add fake exports or `expect(true)` tests just
|
||||
`@hivegrid/api-types`, must not add fake exports or `expect(true)` tests just
|
||||
to satisfy statement coverage. Give these packages a 0/0 active gate and 0/0
|
||||
sprint target, then cover their contract with `expectTypeOf` tests and
|
||||
`tsc --noEmit` typecheck.
|
||||
@@ -153,7 +152,6 @@ Task #76 is completed. Keep the gate useful as a no-regression control:
|
||||
|
||||
## References
|
||||
|
||||
- Spec: `docs/improvement-plan/10-compliance-polish/test-coverage.md`
|
||||
- Gate runner: `scripts/verify-test-coverage.mjs`
|
||||
- Targets data: `scripts/coverage-targets.json`
|
||||
- Summary/badge: `scripts/coverage-summary.mjs`
|
||||
|
||||
Reference in new issue
Block a user