Commit Graph
3 Commits
Author SHA1 Message Date
spark daf7fa7c11 Come back by itself after a reboot: boot unit for api and site, TMPDIR at boot, PM2 retries
ci / rust (push) Successful in 9m14s
ci / typescript (push) Successful in 11m18s
photoreport-boot.service runs infra/deploy/boot.sh at boot (starts the PM2 apps from the last built code, without depending on a saved PM2 list); tmpfiles rule for TMPDIR; deploys pm2 save; PM2 retries with exponential backoff while the database starts.

Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-13 10:32:56 +01:00
spark 4e83a48fc7 fix(deploy-receiver): set HOME for the systemd service
ci / typescript (push) Successful in 14m50s
ci / rust (push) Successful in 15m48s
deploy.sh (set -u) now needs $HOME for the one-time rustup/wasm-bindgen
install under $HOME/.cargo (0cd5119). systemd gives services no HOME by
default, so every deploy of app since that commit failed immediately with
"HOME: unbound variable" -- both the real deploy and its rollback, leaving
pr-app stuck on the pre-0cd5119 build for 5+ pushes.

Paperclip-Issue: BIT-31073
Paperclip-Run: 325858bb-25b9-44f5-81f0-8309989d08ff
2026-10-12 23:14:17 +01:00
sparkandClaude Opus 5.5 29e96b3023 feat: deploy script with rollback; crop command contract (8/10)
ci / typescript (push) Failing after 34s
ci / rust (push) Successful in 1m41s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HT6iXLYUUp9pJz5Kza9xCW
2026-10-11 14:48:58 +01:00