Skip to content

test: add SDK edge-case coverage - #7

Open
man4ish wants to merge 1 commit into
mainfrom
test/sdk-edge-case-coverage
Open

test: add SDK edge-case coverage#7
man4ish wants to merge 1 commit into
mainfrom
test/sdk-edge-case-coverage

Conversation

@man4ish

@man4ish man4ish commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds 20 deterministic edge-case tests to strengthen the OmniBioAI SDK test suite.

Baseline

  • 101 tests passed
  • Existing measured coverage: 100%

Final Results

  • 121 tests passed
  • 0 failed
  • 0 skipped
  • 20 new deterministic edge-case tests

Coverage

  • Statements: 100%
  • Lines: 100%
  • Branches: 100%
  • Functions: 100%

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 indexes versions[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.

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.

1 participant