Skip to content

fix(release): prefix local npm tarball paths with ./ - #137

Merged
avidianity merged 1 commit into
mainfrom
fix/npm-publish-tarball-path
Nov 22, 2026
Merged

avidianity merged 1 commit into
mainfrom
fix/npm-publish-tarball-path

Conversation

@avidianity

Copy link
Copy Markdown
Owner

Summary

Prefix local tarball paths with ./ in the publish-npm job of .github/workflows/release.yml so npm 11 treats them as local files instead of GitHub owner/repo shorthand (ssh://git@github.com/npm-tarballs/...).

Tier

Tier 2 from the tier check: GitHub Actions release workflow fix in .github/workflows/release.yml.

Task

Fix the publish-npm failure observed on release run 44993450770 (v0.2.0):

  • Prefix both npm publish tarball paths with ./

Fail-first test

  • Failure observed on live v0.2.0 release run 44993450770 job 137122502759:
    npm error command git --no-replace-objects ls-remote ssh://git@github.com/npm-tarballs/avidian-codeint-darwin-arm64-0.2.0.tgz.git
  • After the change: tarball paths start with ./, which npm-package-arg unambiguously parses as local file paths.

Checks

Check Result
lefthook pre-commit hooks passed
cargo xtask merged-result passed

Safety proof

  • Safety fact: only the two local file path arguments to npm publish change; permissions, OIDC Trusted Publishing, and --provenance --access public flags are untouched.
  • Proof: git diff .github/workflows/release.yml shows only the ./ prefix added to lines 321 and 323.
  • interrogate: none run below Tier 3.

Runtime evidence

Not applicable: CI release workflow fix (verified on the next release tag).

Gaps

  • Deferred coverage: live OIDC npm publish runs on the next v* tag push (v0.2.1)
  • Pre-existing failures: none
  • Environmental failures: none

@avidianity
avidianity merged commit 9d38f91 into main Nov 22, 2026
9 checks passed
@avidianity
avidianity deleted the fix/npm-publish-tarball-path branch November 22, 2026 06:41
@github-actions github-actions Bot added the tier-3 Tier 3 from the tier check label Nov 22, 2026
@avidianity avidianity mentioned this pull request Nov 22, 2026
4 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tier-3 Tier 3 from the tier check

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant