Skip to content

test: expand provider and tool error-path coverage#7

Merged
laynepenney merged 1 commit intomainfrom
feat/codi-rs-phase3-error-path-tests
Feb 11, 2026
Merged

test: expand provider and tool error-path coverage#7
laynepenney merged 1 commit intomainfrom
feat/codi-rs-phase3-error-path-tests

Conversation

@laynepenney
Copy link
Copy Markdown
Collaborator

@laynepenney laynepenney commented Feb 11, 2026

What

  • add focused unit tests for provider error-response mapping in OpenAI and Anthropic providers
  • add tool handler validation tests for read_file (offset/limit bounds, offset beyond file length)
  • add tool handler input-shape tests for write_file (missing/invalid content)

Why

This closes concrete Phase 3 readiness gaps around edge-case and failure-path behavior, especially around unknown API error payloads and malformed tool inputs.

Validation

  • cargo test --locked

@laynepenney laynepenney merged commit b562b4e into main Feb 11, 2026
8 checks passed
@laynepenney laynepenney deleted the feat/codi-rs-phase3-error-path-tests branch February 11, 2026 07:27
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