Skip to content

fix(release): pack platform clients by relative path - #772

Merged
jeremi merged 2 commits into
mainfrom
fix/candidate-npm-platform-path
Aug 13, 2026
Merged

fix(release): pack platform clients by relative path#772
jeremi merged 2 commits into
mainfrom
fix/candidate-npm-platform-path

Conversation

@jeremi

@jeremi jeremi commented Aug 13, 2026

Copy link
Copy Markdown
Member

Incident

Candidate run 31742816713 stopped in all three native client matrices:

  • Linux arm64 job 94590258699 tried ssh://git@github.com/npm/linux-arm64-gnu.git
  • Linux amd64 job 94590258739 tried ssh://git@github.com/npm/linux-x64-gnu.git
  • macOS arm64 job 94590258802 tried ssh://git@github.com/npm/darwin-arm64.git

The workflow passed npm/<platform> to npm 10.9 without an explicit relative prefix, so npm interpreted the value as GitHub shorthand instead of the checked-in package directory.

Fix

  • Pack the platform directory as ./npm/<platform>.
  • Assert that exact production command shape in the workflow-structure tests.

Verification

  • Focused regression test: passed
  • Full workflow-structure suite: 36 passed
  • Full actionlint: passed
  • git diff --check: passed

This changes candidate workflow control only. It does not change release payload content or rewrite release history. After merge, beta-33 must be rebuilt and verified as a new candidate from the new protected-main source.

jeremi added 2 commits August 14, 2026 03:58
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
Signed-off-by: Jeremi Joslin <jeremi@joslin.fr>
@jeremi
jeremi marked this pull request as ready for review August 13, 2026 21:05
@jeremi
jeremi merged commit bf3e8db into main Aug 13, 2026
31 checks passed
@jeremi
jeremi deleted the fix/candidate-npm-platform-path branch August 13, 2026 21:05

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3bf7cd1b18

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"${platform_dir}/"
(cd "${client_dir}" && npm pack \
"npm/${{ matrix.napi_platform }}" \
"./npm/${{ matrix.napi_platform }}" \

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the required DCO sign-off

Commit 7cc861cf9e370fbc1102bbd8917ca9bf4cecf419 has no Signed-off-by: trailer, so it does not satisfy the repository's mandatory DCO policy and will be blocked from compliant integration; recreate this change with an appropriate sign-off.

AGENTS.md reference: AGENTS.md:L274-L274

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant