test: add SDK edge-case coverage - #7
Open
man4ish wants to merge 1 commit into
Open
Conversation
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
Adds 20 deterministic edge-case tests to strengthen the OmniBioAI SDK test suite.
Baseline
Final Results
Coverage
Covered Behavior
The new tests cover URL forwarding, HTTP and error handling, retries, trace IDs, RAG query edge cases, model filters, TES request normalization, server ID handling, and workflow payload edge cases.
No live external services are required; HTTP behavior is mocked deterministically.
Production Source Protection
Production source files modified: 0.
No coverage exclusions were added. Existing coverage thresholds and configuration were preserved.
Ruff
The new test file passes Ruff. Full-repository Ruff reports pre-existing production violations involving typing modernization, import ordering, and
__all__ordering. Those production violations were not modified.Known Edge Case
WorkflowsClient.run()currently indexesversions[0]without handling a successful empty-version response. This potential edge case remains documented and was not fixed in this test-only PR.Infrastructure
No Docker, registry, credentials, network services, or other live infrastructure are required.
Final Verdict
PASS
The complete deterministic suite passes with 100% measured statements, lines, branches, and functions coverage. This PR is test-only and is left open for review.