Repository navigation
fix(release): expect the portable hint from a project install in the invocation check - #210
Merged
Merged
Conversation
…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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Unblocks release: the publish job failed at "The tarball's suggestions reach it" (run 39059939078). Since #197 a project install prints
npx uptide@next, butcheck-invocation.mjsstill expecteduptide.expectedInvocation(version, onPath):uptideon PATH, otherwisenpx uptide/npx uptide@next.check-invocation.mjsnow runs two cases. A project install, with its.binprepended to PATH as a package manager would, expects the portable form. A global prefix on PATH expectsuptide.smokejob now packs the tarball and runs the same check.release.test.tsasserts the step stays there.Checked locally on packed tarballs: 0.14.3 prints
npx uptide/uptide, and a 0.14.4-next.1 build printsnpx uptide@next/uptide.smoke.test.ts+release.test.tspass, 42/42. The Docker smoke was not run locally (no Docker here).🤖 Generated with Claude Code