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

オープン
#6,961 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
github-actions, node.js
領域
devops, release

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
TSQL
スター
32
フォーク
7
平均マージ
1日 16時間
マージ済み PR(30日)
504

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MemberJunction/MJ のほかの issue

MemberJunction/MJ の issue をすべて見る

似ている issue

DevOps の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。