fix: restore HAPPY_HOME_DIR to PVC so settings survive pod restarts #19
Reference in New Issue
Block a user
Delete Branch "fix/happy-home-dir"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Moving
HAPPY_HOME_DIRto/workspace(emptyDir) was too aggressive — it wiped Happy Coder's auth tokens, config, and daemon state on every pod restart, causing both settings loss and boot failures.The stale lock problem that motivated the move is already handled by the
rm -fininit-repo.sh. There was no need to move the whole home dir.Changes:
happyHomeDirdefault to/home/user/.happy(on the home PVC)Test plan
daemon.state.json.lockis cleaned up correctly on restart🤖 Generated with Claude Code