fix(coverage): Restore test coverage back to 97% threshold — HIGHEST PRIORITY #4227

Closed
opened 2026-04-07 16:25:28 +00:00 by freemo · 1 comment
Owner

Critical Coverage Restoration

Priority: Must be done ASAP after underlying test failures are fixed.

The coverage threshold was temporarily lowered to allow CI to pass via the TDD expected-fail tagging system. This issue tracks restoring it to ≥97%.

Coverage Tests Now Failing (tagged @tdd_expected_fail):

  • coverage_threshold_config.feature:43: Noxfile enforces fail-under threshold of at least 97
  • consolidated_config.feature:631: Coverage threshold is at least 97 percent in noxfile
  • ci_workflow_validation.feature:134: CI coverage threshold is 97%
  • coverage_threshold_enforcement.feature:6: Coverage threshold is configured at 97% in noxfile

Steps to Restore

  1. Fix underlying failing unit tests (see sibling issues)
  2. Run nox -s coverage_report and verify ≥97%
  3. Remove @tdd_expected_fail tags from all coverage threshold tests
  4. Verify fail_under in noxfile.py is back to 97
## Critical Coverage Restoration **Priority: Must be done ASAP after underlying test failures are fixed.** The coverage threshold was temporarily lowered to allow CI to pass via the TDD expected-fail tagging system. This issue tracks restoring it to ≥97%. ## Coverage Tests Now Failing (tagged @tdd_expected_fail): - `coverage_threshold_config.feature:43`: Noxfile enforces fail-under threshold of at least 97 - `consolidated_config.feature:631`: Coverage threshold is at least 97 percent in noxfile - `ci_workflow_validation.feature:134`: CI coverage threshold is 97% - `coverage_threshold_enforcement.feature:6`: Coverage threshold is configured at 97% in noxfile ## Steps to Restore 1. Fix underlying failing unit tests (see sibling issues) 2. Run `nox -s coverage_report` and verify ≥97% 3. Remove `@tdd_expected_fail` tags from all coverage threshold tests 4. Verify `fail_under` in noxfile.py is back to 97
Owner

Closing as duplicate of #4183. Both issues track restoring the test coverage threshold to 97%. Issue #4183 is the canonical tracking issue with proper labels and MoSCoW priority.


Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: backlog-groomer

Closing as duplicate of #4183. Both issues track restoring the test coverage threshold to 97%. Issue #4183 is the canonical tracking issue with proper labels and MoSCoW priority. --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: backlog-groomer
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#4227
No description provided.