1 Commits
Author SHA1 Message Date
hm 35baae1555 test(coverage): add core-plus-v2 profile with plugin/capi/spatial/sdf/compute coverage + 20 boundary cases
Wave 8 W48 (task-123).

Profile: tools/coverage/target_profiles.json gains core-plus-v2 = core-plus 59 targets
+ 37 plugin/capi/spatial/sdf/compute targets (96 total; >=85 required). Excludes
test_curved_boolean_baseline (gcov wall-clock sensitive, same as core-plus) and
test_plugin_ecosystem (asserts all official plugin kinds, needs full plugin build).
line_pct_gate = 52.0 derived from the measured 54.01% (floor - 2pp).

Tests: 5 new files / 20 cases covering plugin lifecycle + capability registry
semantics, C API export boundaries, BVH edge cases, SDF field nodes and compute
SIMD lane boundaries. All 20 pass; module-subset ctest (Plugin|Capi|Spatial|Sdf|
Compute|Brep|Curves|Foundation) = 721/721 passed.

Measurement (build-cov8, RelWithDebInfo + VDE_ENABLE_COVERAGE, MinGW gcc 16.1.0):
before core-plus 50.91% (63374/124474), after core-plus-v2 54.01% (70324/130198),
func 62.88% (3568/5674), branch 33.55%; 2418/2418 cases pass. --update-baseline
wrote tools/coverage/baseline.json core-plus-v2 entry and
--min-line-pct baseline --strict-baseline PASSed (status PASS, line gate 54.01%).

Plugin fixture fix: test_plugin_extensions build deps now include vde_service_runner /
vde_service_stl_convert / vde_service_gcs_solve (3 external-service cases failed when
only the target was built; 9/9 pass after the fix).

CI: nightly coverage-nightly adds a core-plus-v2 report-only archive step and an
opt-in hard gate gated by vars.VDE_ENABLE_CORE_PLUS_V2=1; pr-quality dry-run plan
adds --profile core-plus-v2. Evidence: docs/planning/wave8/cov-notes.md and
build/kcp8_evidence/cov/ (before/after/after-gate reports, ctest logs).

Validation: validate_workflows.py --strict PASS 2/2, vde_release.py --check PASS
(14 checks, 0 fail/0 warn), no product (src/) changes.
2026-11-20 14:55:34 +08:00