Skip to content

fix(release): expect the portable hint from a project install in the invocation check - #210

Merged
lucasbraum merged 1 commit into
mainfrom
fix/invocation-smoke-portable
Oct 17, 2026
Merged

lucasbraum merged 1 commit into
mainfrom
fix/invocation-smoke-portable

Conversation

@lucasbraum

Copy link
Copy Markdown
Collaborator

Unblocks release: the publish job failed at "The tarball's suggestions reach it" (run 39059939078). Since #197 a project install prints npx uptide@next, but check-invocation.mjs still expected uptide.

  • expectedInvocation(version, onPath): uptide on PATH, otherwise npx uptide / npx uptide@next.
  • check-invocation.mjs now runs two cases. A project install, with its .bin prepended to PATH as a package manager would, expects the portable form. A global prefix on PATH expects uptide.
  • The CI smoke job now packs the tarball and runs the same check. release.test.ts asserts the step stays there.

Checked locally on packed tarballs: 0.14.3 prints npx uptide / uptide, and a 0.14.4-next.1 build prints npx uptide@next / uptide. smoke.test.ts + release.test.ts pass, 42/42. The Docker smoke was not run locally (no Docker here).

🤖 Generated with Claude Code

…invocation check

#197 stopped counting a project's node_modules/.bin as the user's PATH, so a
CLI installed into a project prints `npx uptide` (`npx uptide@next` from a
snapshot). check-invocation.mjs installs exactly that way and still expected
plain `uptide`, which blocked the next publish.

- expectedInvocation/invocationFailures take whether the binary is on PATH:
  `uptide` there, the portable form otherwise. The container smoke installs
  globally and passes true.
- check-invocation.mjs runs two cases: a project install (portable) and a
  global prefix on PATH (`uptide`).
- The CI smoke job packs the tarball and runs the same check, and a release
  test asserts the step stays there.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Lucas Braum <[email protected]>
@lucasbraum lucasbraum added the no-changeset Change needs no release note label Oct 17, 2026 — with Claude
@lucasbraum
lucasbraum merged commit 00ab172 into main Oct 17, 2026
12 of 13 checks passed
@lucasbraum
lucasbraum deleted the fix/invocation-smoke-portable branch October 17, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changeset Change needs no release note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant