Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
276bb1c
Fix ephemeral runner set status update
nikola-jokic Jun 12, 2026
390d6e2
Potential fix for pull request finding
nikola-jokic Jun 12, 2026
5f974df
Renam Url to URL
nikola-jokic Jun 15, 2026
ae9b446
wip
nikola-jokic Jun 15, 2026
34ef44e
wip
nikola-jokic Jun 15, 2026
7a59fea
Fix ephemeral runner set annotation propagation
nikola-jokic Jun 15, 2026
1f54447
fix min/max runners
nikola-jokic Jun 15, 2026
3b15137
wip
nikola-jokic Jun 16, 2026
10ae75d
wip
nikola-jokic Jun 17, 2026
d2e63d7
wip
nikola-jokic Jun 17, 2026
7803f19
fix equal annotations
nikola-jokic Jun 23, 2026
6d2a1cd
Use metrics to display runner statuses instead of status field for Ep…
nikola-jokic Jul 6, 2026
3de12ec
wip
nikola-jokic Jul 10, 2026
32a8d20
revert optional
nikola-jokic Jul 10, 2026
2148a62
wip
nikola-jokic Jul 10, 2026
3a6ce79
wip
nikola-jokic Jul 13, 2026
195f9a4
wip
nikola-jokic Jul 13, 2026
0243eb1
revert optional tags
nikola-jokic Jul 13, 2026
9ad6faa
Use metrics to display runner statuses instead of status field for Ep…
nikola-jokic Jul 6, 2026
7602700
Include resource cache for desired resources
nikola-jokic Jul 13, 2026
a47cae6
wip
nikola-jokic Jul 15, 2026
4670f01
remove if checks, testing should catch nil references
nikola-jokic Jul 15, 2026
36d8aae
Remove fingerprint from annotation
nikola-jokic Jul 16, 2026
b99bc5e
Merge branch 'master' into nikola-jokic/remove-annotation-fingerprint
nikola-jokic Jul 22, 2026
daca163
wip
nikola-jokic Jul 22, 2026
c08a114
fix
nikola-jokic Jul 22, 2026
73c8f52
revert charts
nikola-jokic Jul 23, 2026
3a67a4f
ok
nikola-jokic Jul 23, 2026
f2fbfe3
fix test
nikola-jokic Jul 23, 2026
ac28648
wip
nikola-jokic Jul 17, 2026
ab1c70d
Use lazy copy for annotations
nikola-jokic Jul 20, 2026
077d08d
Apply suggestions from code review
nikola-jokic Jul 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,10 @@ type HistogramMetric struct {
type AutoscalingRunnerSetStatus struct {
// +optional
Phase AutoscalingRunnerSetPhase `json:"phase"`
// ObservedGeneration tracks the metadata.generation of this ARS at observation time,
// enabling detection of Pending phase when generation differs. Unset defaults to 0.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
}

type AutoscalingRunnerSetPhase string
Expand Down
16 changes: 16 additions & 0 deletions apis/actions.github.com/v1alpha1/ephemeralrunnerset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,28 @@ type EphemeralRunnerSetSpec struct {
// but does not apply to existing ephemeral runners.
// +optional
EphemeralRunnerMetadata *ResourceMeta `json:"ephemeralRunnerMetadata,omitempty"`
// ActionableRevision is a restart-safe applied marker that increments whenever
// Spec.EphemeralRunnerSpec changes, enabling detection of spec updates.
// Unset defaults to 0.
// +optional
ActionableRevision int64 `json:"actionableRevision,omitempty"`
}

// EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet
type EphemeralRunnerSetStatus struct {
// +optional
Phase EphemeralRunnerSetPhase `json:"phase"`
// AppliedActionableRevision is a restart-safe applied marker tracking the last successfully
// applied ActionableRevision value. Advances only after spec cleanup succeeds.
// 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
Expand Down
2 changes: 1 addition & 1 deletion apis/actions.github.com/v1alpha1/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v1alpha1
import "strings"

func IsVersionAllowed(resourceVersion, buildVersion string) bool {
if buildVersion == "dev" || resourceVersion == buildVersion || strings.HasPrefix(buildVersion, "canary-") {
if resourceVersion == buildVersion || buildVersion == "dev" || strings.HasPrefix(buildVersion, "canary-") {
return true
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions config/crd/bases/actions.github.com_ephemeralrunnersets.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading