-
Notifications
You must be signed in to change notification settings - Fork 831
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
feat(models): Add model status message for k8s resource status #4834
feat(models): Add model status message for k8s resource status #4834
Conversation
This is dependent on whether or not the load can be retried.
) { | ||
modelStatus := schedulerAPI.ModelStatus_ModelFailed | ||
if canRetry { | ||
modelStatus = schedulerAPI.ModelStatus_ModelProgressing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ℹ️ The equivalent pipeline code simply says the pipeline failed if there was any issue requesting it to be loaded. Which behaviour do we want -- indicate failure early, or be optimistic as transient glitches can happen?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've updated the pipeline status to not indicate failure from retryable errors: 8f16995
558b0a6
to
8f16995
Compare
What this PR does / why we need it:
This PR adds a
message
field for model statuses to indicate, at a high level, why a model is (not) ready. At present, models can only be ready or not ready, and may have areason
describing the underlying cause of that status. That reason is fine for humans, but is verbose and is not suitable for automated systems to parse easily.This PR also updates the pipeline status fields to share the same semantics are for models:
There are also a number of formatting changes to break long lines (>120 characters) and introduce some whitespace for logical grouping/separation.
Which issue(s) this PR fixes:
N/A
Special notes for your reviewer: