1
0
Fork 0
mirror of https://github.com/imjasonh/git-k8s synced 2026-07-09 07:06:52 +00:00
No description
Find a file
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
.github/workflows Rewrite e2e tests in Go, replace bash-in-YAML test steps 2026-02-28 02:04:29 +00:00
cmd Implement Git-as-K8s control plane with Knative controllers 2026-02-27 23:58:44 +00:00
config Change API group from git.k8s.io to git-k8s.imjasonh.com 2026-02-28 00:34:34 +00:00
hack Implement Git-as-K8s control plane with Knative controllers 2026-02-27 23:58:44 +00:00
pkg Fix stale resourceVersion bug in push controller 2026-02-28 04:09:56 +00:00
test/e2e Fix stale resourceVersion bug in push controller 2026-02-28 04:09:56 +00:00
.gitignore Add .gitignore for Go binaries and IDE files 2026-02-28 00:14:29 +00:00
.ko.yaml Implement Git-as-K8s control plane with Knative controllers 2026-02-27 23:58:44 +00:00
go.mod Implement Git-as-K8s control plane with Knative controllers 2026-02-27 23:58:44 +00:00