Skip to content

Recover ordinary model containers after sampled idleness - #47

Merged
huangxinV587 merged 1 commit into
mainfrom
branch/green950-9522-guard-r5
Nov 12, 2026
Merged

huangxinV587 merged 1 commit into
mainfrom
branch/green950-9522-guard-r5

Conversation

@huangxinV587

Copy link
Copy Markdown
Contributor

Add a separate recovery observer for pinned ordinary-model containers. It records running intent, waits for a fresh two-hour sampled idle window after an eligible exit or host reboot, checks device holders and container identity before starting, and preserves observed manual stops. The existing DeepInfer policy remains unchanged.

Recovery is best effort: sampled idleness is not a resource lease, exit codes do not always reveal operator intent, and the observer refuses to connect while the Docker socket-activation unit is active. System-process exemptions require exact service, process, executable, command-line and environment fingerprints.

Validation: python -m unittest discover -s tests -v (275 tests, 8 skipped). Fault injection and full two-hour recovery on a live serving machine were not performed.

@huangxinV587
huangxinV587 merged commit efb48c6 into main Nov 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant