[P2] Redeploy fragility — multiple stray web procs; harden + document #46

Open
opened 2026-05-23 21:52:28 +00:00 by thabeta · 0 comments
Owner

Problem
Restarting hero_shrimp_web repeatedly left several stray processes; the bound one wins nondeterministically and which binary serves web.sock isn't obvious. Redeploy depends on a fragile manual procedure.

Evidence

  • Observed 5 concurrent hero_shrimp_web PIDs after repeated relaunches this session.

Proposed fix
A single supervised launcher (or systemd unit) that kills predecessors, verifies the socket owner, and refuses to run two instances.


Filed from a comparative audit of Hero Shrimp vs Qwen-Code / kimi-cli / picoclaw (2026-05-23). Severity in title: P0=correctness/trust, P1=reliability/UX, P2=cleanup.

**Problem** Restarting `hero_shrimp_web` repeatedly left several stray processes; the bound one wins nondeterministically and which binary serves `web.sock` isn't obvious. Redeploy depends on a fragile manual procedure. **Evidence** - Observed 5 concurrent `hero_shrimp_web` PIDs after repeated relaunches this session. **Proposed fix** A single supervised launcher (or systemd unit) that kills predecessors, verifies the socket owner, and refuses to run two instances. --- _Filed from a comparative audit of Hero Shrimp vs Qwen-Code / kimi-cli / picoclaw (2026-05-23). Severity in title: P0=correctness/trust, P1=reliability/UX, P2=cleanup._
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
lhumina_code/hero_shrimp#46
No description provided.