You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/lifecycle.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -212,8 +212,8 @@ Lifecycle session name:
212
212
Notes:
213
213
- If no mux backend is available, lifecycle process startup fails with an actionable error.
214
214
- Teardown is implemented by killing the lifecycle session; anything running inside that session will be stopped.
215
-
- For tmux-backed lifecycle sessions, Hack also persists pane PID and process-group metadata to
216
-
`.hack/.internal/lifecycle/state.json`, with per-hook/process output logged to
215
+
- For tmux-backed lifecycle sessions, Hack also persists the pane PID and the wrapped command's actual
216
+
process-group metadata to `.hack/.internal/lifecycle/state.json`, with per-hook/process output logged to
217
217
`.hack/.internal/lifecycle/*.log`. If tmux pane state disappears before teardown, `hack down` still uses that persisted metadata to clean up any live lifecycle process groups instead of leaving orphaned host processes behind.
218
218
-`hack doctor` reports stale lifecycle state when the persisted lifecycle entry no longer has a live mux session and points operators to `hack down` so cleanup and state removal happen through the supported path. `hack doctor --fix` does not tear down lifecycle sessions itself — use `hack down` for that.
0 commit comments