Skip to content

[ML] Changes wording of awaiting ML nodes messages#167306

Merged
jgowdyelastic merged 6 commits intoelastic:mainfrom
jgowdyelastic:changing-wording-of-awaiting-ml-nodes-messages
Sep 27, 2023
Merged

[ML] Changes wording of awaiting ML nodes messages#167306
jgowdyelastic merged 6 commits intoelastic:mainfrom
jgowdyelastic:changing-wording-of-awaiting-ml-nodes-messages

Conversation

@jgowdyelastic
Copy link
Member

@jgowdyelastic jgowdyelastic commented Sep 26, 2023

Updates the text for the info callouts which are displayed when anomaly detection jobs are waiting for a node.

@szabosteve would you mind having a review of the text?

Jobs list
image

Creating a new job
image

Fixes #165472

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

<FormattedMessage
id="xpack.ml.jobsAwaitingNodeWarning.noMLNodesAvailableDescription"
defaultMessage="There {jobCount, plural, one {is} other {are}} {jobCount, plural, one {# job} other {# jobs}} waiting for machine learning nodes to start."
defaultMessage="There {jobCount, plural, one {is} other {are}} {jobCount, plural, one {# job} other {# jobs}} waiting for autoscaling to add ML capacity. Please wait up to 5 minutes for this to happen."
Copy link
Contributor

Choose a reason for hiding this comment

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

@droberts195 can we guarantee that this will happen within 5 minutes? Is it safer to remove the second sentence altogether?

Choose a reason for hiding this comment

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

No, it's not guaranteed. On classic Cloud the poll of the autoscaling API is every 5 minutes, and then there's the time taken for a plan change after that, so if you're unlucky it could be 10 minutes. Serverless should react much faster.

I think it's good to give some idea of timing. Maybe, "This may take several minutes." for the second sentence?

Copy link
Contributor

Choose a reason for hiding this comment

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

This may take several minutes. for the second sentence sounds good to me.

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

LGTM

jgowdyelastic and others added 3 commits September 27, 2023 16:46
…node_warning/jobs_awaiting_node_warning.tsx

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
…node_warning/new_job_awaiting_node_shared/new_job_awaiting_node_shared.tsx

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
Copy link
Contributor

@szabosteve szabosteve left a comment

Choose a reason for hiding this comment

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

UI text LGTM.

@kibana-ci
Copy link

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #29 / EPM Endpoints EPM - list list api tests lists all limited packages from the registry
  • [job] [logs] FTR Configs #29 / serverless examples UI Partial Results Example "before all" hook for "should trace mouse events"

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 3.5MB 3.5MB +17.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @jgowdyelastic

@jgowdyelastic jgowdyelastic merged commit 55a86ba into elastic:main Sep 27, 2023
@kibanamachine kibanamachine added the backport:skip This PR does not require backporting label Sep 27, 2023
@jgowdyelastic jgowdyelastic deleted the changing-wording-of-awaiting-ml-nodes-messages branch September 27, 2023 17:45
@szabosteve szabosteve changed the title [ML] Changing wording of awaiting ML nodes messages [ML] Changes wording of awaiting ML nodes messages Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ML] Make the "waiting for autoscaling" messaging clearer

7 participants