Repository navigation
Report the settled runtime order in runtime status - #67
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.