• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Azure / ARO-RP / 44014742763
41%

Build:
DEFAULT BRANCH: master
Ran 17 Nov 2026 04:06AM UTC
Jobs 6
Files 993
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Nov 2026 04:05AM UTC coverage: 40.769% (-0.004%) from 40.773%
44014742763

push

github

web-flow
[ARO-4021] Add retry-on-conflict to operator controller condition updates (#5190)

* [ARO-4021] Add retry-on-conflict to operator controller condition updates

Multiple operator controllers concurrently update the singleton Cluster
CR, causing 409 Conflict errors when one controller's stale copy is
used for an update after another controller has modified the object.

Fix base.AROController.SetConditions to wrap its Get→Modify→Update in
retry.RetryOnConflict (matching the pattern already used by
conditions.SetCondition). Change the method to return errors instead of
silently swallowing them, and update all wrapper methods (SetProgressing,
ClearProgressing, SetDegraded, ClearDegraded, ClearConditions) and their
callers across all operator controllers to handle the returned error.

Fix PullSecret controller to re-read the cluster object inside a
retry.RetryOnConflict loop before updating RedHatKeysPresent status,
preventing stale-object conflicts.

Fix ClusterOperatorARO controller to wrap its Update and status update
in retry.RetryOnConflict, re-reading both the Cluster and
ClusterOperator objects inside the retry loop.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* [ARO-4021] Address review: propagate SetProgressing error, add retry tests

Address Copilot review comments on the retry-on-conflict changes:

1. node_controller.go: Propagate the SetProgressing error instead of
   silently dropping it. Since there is no primary error to preserve at
   that point, returning the error lets controller-runtime requeue.

2. base/aro_controller_test.go: Add conflict-injection regression tests
   for SetConditions verifying that (a) retry re-reads the cluster and
   preserves concurrent condition changes from another controller,
   (b) exhausted retries return a conflict error, and (c) non-conflict
   errors are returned immediately without retry.

3. clusteroperatoraro_controller_test.go: Add retry tests covering
   (a) conflict during metadata Updat... (continued)

74 of 124 new or added lines in 16 files covered. (59.68%)

6 existing lines in 3 files now uncovered.

32804 of 80464 relevant lines covered (40.77%)

0.46 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
46.74
-2.17% pkg/operator/controllers/etchosts/cluster_controller.go
7
75.59
-2.1% pkg/operator/controllers/node/node_controller.go
6
62.92
4.3% pkg/operator/controllers/base/aro_controller.go
6
83.33
4.29% pkg/operator/controllers/clusteroperatoraro/clusteroperatoraro_controller.go
5
76.84
-0.24% pkg/operator/controllers/machinehealthcheck/machinehealthcheck_controller.go
4
52.75
-0.44% pkg/operator/controllers/etchosts/machineconfig_controller.go
2
26.21
0.25% pkg/operator/controllers/genevalogging/genevalogging_controller.go
2
78.72
-0.22% pkg/operator/controllers/imageconfig/image_controller.go
2
73.13
-1.15% pkg/operator/controllers/machineset/machineset_controller.go
2
63.77
-0.52% pkg/operator/controllers/networkpolicy/networkpolicy_controller.go
2
71.33
1.04% pkg/operator/controllers/pullsecret/pullsecret_controller.go
1
74.04
-0.25% pkg/operator/controllers/dnsmasq/cluster_controller.go
1
77.05
-0.73% pkg/operator/controllers/dnsmasq/machineconfig_controller.go
1
78.57
-0.74% pkg/operator/controllers/dnsmasq/machineconfigpool_controller.go
1
70.73
-0.7% pkg/operator/controllers/ingress/ingress_controller.go
1
60.74
-0.29% pkg/operator/controllers/monitoring/monitoring_controller.go

Coverage Regressions

Lines Coverage ∆ File
3
93.94
0.0% pkg/frontend/admin_openshiftcluster_runjob.go
2
84.96
-1.5% pkg/monitor/monitor.go
1
62.92
4.3% pkg/operator/controllers/base/aro_controller.go
Jobs
ID Job ID Ran Files Coverage
1 pkg-util - 44014742763.1 17 Nov 2026 04:10AM UTC 346
23.24
GitHub Action Run
2 cmd - 44014742763.2 17 Nov 2026 04:09AM UTC 14
0.0
GitHub Action Run
3 pkg-operator - 44014742763.3 17 Nov 2026 04:09AM UTC 79
54.5
GitHub Action Run
4 pkg-other - 44014742763.4 17 Nov 2026 04:11AM UTC 284
35.94
GitHub Action Run
5 pkg-frontend - 44014742763.5 17 Nov 2026 04:09AM UTC 107
74.71
GitHub Action Run
6 pkg-api - 44014742763.6 17 Nov 2026 04:06AM UTC 163
60.03
GitHub Action Run
Source Files on build 44014742763
  • Tree
  • List 993
  • Changed 18
  • Source Changed 16
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44014742763
  • d3a8bcb3 on github
  • Prev Build on master (#43916990043)
  • Next Build on master (#44100945603)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc