The GitHub Actions job "Flink Kubernetes Operator CI" on 
flink-kubernetes-operator.git/FLINK-snapshot-backoff-bug-test has failed.
Run started by GitHub user vsantwana (triggered by gyfora).

Head commit for run:
cfdf159152c48b3d4fda7a6c7b9585fb97a9df8a / Santwana Verma <[email protected]>
Fix backoffLimit=-1 to mean unlimited retries in FlinkStateSnapshot

The spec documents backoffLimit=-1 (the default) as "unlimited retries",
but the controller compared `failures > backoffLimit` without handling the
-1 sentinel. After the first failure (failures=1), `1 > -1` was true, so the
snapshot was marked FAILED with withNoRetry() -- the opposite of unlimited.

Guard the no-retry branch with `backoffLimit >= 0` so:
  -1  -> retries indefinitely (default)
   0  -> no retries
   N  -> retries up to N times

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

Report URL: 
https://github.com/apache/flink-kubernetes-operator/actions/runs/27942354602

With regards,
GitHub Actions via GitBox

Reply via email to