Skip to content

test: raise Orleans code coverage above 90% #10868

Description

@ReubenBond

Goal

Raise canonical Orleans repository line coverage from 78.54% to above 90% while improving branch coverage and reducing high-risk uncovered code.

Current baseline from the complete CI matrix:

  • 99,056 / 126,115 lines covered (78.54%)
  • Approximately 14,448 additional lines must be covered or removed to exceed 90% at the current denominator.
  • Method-level analysis found 458 methods with CRAP >30 and **7,197 method entries below 90% line / 80% branch thresholds.
  • Branch coverage is approximately 65.5% in raw Cobertura and needs canonical de-duplication before enforcement.

Reports:

Workstreams

Strategy

  1. Land deterministic unit and integration coverage for high-complexity, critical-path behavior first.
  2. Correct coverage-lane omissions where substantial existing tests are not selected.
  3. Audit zero-coverage code and remove confirmed dead/obsolete implementation.
  4. Treat generated, linked, platform-specific, and shipped TestKit source consistently without broad exclusions.
  5. Introduce a report-only main-vs-PR ratchet, then enforce non-regression and raise the floor as workstreams land.

Program acceptance criteria

  • Canonical repository line coverage exceeds 90% on the complete CI matrix.
  • Canonical branch coverage is published and materially improved, with no critical package below its agreed threshold.
  • Every maintained package is at least 90% line coverage or has an evidence-backed, reviewed scope decision.
  • No high-risk uncovered method remains without tests, simplification, removal, or an explicit follow-up.
  • Coverage changes report newly covered lines, removed dead code, and approved scope corrections separately.
  • CI detects missing matrix artifacts, missing maintained source, coverage regressions, and unauthorized filter/exclusion changes.
  • Tests assert behavior and invariants; the initiative does not optimize the metric through shallow execution-only tests.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions