Skip to content

[TEST-PRUNING] 2124 prunable test candidates detected — test suite has significant dead weight #736

@akaszubski

Description

@akaszubski

Problem

The test lifecycle health dashboard reports 2124 prunable candidates out of 3587 total findings. This far exceeds the [TEST-PRUNING] threshold of 20 candidates and indicates the test suite has accumulated substantial dead weight that is slowing CI and obscuring signal.

Repo: autonomous-dev
Session: 2026-04-08

Evidence

Test Health Dashboard

Total findings: 3587
Prunable candidates: 2124      <- threshold: >20
Untraced tests: 140
Orphaned pairs: 301
Untested issues: 7
Tier balance: healthy

Tier Distribution:
  T0: 71 tests
  T1: 94 tests
  T2: 32 tests
  T3: 282 tests
  unknown: 98 tests

2124 prunable candidates represents 59% of total findings. The 301 orphaned pairs suggest a large class of tests whose corresponding implementation was removed or refactored without cleaning up the associated tests. The 140 untraced tests (not linked to issues) compounds the problem — tests with no traceability cannot be triaged efficiently.

Suggested Fix

  1. Run TestLifecycleManager.analyze() with verbose output to get the specific prunable candidates and their reasons
  2. Batch-delete or mark-skip all orphaned pairs that reference removed code paths
  3. Add issue traceability markers to the 140 untraced tests (or delete if they duplicate coverage)
  4. Consider adding a CI gate that fails if prunable candidates exceed 100 (not 20 — that threshold is too tight for a repo of this scale, but the current 2124 number is clearly out of control)

Plugin Version: 3.50.0 (9760186)


Filed automatically by continuous-improvement-analyst

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-improvementContinuous improvement analyst findings

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions