Skip to content

feat: add health check for flink.apache.org/FlinkSessionJob#26626

Open
sivchari wants to merge 1 commit intoargoproj:masterfrom
sivchari:feat/flinksessionjob-health-check
Open

feat: add health check for flink.apache.org/FlinkSessionJob#26626
sivchari wants to merge 1 commit intoargoproj:masterfrom
sivchari:feat/flinksessionjob-health-check

Conversation

@sivchari
Copy link
Member

@sivchari sivchari commented Feb 26, 2026

Summary

Add built-in Lua health check for flink.apache.org/FlinkSessionJob CRD.

Fixes #26523

@sivchari sivchari requested a review from a team as a code owner February 26, 2026 11:40
@bunnyshell
Copy link

bunnyshell bot commented Feb 26, 2026

🔴 Preview Environment stopped on Bunnyshell

See: Environment Details | Pipeline Logs

Available commands (reply to this comment):

  • 🔵 /bns:start to start the environment
  • 🚀 /bns:deploy to redeploy the environment
  • /bns:delete to remove the environment

Add Lua health check script for FlinkSessionJob custom resource.

The health check maps FlinkSessionJob states to ArgoCD health statuses:
- RUNNING, FINISHED -> Healthy
- RECONCILING, CREATED -> Progressing
- SUSPENDED, CANCELED -> Suspended
- FAILED or error present -> Degraded
- No status -> Progressing (waiting for reconciliation)

Fixes argoproj#26523

Signed-off-by: sivchari <shibuuuu5@gmail.com>
@sivchari sivchari force-pushed the feat/flinksessionjob-health-check branch from 31f53e7 to d7bafea Compare February 26, 2026 11:43
@codecov
Copy link

codecov bot commented Feb 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.87%. Comparing base (6795b80) to head (d7bafea).
⚠️ Report is 13 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #26626      +/-   ##
==========================================
+ Coverage   62.84%   62.87%   +0.03%     
==========================================
  Files         412      413       +1     
  Lines       55640    55713      +73     
==========================================
+ Hits        34969    35032      +63     
- Misses      17337    17342       +5     
- Partials     3334     3339       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add health check for flink.apache.org/FlinkSessionJob

1 participant