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

Abierto
#6,961 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
25/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, node.js
Área
devops, release

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TSQL
Estrellas
32
Forks
7
Merge medio
1 d 16 h
PR fusionados (30 d)
504

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de MemberJunction/MJ

Todos los issues de MemberJunction/MJ

Issues similares

Más issues de DevOps

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.