install_threat_detect_binary.sh: fixed 10 s retry delay ends the download before a release-host 504 outage clears
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
- 74/100
Línea de trabajo
El reintento con retardo fijo está en actions/setup/sh/install_threat_detect_binary.sh alrededor de la línea 225 (curl con --retry 5 --retry-delay 10). Lee el script hermano actions/setup/sh/install_awf_binary.sh en las líneas 130-132, que ya usa backoff exponencial con --retry 8, y compara ambos. Está terminado cuando la descarga de threat-detect sigue reintentando durante el tiempo suficiente para cubrir una caída de 504 de varios minutos. Se verifica ejecutando el script contra una URL simulada que devuelve 504 durante un rato.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The threat-detect installer stops after about 50 seconds of HTTP 504 from the GitHub release download host, so the detection job ends with detector_execution_failure. The evidence is from gh-aw v1.0.1 and v1.2.2, and the code is the same at main.
A scheduled workflow compiled with gh-aw v1.0.1 ended with detector_execution_failure on two days, 2026-11-08 and 2026-11-09. In both runs, the detection job did not run the detector.
The detection job log of the 2026-11-09 run shows the install step Install threat-detect binary (threat-detect v0.5.3):
07:38:44.6188063Z Downloading binary from "https://github.com/github/gh-aw-threat-detection/releases/download/v0.5.3/threat-detect-linux-amd64"...
07:38:52.3611133Z curl: (22) The requested URL returned error: 504
07:39:02.4143103Z curl: (22) The requested URL returned error: 504
07:39:12.4670635Z curl: (22) The requested URL returned error: 504
07:39:22.5203890Z curl: (22) The requested URL returned error: 504
07:39:32.5723943Z curl: (22) The requested URL returned error: 504
07:39:42.6244559Z curl: (22) The requested URL returned error: 504
07:39:42.6306004Z ##[error]Process completed with exit code 22.
The 2026-11-08 run shows the same 6 attempts from 09:41:05 to 09:41:55.
The installer downloads the binary with --retry 5 --retry-delay 10, in install_threat_detect_binary.sh#L225. A fixed delay gives 6 attempts in about 50 seconds. The --retry-max-time 180 value does not extend that window, because the retry count ends first.
In the same detection job, the AWF installer got 504 from the same host from 07:33:56 and completed its download at 07:38:33. That installer uses exponential backoff with --retry 8, in install_awf_binary.sh#L130-L132. The comment at line 130 says that exponential backoff spans longer gateway outages than six fixed-delay attempts.
- Lenguaje dominante
- Go
- Estrellas
- 5.6k
- Forks
- 625
- Merge medio
- 5 h 2 min
- PR fusionados (30 d)
- 827
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
-
automation documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
agentic-workflows automated ci-fix pull-request-fallback
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
Protected session capture: `Parse agent logs for step summary` fails when the engine step never ranAbiertoai-inspected
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
awf community
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
github/gh-aw#76385 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Pi on arc-dind: an aliased model reaches pi empty (`Model "aw-gateway/" not found`)Posiblemente ocupada @pelikhan la tomó hace 16 días. Abiertoai-inspected community
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
github/gh-aw#72530 · 1 reacción · 2 asignados ·
Los mantenedores suelen responder en 1 día
Todos los issues de github/gh-aw
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Applications at the repository root are not triggered by new commitsPosiblemente ocupada @Daksha1611 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Los mantenedores suelen responder en 2 días
-
docker-compose: postgres healthcheck should probe TCP (pg_isready -h localhost)Posiblemente ocupada @zezo-mohamed22 la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
OneBusAway/watchdog#305 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
self-care self-care:agent-discoverability
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
githubnext/gh-cao#20928 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
SocialGouv/iterion#3287 ·
Los mantenedores suelen responder en 1 día