Skip to content

chore(deploy): honest host banner + guard against npm cache EEXIST - #164

Merged
bitbacchus merged 1 commit into
mainfrom
chore/deploy-script-fixes
Aug 14, 2026
Merged

chore(deploy): honest host banner + guard against npm cache EEXIST#164
bitbacchus merged 1 commit into
mainfrom
chore/deploy-script-fixes

Conversation

@bitbacchus

Copy link
Copy Markdown
Member

Two small deploy-script fixes:

  • Banner: deployment.sh printed === deployment to PROD === on every host; it now prints the actual hostname, so a test-server deploy no longer mislabels itself as prod.
  • Robustness: an interrupted install can leave ~/.npm/_cacache/tmp in a state that makes npm ci abort with EEXIST (hit today on recapptest). Added npm cache verify || npm cache clean --force before npm ci.

🤖 Generated with Claude Code

- Banner said 'PROD' regardless of target; now prints the actual host.
- Interrupted installs can leave ~/.npm/_cacache/tmp corrupt, aborting npm ci
  with EEXIST; run 'npm cache verify' (falls back to clean) before install.
@bitbacchus
bitbacchus merged commit 5eb8f90 into main Aug 14, 2026
@bitbacchus
bitbacchus deleted the chore/deploy-script-fixes branch August 14, 2026 14:03
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant