3 Commits
Author SHA1 Message Date
dualfroz c43768946e executor: treat a cached function service as invalid during scale-in
IsValid accepted a deployment as long as its status reported an
available replica. When the idle reaper scales the deployment to zero,
Spec.Replicas drops right away but the status can still count the pod
that is shutting down, so a cache hit kept routing requests to it.

Export the availability check from executor/util, make it look at the
spec as well, and use it in the container and newdeploy IsValid paths.
2026-10-18 10:54:32 +02:00
dualfroz fd83c655ca executor/util: wait for the deployment controller to observe the scale request
WaitForDeployment returned as soon as AvailableReplicas was high enough, without checking that the status belonged to the current spec. UpdateScale only writes the spec, so a Get issued right after it can still carry the previous generation's status, counting the pod that is being torn down.

Gate AvailableReplicas behind ObservedGeneration, the same condition WaitForDeploymentRollout already uses in the integration framework.
2026-10-15 13:15:02 +02:00
upstream 7355ea9c65 Upstream fission/fission state of the touched files before dae21a228f 2026-09-17 15:59:49 +02:00