Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scheduler: fail canary according to progress deadline #1603

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

aryan9600
Copy link
Member

@aryan9600 aryan9600 commented Feb 28, 2024

Modify canary.IsPrimaryReady() and canary.Initialize() to return a boolean indicating if the error is retriable. Modify the scheduler to rollback the analysis and mark the Canary object as failed if the above two functions or canary.IsCanaryReady() returns false along with an error.

fix: #1247
fix: #1592
fix: #1591
fix: #1578

Copy link
Member

@stefanprodan stefanprodan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks @aryan9600 please correct the type suggested by @LiZhenCheng9527

Modify `canary.IsPrimaryReady()` and `canary.Initialize()` to return a
boolean indicating if the error is retriable. Modify the scheduler to
rollback the analysis and mark the Canary object as failed if the above
two functions or `canary.IsCanaryRead()` returns false along with an
error.

Signed-off-by: Sanskar Jaiswal <[email protected]>
@aryan9600 aryan9600 merged commit 5b03840 into main Mar 5, 2024
17 checks passed
@aryan9600 aryan9600 deleted the fix-deploy-progress branch March 5, 2024 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants