Skip to content

Report the settled runtime order in runtime status - #67

Merged
radiatingreverberations merged 1 commit into
mainfrom
settled-runtime-order
Nov 24, 2026
Merged

radiatingreverberations merged 1 commit into
mainfrom
settled-runtime-order

Conversation

@radiatingreverberations

Copy link
Copy Markdown
Contributor

RuntimeStatus field 9 becomes settled_runtime_order: the highest order this process has dealt with. It rises when a Start is adopted, when a Start ends not ready (refused as older work, or its startup failed or was cancelled) before its acknowledgement is sent, and when a Stop records its cutoff. It stays below a Start that is admitted and not yet adopted, and is read in one snapshot with the session.

The control plane keeps the highest Start order it sent an executor and answers retry to a report below it, so it can tell a heartbeat sampled before a Start arrived from one sampled after the runner refused it.

AdmitStart also refuses a non-repeat Start at or below the settled order, so nothing starts at or below a value a status carried.

RuntimeStatus field 9 becomes settled_runtime_order: the highest order
this process has dealt with. It rises when a Start is adopted, when a
Start ends not ready (refused as older work, or its startup failed or
was cancelled) before its acknowledgement is sent, and when a Stop
records its cutoff. It stays below a Start that is admitted and not yet
adopted, and is read in one snapshot with the session.

The control plane keeps the highest Start order it sent an executor and
answers retry to a report below it, so it can tell a heartbeat sampled
before a Start arrived from one sampled after the runner refused it.

AdmitStart also refuses a non-repeat Start at or below the settled
order, so nothing starts at or below a value a status carried.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@radiatingreverberations
radiatingreverberations merged commit 4badb06 into main Nov 24, 2026
10 checks passed
@radiatingreverberations
radiatingreverberations deleted the settled-runtime-order branch November 24, 2026 07:37
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