[ML] DF Analytics: allow failed job to be stopped by force via the UI#74710
Conversation
|
Pinging @elastic/ml-ui (:ml) |
walterra
left a comment
There was a problem hiding this comment.
LGTM, just added a small suggestion about the button text in the modal.
There was a problem hiding this comment.
Suggest to make the button text Force stop.
|
Can you please loop in @lcawl ? I think it is worth succinctly explaining that a force stop will reset the state of the job and allow you to restart it again, assuming you've rectified the problem. |
There was a problem hiding this comment.
In case the job name is long, can we put it in the body of the message instead of the title?
| defaultMessage: 'Force stop {analyticsId}', | |
| defaultMessage: 'Force this job to stop?', |
There was a problem hiding this comment.
Agree with suggestion from @walterra
| defaultMessage: 'Stop', | |
| defaultMessage: 'Force stop', |
There was a problem hiding this comment.
If we want to hint at some of the next steps, I suggest something like this:
| defaultMessage="The analytics job is in the failed state, do you want to force stop {analyticsId}?" | |
| defaultMessage="{analyticsId} is in a failed state. You must stop the job and fix the failure." |
3ecc90a to
9c1e1fd
Compare
💚 Build SucceededBuild metrics@kbn/optimizer bundle module count
async chunks size
History
To update your PR or re-run it, just comment with: |
…elastic#74710) * allow force stop from ui if job is failed * update wording in confirm modal
* master: (23 commits) Adding API test for custom link transaction example (elastic#74238) [Uptime] Singular alert (elastic#74659) Revert "attempt excluding a codeowners directory" (elastic#75023) [Metrics UI] Remove TSVB dependency from Metrics Explorer APIs (elastic#74804) Remove degraded state from ES status service (elastic#75007) [Reporting/Functional] unskip pagination test (elastic#74973) [Resolver] Stale query string values are removed when resolver's component instance ID changes. (elastic#74979) Add public url to Workplace Search plugin (elastic#74991) [Reporting] Update more Server Types for TaskManager (elastic#74915) [I18n] verify select icu-message options are in english (elastic#74963) Make data.search.aggs available on the server. (elastic#74472) [Security Solution][Resolver] Graph Control Tests and Update Simulator Selectors (elastic#74680) attempt excluding a codeowners directory [ML] DF Analytics: allow failed job to be stopped by force via the UI (elastic#74710) Add kibana-core-ui-designers team (elastic#74970) [Metrics UI] Fix inventory footer misalignment (elastic#74707) Remove legacy optimizer (elastic#73154) Update design-specific GH code-owners (elastic#74877) skip test Reporting paginates content elastic#74922 [Metrics UI] Add Jest tests for alert previews (elastic#74890) ...
Summary
Fixes #72661
NOTE: Feedback on modal wording is welcome.
This PR replaces the
Startaction in the analytics list with theStopaction when the job is in a failed state asStartaction will fail for a failed job state.If the job is in a failed state, the user will now see the
Stopaction which will allow the user to force stop the job. A confirmation modal will appear.Checklist
Delete any items that are not applicable to this PR.