Repository navigation
fix(ci): npm 'Validating' window ya no bloquea el pipeline de release - #128
Merged
Merged
Conversation
The "Verify the version resolves on npm" step ran inside the publish job with a 60s budget, but npm holds fresh releases in a "Validating" state for minutes. When it timed out the whole publish job failed, which skipped the CDN deploy and the GitHub Release even though the publish itself had succeeded — this is what broke the 2.7.1 and 2.8.0 releases. Move resolution checking into a separate npm-verify job that gates nothing: it polls for up to 6 minutes, probes both the version metadata and the tarball URL, and opens a bug-labeled issue if the version never resolves, so a real publish failure still surfaces loudly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué cambia
Saca la verificación de resolución en npm del job
publishy la mueve a un jobnpm-verifynuevo que no bloquea nada.publishahora termina después de publicar;cdnygithub-releasesiguen dependiendo solo de él, así que la ventana de "Validating" de npm ya no puede saltarse el deploy al CDN ni el GitHub Release.npm-verify(needs: publish) sondea hasta 6 minutos cada 30s, probando tantonpm view … dist.tarballcomo un range request HTTP contra la URL del tarball — los metadatos pueden resolver mientras el tarball aún responde 404 durante la validación.bug(con dedup por tag), así un publish realmente fallido sigue siendo visible.Motivación: los releases 2.7.1 y 2.8.0 fallaron solo en este paso — el publish había salido bien pero
Deploy to CDNyWrite the GitHub Releasequedaron skipped.Pendiente después del merge
Re-despachar el release de 2.8.0 para que corran el CDN deploy y el GitHub Release que quedaron pendientes:
Closes #127