Skip to content

Add targeted tests to close coverage gaps in cli.py, core.py, metrics.py#104

Merged
kmatzen merged 2 commits into
mainfrom
claude/github-test-coverage-b132oe
Jul 25, 2026
Merged

Add targeted tests to close coverage gaps in cli.py, core.py, metrics.py#104
kmatzen merged 2 commits into
mainfrom
claude/github-test-coverage-b132oe

Conversation

@kmatzen

@kmatzen kmatzen commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Raises overall coverage from 93% to 99% (cli.py, metrics.py, config.py,
path_resolver.py, and utils.py now at 100%; core.py at 98%) by exercising
previously-untested error-handling branches, retry/backoff paths, rare CLI
argument combinations, and concurrency edge cases (in-flight asset
re-referencing during cleanup, shutdown/KeyboardInterrupt handling during
chunked upload, cache stat() failures, etc).

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01FeGtMAQMVfzuD8esKux7yQ

claude added 2 commits July 21, 2026 14:45
Raises overall coverage from 93% to 99% (cli.py, metrics.py, config.py,
path_resolver.py, and utils.py now at 100%; core.py at 98%) by exercising
previously-untested error-handling branches, retry/backoff paths, rare CLI
argument combinations, and concurrency edge cases (in-flight asset
re-referencing during cleanup, shutdown/KeyboardInterrupt handling during
chunked upload, cache stat() failures, etc).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FeGtMAQMVfzuD8esKux7yQ
pre-commit's black/mypy hooks flagged the new coverage test files:
black needed reformatting, and mypy rejected two ClientError() calls
built from plain dict literals (matching the existing type: ignore
convention used elsewhere in the test suite).
@kmatzen
kmatzen merged commit 0f88d91 into main Jul 25, 2026
3 checks passed
@kmatzen
kmatzen deleted the claude/github-test-coverage-b132oe branch July 25, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants