-
Notifications
You must be signed in to change notification settings - Fork 185
[FEATURE] Progressive test coverage gates (strangler-fig ratchet) #1398
Copy link
Copy link
Open
Feature
4 / 44 of 4 issues completed
Copy link
Labels
area/ci-cdGitHub workflows, merge queue, gh-aw integrations, release pipeline.GitHub workflows, merge queue, gh-aw integrations, release pipeline.area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.area/testingTest infrastructure, fixtures, e2e harness, coverage.Test infrastructure, fixtures, e2e harness, coverage.qualitystatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Metadata
Metadata
Assignees
Labels
area/ci-cdGitHub workflows, merge queue, gh-aw integrations, release pipeline.GitHub workflows, merge queue, gh-aw integrations, release pipeline.area/docs-sitedocs/src/content (Starlight), README, doc generation.docs/src/content (Starlight), README, doc generation.area/testingTest infrastructure, fixtures, e2e harness, coverage.Test infrastructure, fixtures, e2e harness, coverage.qualitystatus/acceptedDirection approved, safe to start work.Direction approved, safe to start work.status/triagedInitial agentic triage complete; pending maintainer ratification (silence = approval).Initial agentic triage complete; pending maintainer ratification (silence = approval).type/featureNew capability, new flag, new primitive.New capability, new flag, new primitive.
Type
Fields
Give feedbackNo fields configured for Feature.
Projects
Status
Todo
Is your feature request related to a problem? Please describe.
There is no coverage measurement or gating in CI today. We have no
visibility into coverage trends, and regressions can land silently.
Describe the solution you'd like
Introduce test coverage gates to CI using a strangler-fig ratchet pattern.
Start with observability, then progressively tighten thresholds across
4 phases until we reach steady-state targets of 80% unit / 70% integration.
Baselines (measured locally)
Phase plan
Ratchet rule
After each phase, if actual coverage exceeds the gate by 5+ points,
raise the gate to
actual - 3. This prevents regression while allowingnormal fluctuation.
Describe alternatives you've considered
integration baseline would block all PRs until gap-fill is done.
prevent regressions.
Additional context
Sub-issues track each phase: