fix: don't abort startup if happy daemon fails to start #7

Merged
cpfarhood merged 1 commits from fix/happy-daemon-nonblocking into main 2026-02-20 12:37:10 +00:00
cpfarhood commented 2026-02-20 12:36:32 +00:00 (Migrated from github.com)

Summary

happy daemon start was failing and set -e caused the whole init script to exit with status 1, which put the container into a crash loop (black screen in the web UI).

Changed to happy daemon start || echo "..." so startup continues and VSCode opens even if the Happy daemon isn't available yet.

Test plan

  • Merge and bounce pods
  • Confirm web UI loads (no more black screen)
  • Check logs for === Initialization Complete ===

🤖 Generated with Claude Code
via Happy

## Summary `happy daemon start` was failing and `set -e` caused the whole init script to exit with status 1, which put the container into a crash loop (black screen in the web UI). Changed to `happy daemon start || echo "..."` so startup continues and VSCode opens even if the Happy daemon isn't available yet. ## Test plan - [ ] Merge and bounce pods - [ ] Confirm web UI loads (no more black screen) - [ ] Check logs for `=== Initialization Complete ===` 🤖 Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering)
Sign in to join this conversation.