Commit b5ba757
committed
🤖 fix: retry control-plane status updates on conflicts
Retry CoderControlPlane status updates with `retry.RetryOnConflict` and a
fresh read of the latest object before update. This ensures transient
resourceVersion conflicts do not drop status updates after a successful license
upload, which could otherwise trigger duplicate non-idempotent license posts.
---
_Generated with `mux` • Model: `openai:gpt-5.3-codex` • Thinking: `xhigh` • Cost: `$1.21`_
<!-- mux-attribution: model=openai:gpt-5.3-codex thinking=xhigh costs=1.21 -->1 parent 6f550f4 commit b5ba757
1 file changed
Lines changed: 32 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
985 | 986 | | |
986 | 987 | | |
987 | 988 | | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
988 | 993 | | |
989 | 994 | | |
990 | 995 | | |
991 | 996 | | |
992 | | - | |
993 | | - | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
| 1007 | + | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
994 | 1024 | | |
995 | 1025 | | |
996 | 1026 | | |
| |||
0 commit comments