-
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 trained models: adds functional tests for 'Deploy Model' action #163886
[ML] Data Frame Analytics trained models: adds functional tests for 'Deploy Model' action #163886
Conversation
Pinging @elastic/ml-ui (:ml) |
@elasticmachine merge upstream |
…-ref HEAD~1..HEAD --fix'
…-ref HEAD~1..HEAD --fix'
@elasticmachine merge upstream |
The flaky test run has passed and this is ready for a look when you get a chance 🙏 cc @qn895, @darnautov |
@peteharverson, @darnautov - would you be up for taking a look when you get a chance? 🙏 |
@elasticmachine merge upstream |
inferenceConfig: any; | ||
editedInferenceConfig?: any; | ||
fieldMap: any; | ||
editedFieldMap?: any; |
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.
could you please provide types here?
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.
Added in 001a830
await this.deployModelsContinue('mlTrainedModelsInferenceReviewAndCreateStep'); | ||
} | ||
|
||
public async completeTrainedModelsInferenceFlyoutCreateStep(expectedConfig: any) { |
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.
type is missing
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.
Added in 001a830
|
||
export type MlDeployTrainedModelsFlyout = ProvidedType<typeof DeployTrainedModelsFlyoutProvider>; | ||
|
||
export function DeployTrainedModelsFlyoutProvider( |
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.
wdyt?
export function DeployTrainedModelsFlyoutProvider( | |
export function DeployDFAModelFlyoutProvider( |
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.
Updated in 001a830
@@ -158,6 +159,7 @@ export function MachineLearningProvider(context: FtrProviderContext) { | |||
const swimLane = SwimLaneProvider(context); | |||
const trainedModels = TrainedModelsProvider(context, commonUI); | |||
const trainedModelsTable = TrainedModelsTableProvider(context, commonUI, trainedModels); | |||
const trainedModelsFlyout = DeployTrainedModelsFlyoutProvider(context, commonUI); |
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.
const trainedModelsFlyout = DeployTrainedModelsFlyoutProvider(context, commonUI); | |
const deployDFAModelFlyout = DeployTrainedModelsFlyoutProvider(context, commonUI); |
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.
Updated in 001a830
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.
LGTM
@elasticmachine merge upstream |
💚 Build Succeeded
Metrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: |
…Deploy Model' action (elastic#163886) ## Summary Adds functional tests for deploy model action for DFA trained models with default config and with custom config. Part of elastic#160712 Flaky test run: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2961 (updated) ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit b2308a9)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
7 similar comments
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
Friendly reminder: Looks like this PR hasn’t been backported yet. |
Added |
Summary
Adds functional tests for deploy model action for DFA trained models with default config and with custom config.
Part of #160712
Flaky test run: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2961 (updated)
Checklist