Commit 9184ed3
committed
🤖 fix: skip stale-generation status writes during retry
When retrying CoderControlPlane status updates, skip writes if the latest
resource generation no longer matches `nextStatus.ObservedGeneration`.
This prevents older reconciles from overwriting fresher status computed by
newer reconciles while still retaining conflict retry behavior.
---
_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 7fa58d9 commit 9184ed3
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1087 | 1087 | | |
1088 | 1088 | | |
1089 | 1089 | | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
1090 | 1096 | | |
1091 | 1097 | | |
1092 | 1098 | | |
| |||
0 commit comments