pub async fn await_commit_recovery(log: impl Fn(&str)) -> boolExpand description
Wait for system commit to recover above RESUME_FLOOR_MB, probing with
exponential backoff (BACKOFF_START → BACKOFF_CAP). Returns true once
recovered, or false if OOM_RELAUNCH_DEADLINE elapses first (the caller
then gives up gracefully). log is the launcher’s logger, threaded in so the
wait is observable in the launcher log.