Repository navigation
test: coverage sprint — 65 new tests across 16 files - #185
Merged
Merged
Conversation
Agent modules (21 tests): - anthropic, generic, google, lmstudio, ollama, openai: chat_completion_stream tests - ollama, openai: embeddings() tests - quality: config() and reconciliation_loop tests API handlers (15 tests): - completions: extract_priority, inject_budget_headers, create_error_chunk, available_models, record_request_completion tests - embeddings: serialization, deserialization, encoding_format tests CLI (10 tests): - backends: detect_backend_type for ollama, llamacpp, generic, unknown - serve: config override tests for port, host, discovery, health, log_level Dashboard (7 tests): - handler: dashboard_handler, history_handler, assets_handler - websocket: empty backends, model change, request complete, serialization Infrastructure (12 tests): - discovery: select_best_ip, build_url (IPv4/IPv6/path), extract_name_from_instance - metrics: budget_stats, stats_handler, metrics_handler - queue: config access, priority ordering
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
Add 65 new unit tests across all 16 files with below-80% coverage to reach the 90% overall coverage target.
Test Breakdown
Coverage Areas
chat_completion_streamtests (success + error)embeddings()method coverageTest Results
-D warnings)