← back to Homesonspec
chore(workers): pin WORKER_HEALTH_PORT=9966 (9976 taken on Kamatera)
ac1caf5dcb67adc1cd4e5e98dd91b32f99df3852 · 2026-08-10 06:23:16 -0700 · Steve
Verified free via ss on prod 2026-08-10. Health probe binds 127.0.0.1:9966;
non-fatal on collision as of 7ff28c2. Part of the TK-10240 re-deploy.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Files touched
Diff
commit ac1caf5dcb67adc1cd4e5e98dd91b32f99df3852
Author: Steve <steve@designerwallcoverings.com>
Date: Mon Aug 10 06:23:16 2026 -0700
chore(workers): pin WORKER_HEALTH_PORT=9966 (9976 taken on Kamatera)
Verified free via ss on prod 2026-08-10. Health probe binds 127.0.0.1:9966;
non-fatal on collision as of 7ff28c2. Part of the TK-10240 re-deploy.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
ecosystem.config.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/ecosystem.config.js b/ecosystem.config.js
index e7c4c7b1..7de9e25d 100644
--- a/ecosystem.config.js
+++ b/ecosystem.config.js
@@ -24,7 +24,11 @@ module.exports = {
script: "src/index.ts",
interpreter: "node",
interpreter_args: "--env-file=" + __dirname + "/.env --import tsx",
- env: { NODE_ENV: "production" },
+ // WORKER_HEALTH_PORT: /health probe binds 127.0.0.1:<this>. Verified free on
+ // Kamatera 2026-08-10 (9976, the prior default, is taken by another service).
+ // A bind failure is non-fatal as of 7ff28c2 — the worker keeps draining the
+ // queue — so a future collision degrades to "no probe", never a crash.
+ env: { NODE_ENV: "production", WORKER_HEALTH_PORT: "9966" },
// This pg-boss worker process.exit(1)s on any Postgres error; pm2's default
// instant respawn turned the 2026-08-05 disk-full/PG outage into a ~12,564-restart
// storm (TK-10239). exp_backoff spaces crash-restarts (base 100ms, pm2 caps ~15s,
← 7ff28c2d fix(workers): health-probe bind failure must not crash the w
·
back to Homesonspec
·
HomesOnSpec ASC docs: lock 17+ ship decision, © 2026 Steve A e8c1a10f →