[deep-report] Replace 4 remaining production time.Sleep calls with ctx-aware waits
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
- 82/100
Línea de trabajo
Lee los cuatro puntos de llamada indicados en pkg/cli/run_workflow_tracking.go, pkg/cli/trial_repository.go, pkg/cli/update_extension_check.go y pkg/workflow/docker_validation.go, y comprueba cómo recibe el contexto cada función y cómo gestiona los errores. Sustituye las esperas que no se pueden interrumpir por esperas que tengan en cuenta el contexto y, después, ejecuta make test-unit; el trabajo estará terminado cuando no quede ningún time.Sleep sin anotar en esos puntos y pasen las pruebas unitarias.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Description
Four production time.Sleep calls remain uninterruptible by cancellation or caller timeout, confirmed by direct read:
pkg/cli/run_workflow_tracking.go:73pkg/cli/trial_repository.go:199pkg/cli/update_extension_check.go:412pkg/workflow/docker_validation.go:220(note: source report cited this asdocker_validation.gowithout thepkg/workflow/prefix — confirmed actual location viafind)
Expected Impact
Closes the last few time.Sleep violations the repo's own timesleepnocontext linter targets; these waits become cancellable rather than blocking for their full duration regardless of context cancellation.
Suggested Fix
Replace each with a ctx-aware wait:
select {
case <-ctx.Done():
return ctx.Err()
case <-time.After(d):
}
Acceptance Criteria
- No unannotated
time.Sleepremains in the four listed locations -
make test-unitpasses
Suggested Agent
Go-focused agent; small, mechanical change per site.
Estimated Effort
Quick (< 1 hour).
Data Source
Repository Quality: Context Propagation & Cancellation Hygiene — 2026-10-06 (#66149), Task 4 (path corrected for docker_validation.go after verification).
Generated by 🔬 Deep Report · claude · agent · 421.8 AIC · ⌖ 9.14 AIC · ⊞ 7.1K · ◷
- expires on Oct 8, 2026, 10:47 AM UTC-08:00
- Lenguaje dominante
- Go
- Estrellas
- 5.6k
- Forks
- 615
- Merge medio
- 5 h 19 min
- PR fusionados (30 d)
- 798
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
- 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 github/gh-aw
-
automated-analysis code-quality cookie enhancement report safe-outputs testing workflows
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
agent-research
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
ai-inspected community model-routing
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
ai-inspected community model-routing
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
automation cli-tools testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
Todos los issues de github/gh-aw
Issues similares
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
cli/cli#14946 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
WriterSetTimes: the UTIME_NOW check fails when the kernel uses its coarse clockPosiblemente ocupada @JakeChampion la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
JakeChampion/lang#14224 ·
Los mantenedores suelen responder en 1 día
-
docs(reference): pi stream-filter bullet says tool_execution_update passes through unchangedAbiertoagent-butler-finding bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
jordansmall/spindrift#6391 ·
Los mantenedores suelen responder en 1 día
-
common.Retry: data race on the shared response/err variables when the request context ends mid-attempt (v65.127.0, v65.128.0)Posiblemente ocupada @kmohit00 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
oracle/oci-go-sdk#676 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
SAP/crossplane-provider-btp#1175 ·
Los mantenedores suelen responder en 1 día