Repository navigation
fix(ci): harden published npm smoke and rewrite the README - #3
Merged
Merged
Conversation
Post-publish smoke no longer uses shell:true or swallows npx output. It runs `npx --package … ai-tools help`, prints stdout/stderr on failure, and retries longer. README now describes native host files, scoped MCP install, and that unified sync is disabled.
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.
Why
The 1.2.0 pipeline went red only on Ubuntu post-publish smoke. The inline script used
spawnSync(..., { shell: true }), did not print npx stdout/stderr, and treated--helpas the package args. Mac/Windows passed; Ubuntu failed 8 times with no diagnostic.The README still advertised top-level
sync, named PalamHealth, and did not explain native host files or scoped install.What
scripts/smoke-published.mjs:npx --yes --package @itz4blitz/ai-tools@latest ai-tools help, noshell:trueon Unix, logs every failed attempt, 12 retriespackages/cli/README.mdfor npm): what to run, what not to run, native paths,layer/whenPathContainsRelease
fix(ci)→ patch. semantic-release should publish@itz4blitz/ai-tools@1.2.1with the new README.Verify
npm run checkpassed locally: 182 files, coverage 89.27 / 80.03 / 88.21 / 90.25, pack smoke passed.