1
0
Fork 0
mirror of https://github.com/imjasonh/git-k8s synced 2026-07-08 23:05:21 +00:00
git-k8s/pkg
Claude 765007bb87
Fix stale resourceVersion bug in push controller
The push controller updates status to InProgress then later to
Succeeded/Failed. The first UpdateStatus call returns a new object with
an updated resourceVersion, but the code was discarding it. Subsequent
status updates used the stale resourceVersion, causing 409 Conflict
errors and an infinite retry loop where transactions never reached a
terminal phase.

Fix: capture the returned object from the InProgress UpdateStatus so
subsequent calls use the correct resourceVersion.

Also adds better timeout diagnostics in e2e test helpers.

https://claude.ai/code/session_01QfFzqKQUsxxBsiZUhuJ3pG
2026-02-28 04:09:56 +00:00
..
apis/git/v1alpha1 Add unit tests and GitRepoSync e2e test 2026-02-28 01:52:05 +00:00
client Add unit tests and GitRepoSync e2e test 2026-02-28 01:52:05 +00:00
reconciler Fix stale resourceVersion bug in push controller 2026-02-28 04:09:56 +00:00