Detect and build Couchbase indexes left deferred after defer_build
Catch Couchbase GSI indexes stuck in deferred or pending after a defer_build migration, build them behind a dry-run gate, then re-read system:indexes to confirm every one is online.
Audits Apache Flink JobManager for checkpoint failures and duration degradation to prevent streaming state corruption.
This workflow connects to the Apache Flink JobManager REST API (/jobs/{job_id}/checkpoints) to audit the status and failure counters of streaming state snapshots. Flink relies on periodic asynchronous checkpoints (RocksDB or FileSystem state backends) to provide exactly-once processing guarantees. When storage I/O stalls (S3, GCS, HDFS), network buffer saturation delays checkpoint barriers, or heavy GC pauses cause task managers to drop heartbeats, checkpoints fail and exceed configured failure tolerances. This workflow monitors checkpoint status and raises immediate alerts before job failure cascades.
SLACK_WEBHOOK configured in Kestra.latest.completed.end_to_end_duration) to catch snapshot latency creep.