mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-08-13 19:13:31 +00:00
Three new branch-coverage tests taking six previously unreached functions from zero to covered, with no source or existing test touched. internal/ai/qualification: the replay bundle loader across a missing path, a directory where a file is expected, invalid JSON, trailing JSON values and a valid bundle round-tripped field by field, plus the artifact root creation including the arm where the parent path is a regular file. Fixtures are written into a temp directory so nothing outside it is read or created. internal/api: the in-memory and SQLite magic link stores both deleting expired entries, with the boundary case of a link expiring exactly at the passed instant asserted on the real comparison, the valid entries proved still present, and repeat deletion proved idempotent. internal/cloudcp/stripe: the subscription mapper resolving a real customer over the fallback, the fallback when no customer is present, item and price extraction across empty and multiple item lists, and the two provisioner options applied and overridden in order. Reported for follow-up, not fixed here: mapStripeSubscription dereferences its subscription pointer without a nil guard and is safe only because its single caller skips nil subscriptions. Contract-Neutral: test-only branch coverage, no contract surface touched |
||
|---|---|---|
| .. | ||
| ai_qualification_pure_branchcov0716_test.go | ||
| client.go | ||
| client_test.go | ||
| contribution.go | ||
| contribution_coverage_test.go | ||
| contribution_test.go | ||
| lab.go | ||
| lab_predicate_test.go | ||
| lab_report_pure_w0716_coverage_test.go | ||
| lab_test.go | ||
| manifest.go | ||
| manifest_predicates_branchcov_test.go | ||
| manifest_test.go | ||
| qualification_validate_w0716_coverage_test.go | ||
| replay.go | ||
| replay_canonical_branchcov_test.go | ||
| replay_load_branchcov0723am_test.go | ||
| replay_test.go | ||
| report.go | ||
| report_coverage_test.go | ||
| report_helpers_branchcov_test.go | ||
| report_inference_route_test.go | ||
| report_qualgates_branchcov_test.go | ||
| report_test.go | ||
| runner.go | ||
| runner_helpers_test.go | ||
| runner_scope_test.go | ||
| scorer.go | ||
| scorer_gates_branchcov_test.go | ||
| scorer_protrack_branchcov_test.go | ||
| scorer_test.go | ||