chore(metrics): code-health dashboard 2026-09-21 - #2923
Merged
Merged
Conversation
Local dev was 156 commits behind origin/dev (three intervening weekly runs never reached origin since dev is protected); re-ran from a fresh branch off origin/dev tip for accurate churn/complexity numbers.
|
Regression details (head_sha: `78c4a5303399acd0a7e9a80b0ab63e5f95bdf8c2`)Seed Backend unit-suite regression diffPer-XML totals
❌ New failures introduced by HEAD (2)Tests failing under HEAD that did not fail under BASE in any seed:
🟢 Failures fixed by HEAD (2)
Legend: [F] = assertion failure, [E] = collection or fixture error. Reproduce locally: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/code-healthscan forsrc/backend/(hotspot score = 90-day git churn × radon cyclomatic complexity).client_portal/service.pyovertakesagent_service/crud.pyas the Fix: Add missing Docker labels to system agent container #1 hotspot (9464 vs 5852), driven mostly by churn nearly doubling since the 2026-09-07 baseline.routers/settings.py(previously the Feature/vector log retention #3 hotspot) dropped out of the ranking after being split into arouters/settings/package — the exact refactor the last report suggested.origin/dev— three prior weekly runs (2026-09-08/14/21) had committed locally but never reachedoriginbecausedevis a GitHub-protected branch. This run re-cut a fresh branch from the currentorigin/devtip and re-ran the full scan from scratch so the numbers reflect real, complete history.Dashboard-only — no GitHub issues filed.
/groom's Debt Health section is the human gate that converts findings intotype-refactortickets.Test plan
docs/metrics/code-health-baseline.jsonanddocs/metrics/code-health-latest.mdare the only files changed.git log --oneline origin/dev..HEADthat only the dashboard commit is on this branch.radon,wc -l, andgit log --since="90 days ago"output for the top hotspots.🤖 Generated with Claude Code