dualfroz a8bc9d02d5 newdeploy: wait for the replica after scaling a function in from zero
createOrGetDeployment decided whether to wait for readiness from the
Status.AvailableReplicas of the copy it read before ScaleDeployment, the same
pattern the container manager had. On the scale-from-zero path that copy can
still count the pod the idle reaper is tearing down, so WaitForDeployment, and
with it the ObservedGeneration gate, was skipped entirely.

Track whether we issued the scale-up and always wait in that case. The test
covers both the pre-scale read and a status the controller has not caught up
with yet.
2026-10-15 13:24:06 +02:00
S
Description
My contributions to fission/fission: 5 commits
149 KiB
0 Stars 1 Watchers 0 Forks
Languages
Go 100%