Skip to content

release-4.20: status: set ObservedGeneration in all status conds#2722

Merged
openshift-merge-bot[bot] merged 1 commit into
release-4.20from
remove-owned-by-4.20
May 14, 2026
Merged

release-4.20: status: set ObservedGeneration in all status conds#2722
openshift-merge-bot[bot] merged 1 commit into
release-4.20from
remove-owned-by-4.20

Conversation

@ffromani
Copy link
Copy Markdown
Member

@ffromani ffromani commented Dec 17, 2025

The NUMAResourcesScheduler (sic: 4.20 note: we actually change NUMAResourcesOperator) object status condition never reports ObservedGeneration in any status conditions, unlike the scheduler object.

Likewise the scheduler change, let's expose it in all the relevant conditions, doing some minimal internal refactoring along the way.

Note that we can't test this change using controller tests due both the unique requirements of the operator and the way we (mis)use the controller tests; we should add checks in (existing?) e2e tests, but we postpone this to a later change.

Note: this is a release-4.20-specific backport of
commit d223bda

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 17, 2025
@ffromani ffromani force-pushed the remove-owned-by-4.20 branch from 83d698d to 9aa0430 Compare December 17, 2025 17:46
@ffromani
Copy link
Copy Markdown
Member Author

/hold
/retest-required

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 18, 2025
@ffromani
Copy link
Copy Markdown
Member Author

xref: #2732

The NUMAResourcesScheduler  (sic: 4.20 note: we actually change
NUMAResourcesOperator) object status condition never reports
ObservedGeneration in any status conditions, unlike the scheduler
object.

Likewise the scheduler change, let's expose it in all the relevant
conditions, doing some minimal internal refactoring along the way.

Note that we can't test this change using controller tests due both the
unique requirements of the operator and the way we (mis)use the
controller tests

Note: this is a release-4.20-specific backport of
commit d223bda
We intentionally avoid any e2e change, stripping them from this commit,
and we add the `operobsgen` topic among the actives.

Signed-off-by: Francesco Romani <fromani@redhat.com>
@ffromani ffromani force-pushed the remove-owned-by-4.20 branch from 9aa0430 to 65cb95c Compare December 18, 2025 10:17
@Tal-or
Copy link
Copy Markdown
Collaborator

Tal-or commented May 14, 2026

/retest

@ffromani
Copy link
Copy Markdown
Member Author

/hold cancel

it seems we prefer this over #2732
so we can move forward pending review and verification

@openshift-ci openshift-ci Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 14, 2026
Copy link
Copy Markdown
Collaborator

@Tal-or Tal-or left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

thanks

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label May 14, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented May 14, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ffromani, Tal-or

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Tal-or
Copy link
Copy Markdown
Collaborator

Tal-or commented May 14, 2026

keep backport to 4.18?

@ffromani
Copy link
Copy Markdown
Member Author

keep backport to 4.18?

yes, we can still move forward with that

@ffromani
Copy link
Copy Markdown
Member Author

/cherry-pick release-4.19

@openshift-cherrypick-robot
Copy link
Copy Markdown

@ffromani: once the present PR merges, I will cherry-pick it on top of release-4.19 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release-4.19

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot Bot merged commit 15257c6 into release-4.20 May 14, 2026
15 checks passed
@openshift-merge-bot openshift-merge-bot Bot deleted the remove-owned-by-4.20 branch May 14, 2026 15:46
@openshift-cherrypick-robot
Copy link
Copy Markdown

@ffromani: new pull request created: #4029

Details

In response to this:

/cherry-pick release-4.19

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants