Coverage: ratchet from the measured 40.6% baseline to the 95% target #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First real measurement (2026-07-09, cargo llvm-cov, full workspace, real PostgreSQL): 40.62% lines (35,422 lines, 21,032 uncovered). The previous 80% CI gate had never actually run; it is now a ratchet (fail-under-lines 40) that must only move UP.
Where the uncovered mass lives (missed lines):
gateway/federation.rs2600 ·mastodon_api.rs1423 ·social_graph.rs1272 ·federation_feed.rs761 — the fediverso surfaceplatform/auth: queries 679 · profile 582 · http 562 · mandate_invite 390 · signup_verify 330gatewayadmin/reports/activity modules: admin_reports 633 · parlamentar_activity 527 · reports 507 · amendments 454 · admin_ext 422 · admin_users 386 · invitations 360 · note_media 360 · fediverso_admin 348 · mastodon_oauth 320 · polls 311 · discovery 311 · worker 305 · signup_gates 302 · govbr_oidc 275spaces/mandates/parties.rs159 ·spaces/initiatives/http.rs194 (0%)Plan (each step raises the ratchet in the same PR):
crates/gateway/tests/http_surface.rs— oneshot harness (auth/authz gates, input validation, public read surface, preferences loop). 19 tests.platform/authservice-level tests for profile/mandate_invite/signup_verify flows (harness already exists intests/integration.rs).Half of new tests security-flavored (gates, validation, leak checks), half functional (loop behavior) — per the standing instruction.