-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ML] Data Frame Analytics: Progress including step #65305
Conversation
Pinging @elastic/ml-ui (:ml) |
}), | ||
sortable: (item: DataFrameAnalyticsListRow) => getDataFrameAnalyticsProgress(item.stats), | ||
truncateText: true, | ||
render(item: DataFrameAnalyticsListRow) { | ||
const progress = getDataFrameAnalyticsProgress(item.stats); | ||
const totalSteps = item.stats.progress.length; |
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.
Is there any chance that any of these item.stats.progress.length
in the chaining will be undefined?
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.
This should be safe, it's what we expect to get back for each step as stats, we already made use of the same structure in the previously existing progress bar.
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.
Tested and LGTM ⚡
Changes the way progress is reported to include the steps and the progress for each step.
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Summary
Pick up changes from elastic/elasticsearch#56107 to improve progress reporting.
Changes the way progress is reported to include the steps and the progress for each step.
Checklist
Delete any items that are not applicable to this PR.
For maintainers