Skip to content

Clamp M7 startup waits to absolute deadline - #109

Merged
jethac merged 4 commits into
mainfrom
fix/m7-deadline-clamp
Sep 1, 2026
Merged

jethac merged 4 commits into
mainfrom
fix/m7-deadline-clamp

Conversation

@jethac

@jethac jethac commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

  • clamp preflight request timeouts and retry sleeps to positive remaining readiness time
  • propagate one absolute deadline through event, snapshot, inventory, and worker observations
  • bound HTTP connect/read allocation and provider retry backoffs
  • always issue one exact termination before deadline-bounded proof and retries

Verification

  • 933 passed, 6 skipped
  • Ruff passed
  • compileall passed
  • git diff --check passed

Deterministic fake-clock coverage includes zero/negative remaining time, slow calls, clock jumps, request timeouts, cancellation, and mandatory termination. No provider or BWS access.

@jethac
jethac merged commit 343d905 into main Sep 1, 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