release: wait longer for npm to expose published client packages before failing
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
Empieza por el trabajo de release en .github/workflows/release.yml y las comprobaciones de la estructura del workflow en release/scripts/test_release_workflow_structure.py. Encuentra los plazos de disponibilidad de la plataforma y del paquete raíz, así como sus mensajes de sondeo. Aumenta los plazos, informa cada minuto de los paquetes que sigan ausentes, conserva el fallo inmediato ante una discrepancia de integridad y, después, ejecuta la prueba de estructura mencionada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Why
The v0.42.0 publication run failed its npm job on the first attempt. The job "Reconcile platform packages, then publish the root package" (.github/workflows/release.yml) publishes the platform packages, then polls client_registry.py npm-state for each one until the exact version is exposed, giving up after 600 seconds (platform_deadline=$((SECONDS + 600))). It failed with:
npm did not expose exact platform package registrystack-client-linux-arm64-gnu-0.42.0.tgz
All three platform packages had been published. The root package had not, because the job stops before publishing it. A few minutes later every platform version endpoint returned the exact integrity. The supported recovery (verify-recovery, then publish --plan ... --wait) reconciled the published platforms and published the root package with no change, so the release completed. That still cost a second protected-environment approval and about 15 minutes.
npm's per-version endpoint can lag past ten minutes after a successful npm publish. The deadline treats that lag as a failure, but the recovery path shows it is not one.
Change
- Raise the platform and root exposure deadlines, for example to 30 minutes, and print a progress line every minute naming the packages still absent.
- Keep the fail-closed behaviour: an exposed package whose integrity differs from the candidate still fails at once, and nothing is republished.
- Cover the change in
release/scripts/test_release_workflow_structure.py.
Acceptance
A publication whose platform packages take more than ten minutes to appear completes in one run, and the failure for an integrity mismatch is unchanged.
- Lenguaje dominante
- Rust
- Estrellas
- 2
- Forks
- 0
- Merge medio
- 9 h 24 min
- PR fusionados (30 d)
- 271
Preparar el entorno
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 registrystack/registry-stack
-
area:docs documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
registrystack/registry-stack#2253 ·
Los mantenedores suelen responder en 1 día
-
area:coordinator bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
registrystack/registry-stack#2252 ·
Los mantenedores suelen responder en 1 día
-
BReg docs: the WASM upgrade step points at a compatibility member that explain no longer emitsAbiertoarea:breg documentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
registrystack/registry-stack#2233 ·
Los mantenedores suelen responder en 1 día
-
area:breg bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
registrystack/registry-stack#2231 ·
Los mantenedores suelen responder en 1 día
-
area:breg bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
registrystack/registry-stack#2227 ·
Los mantenedores suelen responder en 1 día
Todos los issues de registrystack/registry-stack
Issues similares
-
Update webpki-root-certsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
rustls/rustls-platform-verifier#262 · 2 comentarios · 2 reacciones ·
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
bherbruck/solvecraft#4493 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
IngvarConsulting/unica#1911 ·
Los mantenedores suelen responder en 1 día