The GitHub Actions job "Build Docker Image" on flink-kubernetes-operator.git/FLINK-40405-balanced-reason-tags has failed. Run started by GitHub user kaustubhbutte17 (triggered by kaustubhbutte17).
Head commit for run: 7386461ac5f76b22bf5cc8293f42599de0b2e38c / Kaustubh Butte <[email protected]> [FLINK-40405] Add reason tags to the autoscaler.balanced counter The autoscaler.balanced counter increments whenever a cycle applies no parallelism change. Eight different causes share that one counter. A job that reports balanced=100 and scalings=0 is either healthy or completely blocked, and the metric cannot tell an operator which. This commit adds a ScaleResult enum. ScalingExecutor.scaleResource and ScalingExecutor.execute return it in place of a boolean. Each path that applies no change returns its own constant. AutoscalerFlinkMetrics then reports a second counter that carries the reason as a metric variable. The untagged balanced counter keeps the total, so existing dashboards and alerts continue to work. Vertex level causes reach the job level through a new NoChangeReason on ParallelismChange. The reason stays out of equals and hashCode, because it explains a decision and does not define it. A delayed scale down reports the cooldown only when the vertex is outside the utilization bound. A vertex inside the bound is dropped later anyway, so a cooldown tag would wrongly suggest that the parallelism drops when the interval ends. Report URL: https://github.com/apache/flink-kubernetes-operator/actions/runs/37021034889 With regards, GitHub Actions via GitBox
