Commit 424e392
fix: set Progressing condition to False on successful reconciliation
The Progressing condition on ClusterExtension resources was always set
to status: True with reason: Succeeded after a successful reconciliation.
This is semantically incorrect — Progressing=True means "still working,"
which contradicts the Succeeded reason and the "Desired state reached"
message.
This fix changes the default Progressing status to ConditionFalse (done
progressing) and only sets ConditionTrue when there is an active
non-terminal error causing retries. Terminal errors correctly remain
ConditionFalse with reason Blocked.
Before:
Installed=True Progressing=True reason=Succeeded "Desired state reached"
After:
Installed=True Progressing=False reason=Succeeded "Desired state reached"
Signed-off-by: Venkatesh Durgam <vdurgam@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent be16a0a commit 424e392
3 files changed
Lines changed: 9 additions & 8 deletions
File tree
- internal/operator-controller/controllers
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
1355 | | - | |
| 1355 | + | |
1356 | 1356 | | |
1357 | 1357 | | |
1358 | 1358 | | |
| |||
2674 | 2674 | | |
2675 | 2675 | | |
2676 | 2676 | | |
2677 | | - | |
| 2677 | + | |
2678 | 2678 | | |
2679 | 2679 | | |
2680 | 2680 | | |
| |||
2695 | 2695 | | |
2696 | 2696 | | |
2697 | 2697 | | |
2698 | | - | |
| 2698 | + | |
2699 | 2699 | | |
2700 | 2700 | | |
2701 | 2701 | | |
| |||
2828 | 2828 | | |
2829 | 2829 | | |
2830 | 2830 | | |
2831 | | - | |
| 2831 | + | |
2832 | 2832 | | |
2833 | 2833 | | |
2834 | 2834 | | |
| |||
2851 | 2851 | | |
2852 | 2852 | | |
2853 | 2853 | | |
2854 | | - | |
| 2854 | + | |
2855 | 2855 | | |
2856 | 2856 | | |
2857 | 2857 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| 158 | + | |
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments