Documentation
¶
Overview ¶
Package runstate encodes storage states that fence unsupported workers.
Index ¶
Constants ¶
View Source
const PausedPrepared = "paused_prepared"
PausedPrepared is deliberately unknown to readers predating preparation. Their atomic resume and expiry claims match only the literal paused state.
Variables ¶
This section is empty.
Functions ¶
func NextRevision ¶
NextRevision rejects invalid or exhausted versions without wrapping around.
func UpdateConflict ¶
func UpdateConflict(ctx context.Context, reader interface { GetRun(context.Context, id.AgentRunID) (*run.Run, error) }, scope cortex.Scope, runID id.AgentRunID) error
UpdateConflict classifies a failed conditional write without exposing a run outside the exact caller scope. The read is diagnostic, never write authority.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.