Repository navigation
fix(retirement): sample each layer until it settles before judging it - #5430
Conversation
The second Retire Unused App Leftovers run refused again, before deleting anything. With the unrelated private-mail workload failing (#5412), the apps Kustomization retries its health checks every two minutes (retryInterval 2m) and reports Ready=Unknown/Progressing during each attempt, which can last minutes. The run read it in that window. Read each layer up to 40 times, 15 seconds apart, and proceed once it reports Ready or an unrelated HealthCheckFailed at its current generation. The acceptance rule is unchanged, and a layer that never settles is still refused. Part of #2496 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@coderabbitai review 🤖 Generated with Claude Code |
✅ Action performed
|
|
No actionable comments were generated in the recent review.
|
|
Readiness evaluation at
Unreachable gate: the deletion needs the 🤖 Generated with Claude Code |
Why
The second run of "Retire Unused App Leftovers" again stopped before deleting anything. Because the Email workload is still failing (#5412), Flux re-runs that part of the platform's health checks every two minutes and reports "progressing" while each attempt runs. The workflow checked at one of those moments and read it as "not deployed".
What
The workflow now re-checks each part of the platform for up to ten minutes and goes ahead once it has settled. What counts as settled is unchanged: healthy, or failing only an unrelated health check. If it never settles, the workflow still stops without deleting anything.
Part of #2496
👉 After merge/promotion: run the "Retire Unused App Leftovers" workflow from main again.
🤖 Generated with Claude Code