Preserve authentication cancellation at the response limit

This commit is contained in:
2026-11-05 15:58:32 +00:00
parent beb18cc9d6
commit ff57dbf8b3
3 changed files with 48 additions and 1 deletions

View File

@@ -27,7 +27,11 @@ contracts.
### 1. Preserve Caller Cancellation When Authentication Also Overflows [P2]
**Status:** Open. **Stages:** 7, 21–22.
**Status:** Complete. **Stages:** 7, 21–22.
Completion: interrupted body reads preserve caller cancellation before overflow
classification. Public below-limit and overflow-boundary regressions retain HTTP
facts, unknown acceptance, incomplete cancellation reports, and body closure.
**Locations:** [authentication adapter](../../internal/llm/openrouter_authentication.go),
`ProbeOpenRouterKey`, lines 61–67;