Commit Graph
3 Commits
Author SHA1 Message Date
dualfroz fb9eb7fe1c container: cover the status that has not caught up with the scale request
Turn the scale-from-zero regression into a table so it covers both the pre-scale read and a status the controller has not written yet, and give the type assertion in the reactor the SAFETY comment the lint gate wants.
2026-10-15 13:15:02 +02:00
dualfroz 22d672c57e container: wait for the replica after scaling a function in from zero (#3183)
createOrGetDeployment read the Deployment once and then reused that copy's
Status.AvailableReplicas to decide whether to wait for readiness. On the
scale-from-zero path the read happens while the idle reaper's pod is still
terminating, so the pre-scale status can still report an available replica and
the readiness wait is skipped. The executor then returns a Service whose
endpoints are empty and the router's forward fails with a 500.

Track whether we issued the scale-up and always wait for the deployment in
that case; WaitForDeployment re-reads from the API server, so an already
available deployment still returns on its first poll.
2026-10-15 13:15:02 +02:00
upstream 4bd00b3eef Upstream fission/fission state of the touched files before d5703081e0 2026-09-11 23:07:10 +02:00