Skip to content

test: fill agent loop test coverage gaps - #1031

Merged
malibio merged 1 commit into
mainfrom
test/agent-loop-coverage-gaps
Apr 4, 2026
Merged

malibio merged 1 commit into
mainfrom
test/agent-loop-coverage-gaps

Conversation

@malibio

@malibio malibio commented Apr 4, 2026

Copy link
Copy Markdown
Collaborator

Adds 6 tests for edge cases identified during code review: error recovery, max iterations, cancellation, summarization, empty args, concurrent sessions. Agent loop now at 21 tests (up from 15).

- Session persistence after inference error
- Max iteration limit enforcement (exactly 5)
- Cancellation during tool execution
- History summarization reduces token count
- Empty tool call args handling
- Concurrent session independence

Co-Authored-By: Claude <[email protected]>
@malibio
malibio merged commit 137e8ad into main Apr 4, 2026
@malibio
malibio deleted the test/agent-loop-coverage-gaps branch April 4, 2026 00:06
malibio added a commit that referenced this pull request Jun 22, 2026
- Session persistence after inference error
- Max iteration limit enforcement (exactly 5)
- Cancellation during tool execution
- History summarization reduces token count
- Empty tool call args handling
- Concurrent session independence

Co-authored-by: Michael Libio <[email protected]>
Co-authored-by: Claude <[email protected]>
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