Skip to main content

Module execution_resume_all

Module execution_resume_all 

Source
Expand description

--resume-all: re-attach or reconcile every execution still marked running.

When the supervisor host restarts, the detached docker completion watcher (docker logs -f ... ; docker inspect ... ; footer) dies with it. The container keeps running but nothing streams its output into the session log any more, and nothing will ever write the exit footer — the record stays executing forever. --resume-all repairs that state:

  • reattached: a live docker container gets a fresh completion watcher.
  • running: a live screen/tmux session needs nothing (its logging is in-session), it is only reported.
  • reconciled: the session is gone, so the record is finalized from the same evidence --status uses (docker exit code, log footer).
  • unknown: the backend cannot be probed locally (ssh), left untouched.

Commands are never silently restarted here: resuming actual work is an explicit, per-session decision made with --resume.

Structs§

ExecutionResumeAllResult
Result of resume_all_executions.
ResumeAllEntry
One line of the --resume-all report.

Enums§

ResumeAllAction
Outcomes reported for each execution that was still marked running.

Functions§

format_resume_all
Format a --resume-all report in the requested output format.
resume_all_executions
Re-attach or reconcile every execution still marked running.
resume_all_executions_with
Re-attach or reconcile with an injectable command runner and hooks.