bug(agents): agent launcher fails --publish-image on transient registry push timeouts
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 76/100
Línea de trabajo
Empieza con scripts/agents/image.sh e inspecciona deliver_agent_image, donde ce push actualmente aborta el lanzamiento ante cualquier error. Revisa el registro y el manejo de errores existentes del lanzador antes de elegir un enfoque de reintentos acotado. El trabajo estará terminado cuando los fallos transitorios registren cada intento y puedan recuperarse, mientras se sigue imprimiendo la referencia de imagen fijada por digest; los fallos persistentes seguirán siendo accionables y dejarán sin cambios el sandbox y la configuración.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Related to #3469. Found while running the registry delivery path from #4744.
User Story
I run gator against a remote Kubernetes gateway, publishing the tooling image with scripts/agents/run.sh --publish-image. I directly hit push failures that a retry would have absorbed, so that one slow layer upload doesn't throw away a completed build.
Problem Statement
--publish-image runs one ce push and fails the launch on any error (scripts/agents/image.sh, deliver_agent_image: ce push "$image_tag" || fail "image push failed"). Large layer uploads to Artifact Registry intermittently fail with net/http: timeout awaiting response headers. Each failure aborts the launcher after the image is already built and some layers are already uploaded.
Impact / Why This Matters
The gator tooling image is about 450 MB compressed. Two consecutive --publish-image --build-only runs failed on a different large layer each time. A plain docker push of the same local tag then succeeded on its second attempt. That means rerunning the launcher by hand until it works, or pushing outside the launcher and resolving the digest manually. Doing it by hand also bypasses the launcher's digest check.
Acceptance Criteria
- A transient push failure is retried a bounded number of times before the launcher fails.
- Each retry is logged with the attempt number and the underlying error.
- After a successful retry, the launcher still resolves and prints the digest-pinned
Tooling image:reference. - A persistent failure (for example an authentication error) still fails with an actionable error and no sandbox, provider, or settings changes.
Reproduction Steps
- Configure Docker auth for an Artifact Registry repository the user can push to.
- On an arm64 Mac, run
DOCKER_DEFAULT_PLATFORM=linux/amd64 ./scripts/agents/run.sh --agent gator --gateway <gateway> --publish-image <region>-docker.pkg.dev/<project>/<repo>/gator:<tag> --build-only. - Observe intermittent
failed commit on ref "layer-sha256:…": … net/http: timeout awaiting response headersfollowed byerror: image push failed.
Environment
- OpenShell: launcher from #4744 (
c8afb7321); gateway0.1.6-dev.26+g229382e51 - OS: macOS (arm64), Docker with buildx emulating linux/amd64
- Runtime, deployment, or integration: Kubernetes compute driver on a managed cloud cluster; Artifact Registry
Suggested UX (if applicable)
openshell-agent-launcher: Publishing '…/gator:payload-13-7fa522fae'.
openshell-agent-launcher: push attempt 1/3 failed: timeout awaiting response headers; retrying in 5s
openshell-agent-launcher: Tooling image: …/gator@sha256:e88f5a66…
Logs
failed commit on ref "layer-sha256:eda61e0e…": failed to do request: Put "https://<region>-docker.pkg.dev/artifacts-uploads/…": net/http: timeout awaiting response headers
error: image push failed
- Lenguaje dominante
- Rust
- Estrellas
- 17.1k
- Forks
- 1.8k
- Merge medio
- 2 d 9 h
- PR fusionados (30 d)
- 355
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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 NVIDIA/OpenShell
-
bug: workspace access hint suggests a --subject command that fails for hyphen-leading OIDC subjectsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
state:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug(install): install.sh prints gawk "escape sequence \. treated as plain ." warnings on RPM hostsPosiblemente ocupada @ericcurtin la tomó hace 1 día. Abiertostate:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug(sdk/go): browser login callback binds 127.0.0.1 but redirect_uri uses localhostQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertostate:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
NVIDIA/OpenShell#4518 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
state:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/OpenShell
Issues similares
-
checkpoint/verify/rebuild_indexes on a thread holding a WriteTransaction deadlock instead of INT-001Abiertobug known-issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
project-minigraf/minigraf#734 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 4 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
bitcoindevkit/electrum_streaming_client#57 ·
Los mantenedores suelen responder en 2 días