backend: mark codewhisperer as intentionally untested, remove test

This commit is contained in:
Levi Neely 2026-04-21 22:09:27 +02:00
parent 0fd3bf1cf8
commit d89f458473
3 changed files with 9 additions and 9 deletions

View File

@ -663,14 +663,8 @@ func TestOllamaContextLength_ConnectionRefused(t *testing.T) {
}
// --- CodeWhisperer ---
func TestCodeWhispererContract(t *testing.T) {
b, err := backend.NewCodeWhisperer("fake-token")
if err != nil {
t.Fatal(err)
}
checkContract(t, b)
}
// Intentionally untested. Reverse-engineered Kiro/CodeWhisperer protocol
// requires a live session. See codewhisperer.go.
// --- RateLimitError ---

View File

@ -2,6 +2,10 @@ package backend
// CodeWhispererBackend implements Backend for Amazon CodeWhisperer / Kiro.
//
// COVERAGE: Intentionally untested. Reverse-engineered Kiro streaming API
// client requiring a live session to test.
//
//
// Auth is configured via the apiKey parameter to NewCodeWhisperer:
// - Empty string → read from Kiro CLI SQLite database at the default path
// ($XDG_DATA_HOME/kiro-cli/data.sqlite3 on Linux).

View File

@ -1,6 +1,8 @@
package backend
// Low-level plumbing for the Amazon CodeWhisperer / Kiro backend:
// Low-level plumbing for the Amazon CodeWhisperer / Kiro backend.
// COVERAGE: Intentionally untested. See codewhisperer.go.
//
// - Wire types for the GenerateAssistantResponse API
// - Binary AWS event stream decoder
// - HTTP API client