Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

release: wait longer for npm to expose published client packages before failing

Offen Anfängerfreundlich
#2,248 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
74/100
Issue-Typ
Bug
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
github-actions, python
Bereich
ci-cd, release

Rechercherichtung

Beginne mit dem Release-Job in .github/workflows/release.yml und den Workflow-Strukturprüfungen in release/scripts/test_release_workflow_structure.py. Finde die Fristen für die Verfügbarkeit der Plattform- und Root-Pakete sowie die zugehörigen Polling-Meldungen. Verlängere die Fristen, melde weiterhin fehlende Pakete jede Minute, behalte den sofortigen Fehler bei einer Integritätsabweichung bei und führe anschließend den benannten Strukturtest aus.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

area:release bug

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.

Vorherrschende Sprache
Rust
Sterne
2
Forks
0
Ø Merge
10 Std. 32 Min.
Gemergte PRs (30 T.)
269

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus registrystack/registry-stack

Alle Issues in registrystack/registry-stack

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.