ci: fix smoke test for npm 11 (install + run bin directly)#18
Merged
Conversation
`npx -y @rendobar/mcp -- --version` fails under npm 11: npx resolves the bin
name (rendobar-mcp) instead of the package and exits 127 ("rendobar-mcp: not
found"). This blocked Create GitHub Release + MCP registry on every release
(masked until set +e surfaced it). Reproduced locally on npm 11.12.1.
Replace with a deterministic smoke: install the published version into a
throwaway dir and run dist/bin.js directly with node. No bin-shim/PATH or
npx-version dependency; still proves the artifact installs and runs. Keep a
metadata-based propagation wait before installing.
This was referenced Jun 1, 2026
Merged
Closed
Closed
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.
Root cause (surfaced by #14's set +e)
The v1.0.2 release's smoke step failed with
exit=127 'sh: 1: rendobar-mcp: not found'on all 5 retries.npx -y @rendobar/mcp@VERSION -- --versionfails under npm 11: npx resolves the bin name (rendobar-mcp) instead of the package and can't find it on PATH. Reproduced locally on npm 11.12.1 — Form C (install + node the bin) is the only reliable one.This blocked Create GitHub Release + MCP registry on every release;
set -emasked it until #14.Fix
Replace npx with a deterministic smoke: install
@rendobar/mcp@VERSIONinto a throwaway dir, rundist/bin.js --versiondirectly withnode. No bin-shim / PATH / npx-version dependency; still proves the published artifact installs and runs. Metadata-based propagation wait kept before install.Recovery context
release.yml tag=v1.0.2to backfill the MCP registry (publish is idempotent), then close Release v1.0.2 failed #13.