Skip to content

publish cluster monitor events#7885

Closed
adriengentil wants to merge 8 commits intomasterfrom
publish-cluster-monitor-events
Closed

publish cluster monitor events#7885
adriengentil wants to merge 8 commits intomasterfrom
publish-cluster-monitor-events

Conversation

@adriengentil
Copy link
Contributor

@adriengentil adriengentil commented Jul 24, 2025

red-hat-konflux and others added 8 commits July 22, 2025 13:53
Signed-off-by: red-hat-konflux <konflux@no-reply.konflux-ci.dev>
…-v2-43

Red Hat Konflux update assisted-service-saas-v2-43
…7878)

(cherry picked from commit 777efb6)

Co-authored-by: Dan Manor <dmanor@redhat.com>
The algorithm adding connected IPs to host relies on [map iterations
which are
random](https://nathanleclaire.com/blog/2014/04/27/a-surprising-feature-of-golang-that-colored-me-impressed/)
in golang. Therefore, the order to the connected IPs is not
deterministic.

This changes sorts the slices of the connected IPs to ensure that
multiple calls to this function will have the same result. Test are also
updated to expect the exact same order.
…rom DB

This commit fixes the issue where RefreshSchedulableMastersForcedTrue
leads to extra reads from the DB while the cluster object is already
available.
Send an event to report the time taken for an individual cluster to be
monitored.

The aim is to be able to identify which cluster take most of the time to
be monitored.
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 24, 2025
@openshift-ci
Copy link

openshift-ci bot commented Jul 24, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Jul 24, 2025
@openshift-ci
Copy link

openshift-ci bot commented Jul 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: adriengentil

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 Jul 24, 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/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants