[PR #11961] fix(desktop): clean up orphaned sidecar processes on Linux #14003

Open
opened 2026-02-16 18:18:49 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/11961

State: open
Merged: No


Summary

  • add Linux process-group cleanup (PDEATHSIG + setsid) for sidecar processes
  • track Linux sidecar PIDs and kill their groups on exit
  • use Linux-specific sidecar spawn path for proper cleanup

Testing

  • Not run (typecheck ran via pre-push hook)

Fixes #11959

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/11961 **State:** open **Merged:** No --- ## Summary - add Linux process-group cleanup (PDEATHSIG + setsid) for sidecar processes - track Linux sidecar PIDs and kill their groups on exit - use Linux-specific sidecar spawn path for proper cleanup ## Testing - Not run (typecheck ran via pre-push hook) Fixes #11959
yindo added the pull-request label 2026-02-16 18:18:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14003