try { const response = await fetch(`http://127.0.0.1:${process.env.PORT || 8000}/healthz`, { signal: AbortSignal.timeout(2000) }); process.exit(response.status === 204 ? 0 : 1); } catch { process.exit(1); }