Skip to content

[quality] Recommend adopting knuckle's coverage patterns across org reposΒ #746

Description

@kubestellar-hive
Bluefin πŸ¦–  Β·  issue pipeline
─────────────────────────────────────────────────
  β–Ά  filed      report received
  Β·  approved   β€”
  Β·  queued     β€”
  Β·  claimed    β€”
  Β·  done       β€”
─────────────────────────────────────────────────
  report:       missing     Β·  confirms: 0
  area:         β€”         Β·  priority: β€”
  next action:  same bug? ujust confirm 746

---

KNUCKLE πŸ¦–  Β·  issue pipeline
─────────────────────────────────────────────────
  β–Ί  filed      needs triage
  Β·  approved   signed off by a maintainer
  Β·  queued     waiting for a contributor to claim
  Β·  claimed    β€”
  Β·  done       β€”
─────────────────────────────────────────────────
  domain:       β€”         Β·  priority: β€”
  size:         β€”         Β·  next: /approve to queue

---## Finding

knuckle has exemplary test infrastructure that other repos in the org should adopt:

  • Per-package coverage thresholds (96–100%) via just cover-check
  • Codecov integration with strict project target (95%)
  • Flaky test detection (5x re-run in CI)
  • Nightly coverage snapshots

By contrast:

  • bootc-installer has a 47% coverage floor (target 45%) with major modules entirely untested
  • testsuite has 75% target but some step modules lack unit tests

Recommendation

Consider extracting knuckle's coverage patterns into a reusable org-wide template:

  1. Per-module coverage gates β€” a script or just recipe that checks coverage per top-level package/module with individual thresholds
  2. Codecov config template β€” standardized codecov.yml with project target β‰₯70%, patch 70%, and non-informational status checkstarget
  3. Flaky test detection β€” the 5x re-run pattern from knuckle CI could be a reusable composite action

This is a tracking/advisory issue β€” no code changes needed in knuckle itself.

Priority

  • Impact: medium β€” org-wide test quality improvement
  • Effort: low β€” documentation and template sharing

Filed by quality agent (hold-gated mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    1-triageNew work awaiting human triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions