test(runtime): Claude 5.x lifecycle — compaction, reload, switches, shared clients
Los mantenedores suelen responder en 1 día
@aheritier ya está trabajando en esto.
Desde el 19/10/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Goal
Check that the core holds up across the real session lifecycle: compaction, reload, model and transport switches, and several sessions sharing one client.
Scope
- Local compaction triggered by the token threshold: the summary is produced through a checked clone, persisted, reloaded, and the first continuation is valid. If continuing would be unsafe, refuse without clearing the context.
- Native on-demand compaction (Direct only): handle the whole block arriving at
content_block_startwith no deltas, adopt and reload the signed result, record iteration usage, and keep context intact on refusal or a missing summary. Keep the existing Vertex and Converse exclusions (vertex.go, AWS compaction). - Switches: route → rebuild → switch model or transport → add attachment → reload, on each of the three transports.
- Shared clients: two sessions on one client with different attachments don't leak state into each other. Conversation state stays on the request or session, never on the client (see AGENTS.md, "Client and Session Lifetimes").
- Pricing: Haiku 5.5 tier boundary at 99,999 / 100,000 / 100,001 prompt tokens, cache included. An unknown producer, endpoint or tariff is reported as unpriced, not free. Confirm the serving model from #4579 survives save and reload.
Acceptance criteria
- End-to-end tests for each scenario above, using real factories and the runtime against fake servers. Testing a hook on its own doesn't count.
-
go test -race -shuffle=onpasses on the runtime and provider packages. - A results table per model × transport × feature: pass / fail / not established / expected refusal.
-
task build,task test,task lintpass.
Parent: #4583 · Depends on #4651, #4652, #4653
- Lenguaje dominante
- Go
- Estrellas
- 4.6k
- Forks
- 522
- Merge medio
- 8 h 7 min
- PR fusionados (30 d)
- 231
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de docker/docker-agent
-
area/cli
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
docker/docker-agent#4672 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
pkg/hooks tests fail with a misleading assertion when jq is not installedPosiblemente ocupada @dwin-gharibi la tomó hace 57 días. Abiertoarea/testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
docker/docker-agent#4052 ·
Los mantenedores suelen responder en 1 día
-
`remove_directory` and `create_directory` hide work they already did when a later path failsPosiblemente ocupada @dwin-gharibi la tomó hace 75 días. Abiertoarea/tools
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
docker/docker-agent#3933 ·
Los mantenedores suelen responder en 1 día
-
`edit_file` silently edits the first match when `oldText` occurs more than oncePosiblemente ocupada @dwin-gharibi la tomó hace 75 días. Abiertoarea/tools
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
docker/docker-agent#3929 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area/providers/anthropic area/runtime area/tools
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
docker/docker-agent#4671 ·
Los mantenedores suelen responder en 1 día
Todos los issues de docker/docker-agent
Issues similares
-
[Bug]: Deleting an MCP proxy leaves its API keys in the gateway's memory and in the policy engineAbiertoAspect/API Aspect/Other Severity/Minor Type/Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
wso2/api-platform#3852 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Rafaeldelinares/gentle-mesh#125 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Gentleman-Programming/gentle-ai#5643 ·
Los mantenedores suelen responder en 1 día
-
security
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
FootprintAI/Containarium#2869 ·
Los mantenedores suelen responder en 1 día
-
kind/bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
kubevirt/kubevirt#19559 · 1 reacción ·
Los mantenedores suelen responder en 1 día