Files
spark f1906d4462
ci / rust (push) Successful in 6m52s
ci / typescript (push) Successful in 7m20s
fix(deploy-receiver): strip own env vars before spawning deploy.sh
Live incident: the receivers PORT=9010 (and DEPLOY_* vars) were inherited by
the deploy.sh child process it spawns, and `pm2 startOrReload --update-env`
reads that inherited env straight into the app. On pr-api this clobbered the
apis own PORT=3000 with 9010, crash-looping it with EADDRINUSE against the
receiver itself the instant a real webhook (or this fix test) ran a deploy.
Recovered the running service manually; this strips the receivers own keys
from the child env so every future deploy (any service, any container) is
unaffected.

Paperclip-Issue: BIT-31073
Paperclip-Run: f8f86a1f-44b2-4845-8a61-e33b080c4699
2026-10-12 14:45:39 +01:00
..