1
0
Fork 0
mirror of https://github.com/imjasonh/git-k8s synced 2026-07-09 23:27:01 +00:00
git-k8s/test/e2e
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
..
e2e_test.go Fix stale resourceVersion bug in push controller 2026-02-28 04:09:56 +00:00
push_test.go Rewrite e2e tests in Go, replace bash-in-YAML test steps 2026-02-28 02:04:29 +00:00
sync_test.go Rewrite e2e tests in Go, replace bash-in-YAML test steps 2026-02-28 02:04:29 +00:00