lts-6.2 dist-tag lags after 6.2.3 (published as latest)

Aperta
#6,961 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
1/5
Tempo stimato
Meno di un'ora
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, node.js
Ambito
devops, release

Direzione di ricerca

From a checkout of v6.2.3, run node ci/dist-tag-all.mjs --version 6.2.3 --tag lts-6.2 with npm write access to the @memberjunction scope. Then run npm view @memberjunction/core dist-tags and confirm both tags; the issue says this idempotent command finishes the catch-up.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

lts-dist-tag-lag

lts-6.2 points at 6.2.2, but the newest release on lts/6.2 is 6.2.3, which was published under latest.

Why a second step is needed at all. npm applies exactly one dist-tag at publish time, and publish time is the only moment the release workflow holds a credential it cannot lose: trusted publishing (OIDC) authorizes npm publish alone — in the npm CLI, lib/utils/oidc.js is required by lib/commands/publish.js and nothing else, and lib/commands/dist-tag.js has no OIDC path. When a line already owns latest, the publish spends its one tag there, and lts-6.2 is corrected afterwards with a stored token. Tracking issue: npm/cli#8547 — if OIDC ever authorizes dist-tag, both the token and these issues stop being necessary.

What happened this time. The automatic catch-up ran and did not converge: FAIL verify @memberjunction/ai-groq: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/ai-recommendations-rex: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/communication-gmail: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/geo-core: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/geo-maps: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/ng-realtime-widget: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/react-runtime: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/react-test-harness: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/realtime-runtime: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/realtime-widget: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/scheduling-engine-base: expected lts-6.2 → 6.2.3, found 6.2.2 FAIL verify @memberjunction/task-graph: expected lts-6.2 → 6.2.3, found 6.2.2 . ci/dist-tag-all.mjs is idempotent, so re-running the command below finishes the job.

Fix it (needs npm write access to the @memberjunction scope), from a checkout of the release so the package set matches:

git checkout v6.2.3
node ci/dist-tag-all.mjs --version 6.2.3 --tag lts-6.2

Then confirm both tags:

npm view @memberjunction/core dist-tags

The release itself is complete and verified — only the channel tag is behind. Filed by this run.

Lingua principale
TSQL
Stelle
32
Fork
7
Merge medio
1g 16h
PR unite (30g)
504

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di MemberJunction/MJ

Tutte le issue di MemberJunction/MJ

Issue simili

Altre issue su DevOps

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.