Repository navigation
test: raise backend coverage to 88% (toward 90%) - #653
Merged
Merged
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #653 +/- ##
==========================================
+ Coverage 83.72% 85.42% +1.70%
==========================================
Files 1271 1284 +13
Lines 129936 131047 +1111
==========================================
+ Hits 108786 111948 +3162
+ Misses 21141 19090 -2051
Partials 9 9
🚀 New features to boost your workflow:
|
…enance, SLOs, reports Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… dependencies Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…bove Ratchet COVERAGE_MIN and the codecov targets from 80 to 85, the baseline measured with COVER_FULL=1 (85.26%). 90% is not reached yet. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… runner against a fake API
…t a fake server Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ervers Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…nts and results groups Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Measured full layer: 87.5%. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…bove Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… and status updates Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… sort modes Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fclairamb
enabled auto-merge (squash)
October 23, 2026 19:11
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.
Raises backend test coverage toward 90% (spec
specs/todos/2026-10-23-03-coverage-90.md, still inspecs/todos/: not done).What changed
scripts/coverage.sh). 90% is not reached, about 1.7 points (~2700 statements) remain.server/internal/db/dbcontract/) run on SQLite and Postgres: orgs, severities, groups, maintenance, SLOs, escalation, on-call, dependencies, providers, tokens, passkeys, status pages, connections, events, labels, results, agents and enrollment tokens, contacts, notifications, publications.handlers/checksdependencies and listing,checkminecraft,cmd/scenariodriver,cmd/loadgen,cmd/membench.COVERAGE_MINand Codecov targets raised from 80 to 88;wiki/testing/test-layers.mdandwiki/testing/coverage.mdupdated.Remaining (next ticks)
Contract groups for device auth, state entries/events, check versions; handler tests for checks (clone, import), auth, incidents, integrations, statuspages, usernotifications, incidentpublications, telegramcb, agents;
pkg/cli,jobs/jobtypes, slack/discord/msteams,mcp, small checkers. Not live-network or Docker code, a long tail of error branches.Decided by autopilot
specs/todos/2026-10-23-03-coverage-90.md, open question (90% on which layer): the full Postgres layer, the number CI and Codecov report.🤖 Generated with Claude Code