mirror of
https://github.com/actions-runner-controller/actions-runner-controller.git
synced 2026-10-17 23:08:29 +02:00
Defer scale up until the listener publishes a state that accounts for finished runners (#4642)
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot App
Copilot Autofix powered by AI
parent
6f89d057c0
commit
484564e6d6
@@ -53,6 +53,12 @@ type EphemeralRunnerSetStatus struct {
|
||||
// Unset defaults to 0.
|
||||
// +optional
|
||||
AppliedActionableRevision int64 `json:"appliedActionableRevision,omitempty"`
|
||||
// FinishedRunnerCleanupPatchID records the listener patch ID for which finished
|
||||
// ephemeral runners were cleaned up. Scale-up is suppressed for the same patch ID
|
||||
// until the listener publishes a fresh desired-state patch.
|
||||
// Unset defaults to 0.
|
||||
// +optional
|
||||
FinishedRunnerCleanupPatchID int `json:"finishedRunnerCleanupPatchID,omitempty"`
|
||||
}
|
||||
|
||||
// EphemeralRunnerSetPhase is the phase of the ephemeral runner set resource
|
||||
|
||||
Reference in New Issue
Block a user