You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this check will not catch the case if the analysis field is an empty object vs a nil. If an empty object is placed here, the subsequent AR creation code will run, and eventually result in the failure spec.metrics is empty and errors out. Argo today will keep retry this failure and it will never realize that it can never create this AR.
Right now we did encounter that some entity (we are not sure which one, might even been Argo itself) setting it to empty when trying to skip health checks during an emergency fix. Nevertheless, we believe having an extra check that the configuration here actually yields any metrics should still be beneficial to avoid unintended infinite retry.
Use Cases
When user passed an empty object instead of nil.
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered:
Summary
Today we have the following when reconciling AnalysisRuns (ARs)
argo-rollouts/rollout/analysis.go
Lines 314 to 319 in 46f1427
However, this check will not catch the case if the analysis field is an empty object vs a nil. If an empty object is placed here, the subsequent AR creation code will run, and eventually result in the failure
spec.metrics is empty
and errors out. Argo today will keep retry this failure and it will never realize that it can never create this AR.Right now we did encounter that some entity (we are not sure which one, might even been Argo itself) setting it to empty when trying to skip health checks during an emergency fix. Nevertheless, we believe having an extra check that the configuration here actually yields any metrics should still be beneficial to avoid unintended infinite retry.
Use Cases
When user passed an empty object instead of nil.
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered: