Skip to content

Revert "Fix typo and rename status to phase"#4505

Merged
nikola-jokic merged 1 commit into
masterfrom
revert-4466-nikola-jokic/fix-typo-print-pahse
May 22, 2026
Merged

Revert "Fix typo and rename status to phase"#4505
nikola-jokic merged 1 commit into
masterfrom
revert-4466-nikola-jokic/fix-typo-print-pahse

Conversation

@nikola-jokic
Copy link
Copy Markdown
Collaborator

Reverts #4466

Copilot AI review requested due to automatic review settings May 22, 2026 09:42
@github-actions
Copy link
Copy Markdown
Contributor

Hello! Thank you for your contribution.

Please review our contribution guidelines to understand the project's testing and code conventions.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reverts a prior change (#4466) by adjusting CRD additionalPrinterColumns (and matching kubebuilder printcolumn markers) for several Actions CRDs.

Changes:

  • Removes the Phase printer column from EphemeralRunnerSet CRDs.
  • Renames the EphemeralRunner .status.phase printer column header from Phase to Status.
  • Changes the AutoscalingRunnerSet printer column JSONPath from .status.phase to .status.state and header to State.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
config/crd/bases/actions.github.com_ephemeralrunnersets.yaml Removes Phase additionalPrinterColumn from EphemeralRunnerSet CRD base.
config/crd/bases/actions.github.com_ephemeralrunners.yaml Renames .status.phase column header from Phase to Status in EphemeralRunner CRD base.
config/crd/bases/actions.github.com_autoscalingrunnersets.yaml Changes AutoscalingRunnerSet printer column JSONPath to .status.state and header to State (currently inconsistent with schema).
charts/gha-runner-scale-set-controller/crds/actions.github.com_ephemeralrunnersets.yaml Mirrors EphemeralRunnerSet Phase column removal in Helm chart CRD.
charts/gha-runner-scale-set-controller/crds/actions.github.com_ephemeralrunners.yaml Mirrors EphemeralRunner column header rename (Phase -> Status) in Helm chart CRD.
charts/gha-runner-scale-set-controller/crds/actions.github.com_autoscalingrunnersets.yaml Mirrors AutoscalingRunnerSet printer column change to .status.state in Helm chart CRD.
charts/gha-runner-scale-set-controller-experimental/crds/actions.github.com_ephemeralrunnersets.yaml Mirrors EphemeralRunnerSet Phase column removal in experimental Helm chart CRD.
charts/gha-runner-scale-set-controller-experimental/crds/actions.github.com_ephemeralrunners.yaml Mirrors EphemeralRunner column header rename (Phase -> Status) in experimental Helm chart CRD.
charts/gha-runner-scale-set-controller-experimental/crds/actions.github.com_autoscalingrunnersets.yaml Mirrors AutoscalingRunnerSet printer column change to .status.state in experimental Helm chart CRD.
apis/actions.github.com/v1alpha1/ephemeralrunnerset_types.go Removes kubebuilder printcolumn for .status.phase on EphemeralRunnerSet.
apis/actions.github.com/v1alpha1/ephemeralrunner_types.go Renames kubebuilder .status.phase print column header from Phase to Status.
apis/actions.github.com/v1alpha1/autoscalingrunnerset_types.go Changes kubebuilder printer column JSONPath to .status.state and header to State (currently inconsistent with status struct).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

// +kubebuilder:printcolumn:JSONPath=".spec.maxRunners",name=Maximum Runners,type=integer
// +kubebuilder:printcolumn:JSONPath=".status.currentRunners",name=Current Runners,type=integer
// +kubebuilder:printcolumn:JSONPath=".status.phase",name=Phase,type=string
// +kubebuilder:printcolumn:JSONPath=".status.state",name=State,type=string
Comment on lines 24 to 29
- jsonPath: .status.currentRunners
name: Current Runners
type: integer
- jsonPath: .status.phase
name: Phase
- jsonPath: .status.state
name: State
type: string
Comment on lines 24 to 29
- jsonPath: .status.currentRunners
name: Current Runners
type: integer
- jsonPath: .status.phase
name: Phase
- jsonPath: .status.state
name: State
type: string
Comment on lines 24 to 29
- jsonPath: .status.currentRunners
name: Current Runners
type: integer
- jsonPath: .status.phase
name: Phase
- jsonPath: .status.state
name: State
type: string
@nikola-jokic nikola-jokic merged commit 8ecfbc6 into master May 22, 2026
31 of 33 checks passed
@nikola-jokic nikola-jokic deleted the revert-4466-nikola-jokic/fix-typo-print-pahse branch May 22, 2026 09:58
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.

3 participants