Skip to content

Conversation

@opokornyy
Copy link
Contributor

This PR adds an informer that watches updates to the DataGather CR and introduces functionality to limit the number of running on-demand gathering jobs.

Categories

  • Bugfix
  • Data Enhancement
  • Feature
  • Backporting
  • Others (CI, Infrastructure, Documentation)

Sample Archive

  • None

Documentation

  • None

Unit Tests

  • pkg/controller/periodic/periodic_test.go
  • pkg/controller/periodic/datagather_informer_test.go

Privacy

Yes. There are no sensitive data in the newly collected information.

Changelog

  • None

Breaking Changes

No

References

CCXDEV-15591

This commit adds an informer that watches updates to the
DataGather CR and introduces functionality to limit the
number of running on-demand gathering jobs.

Signed-off-by: Ondrej Pokorny <[email protected]>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Nov 27, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Nov 27, 2025

@opokornyy: This pull request references CCXDEV-15591 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.21.0" version, but no target version was set.

Details

In response to this:

This PR adds an informer that watches updates to the DataGather CR and introduces functionality to limit the number of running on-demand gathering jobs.

Categories

  • Bugfix
  • Data Enhancement
  • Feature
  • Backporting
  • Others (CI, Infrastructure, Documentation)

Sample Archive

  • None

Documentation

  • None

Unit Tests

  • pkg/controller/periodic/periodic_test.go
  • pkg/controller/periodic/datagather_informer_test.go

Privacy

Yes. There are no sensitive data in the newly collected information.

Changelog

  • None

Breaking Changes

No

References

CCXDEV-15591

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 openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci openshift-ci bot requested review from katushiik11 and ncaak November 27, 2025 14:26
@openshift-ci
Copy link

openshift-ci bot commented Nov 27, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: opokornyy

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 27, 2025
@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

1 similar comment
@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

}
}

const gatheringLimit = 3
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This value was used for testing, and we should still discuss whether it should be configurable or not. If not, we need to decide what value should be used here.

@opokornyy opokornyy changed the title CCXDEV-15591: on demand gatherging job limit CCXDEV-15591: on demand gathering job limit Nov 28, 2025
@opokornyy
Copy link
Contributor Author

/retest

@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

3 similar comments
@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

@BaiyangZhou
Copy link

/retest

@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

5 similar comments
@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

@BaiyangZhou
Copy link

/test e2e-gcp-ovn-techpreview

@openshift-ci
Copy link

openshift-ci bot commented Dec 3, 2025

@opokornyy: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@opokornyy
Copy link
Contributor Author

/hold

This needs to be resolved first - #1186 (comment)

@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 3, 2025
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. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants