Skip to content

Make postinstall non-fatal — unblocks tower npm install - #463

Merged
joelteply merged 1 commit into
mainfrom
fix/postinstall-nonfatal
Mar 25, 2026
Merged

joelteply merged 1 commit into
mainfrom
fix/postinstall-nonfatal

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Voice model download failure killed npm install on WSL2 tower. Now non-fatal with warning.

The postinstall script downloads voice models (STT/TTS). On WSL2/headless
nodes, this can fail due to missing deps. Previously killed npm install entirely.
Now continues with a warning — system starts without voice, which is fine.

This was blocking the 5090 tower from running npm install.
Copilot AI review requested due to automatic review settings March 25, 2026 21:35
@joelteply
joelteply merged commit c1dd4a5 into main Mar 25, 2026
@joelteply
joelteply deleted the fix/postinstall-nonfatal branch March 25, 2026 21:35

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR makes the postinstall step non-fatal when the voice model download script fails, preventing npm install from being blocked (notably on WSL2 tower environments) while still surfacing a warning about missing STT/TTS capabilities.

Changes:

  • Update postinstall to tolerate failures from worker:models and emit a warning instead of failing the install.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants