Skip to content

[ska] relocate functional ml and transform tests#227280

Merged
dmlemeshko merged 8 commits intoelastic:mainfrom
dmlemeshko:ska/relocate-functional_basic
Jul 10, 2025
Merged

[ska] relocate functional ml and transform tests#227280
dmlemeshko merged 8 commits intoelastic:mainfrom
dmlemeshko:ska/relocate-functional_basic

Conversation

@dmlemeshko
Copy link
Contributor

@dmlemeshko dmlemeshko commented Jul 9, 2025

Summary

Summary

Part of https://github.com/elastic/kibana-team/issues/1503

This PR is mostly about moving platform tests from x-pack/test

x-pack/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform

After:

x-pack/platform/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform

@dmlemeshko dmlemeshko changed the title [ska] relocate x-pack/test/functional_basic, functional ml and transform [ska] relocate functional ml and transform tests Jul 9, 2025
@dmlemeshko dmlemeshko marked this pull request as ready for review July 9, 2025 15:56
@dmlemeshko dmlemeshko requested review from a team as code owners July 9, 2025 15:56
@dmlemeshko dmlemeshko self-assigned this Jul 9, 2025
@dmlemeshko dmlemeshko added v9.1.0 v8.19.0 v9.2.0 release_note:skip Skip the PR/issue when compiling release notes backport:version Backport to applied version labels labels Jul 9, 2025
Copy link
Contributor

@rbrtj rbrtj left a comment

Choose a reason for hiding this comment

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

LGTM,
I don't want to block the PR, but it would be nice to update x-pack/platform/plugins/shared/ml/readme.md to point to the correct paths, as mentioned in the previous PR #226857 (comment)

@dmlemeshko dmlemeshko enabled auto-merge (squash) July 10, 2025 14:57
Copy link
Contributor

@mattkime mattkime left a comment

Choose a reason for hiding this comment

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

lgtm

@dmlemeshko dmlemeshko merged commit ad01ad5 into elastic:main Jul 10, 2025
13 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @dmlemeshko

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 227280

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 14, 2025
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 227280 locally
cc: @dmlemeshko

dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Jul 15, 2025
## Summary

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving platform tests from x-pack/test

```
x-pack/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

After:
```
x-pack/platform/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ad01ad5)

# Conflicts:
#	.github/CODEOWNERS
#	x-pack/platform/plugins/shared/ml/readme.md
#	x-pack/platform/test/functional/apps/ml/anomaly_detection_jobs/custom_urls.ts
#	x-pack/platform/test/functional/apps/ml/anomaly_detection_jobs/job_expanded_details.ts
#	x-pack/platform/test/functional/apps/ml/anomaly_detection_result_views/anomaly_explorer.ts
#	x-pack/platform/test/functional/apps/ml/data_frame_analytics/classification_creation.ts
#	x-pack/platform/test/functional/apps/ml/data_frame_analytics/custom_urls.ts
#	x-pack/platform/test/functional/apps/ml/data_frame_analytics/outlier_detection_creation.ts
#	x-pack/platform/test/functional/apps/ml/data_frame_analytics/regression_creation.ts
#	x-pack/platform/test/functional/apps/ml/permissions/full_ml_access.ts
#	x-pack/platform/test/functional/apps/ml/permissions/no_ml_access.ts
#	x-pack/platform/test/functional/apps/ml/permissions/read_ml_access.ts
#	x-pack/platform/test/functional/apps/ml/short_tests/model_management/model_list.ts
#	x-pack/platform/test/functional/apps/ml/stack_management_jobs/manage_spaces.ts
#	x-pack/platform/test/functional/apps/transform/actions/reauthorizing.ts
#	x-pack/platform/test/functional/apps/transform/creation/runtime_mappings_saved_search/creation_runtime_mappings.ts
#	x-pack/platform/test/functional_basic/apps/ml/permissions/full_ml_access.ts
#	x-pack/platform/test/functional_basic/apps/ml/permissions/no_ml_access.ts
#	x-pack/platform/test/functional_basic/apps/ml/permissions/read_ml_access.ts
#	x-pack/platform/test/tsconfig.json
@dmlemeshko
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

@dmlemeshko dmlemeshko added backport:version Backport to applied version labels and removed backport:version Backport to applied version labels labels Jul 15, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

https://github.com/elastic/kibana/actions/runs/16294636553

dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Jul 15, 2025
## Summary

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving platform tests from x-pack/test

```
x-pack/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

After:
```
x-pack/platform/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ad01ad5)
@dmlemeshko
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Jul 15, 2025
## Summary

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving platform tests from x-pack/test

```
x-pack/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

After:
```
x-pack/platform/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ad01ad5)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.19 Backport failed because of merge conflicts
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 227280

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 15, 2025
…8020)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[ska] relocate functional ml and transform tests
(#227280)](#227280)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T16:39:35Z","message":"[ska]
relocate functional ml and transform tests (#227280)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ad01ad5e15801245e9c868f90c526508f0f8d48e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[ska]
relocate functional ml and transform
tests","number":227280,"url":"https://github.com/elastic/kibana/pull/227280","mergeCommit":{"message":"[ska]
relocate functional ml and transform tests (#227280)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ad01ad5e15801245e9c868f90c526508f0f8d48e"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227941","number":227941,"state":"OPEN"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227280","number":227280,"mergeCommit":{"message":"[ska]
relocate functional ml and transform tests (#227280)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ad01ad5e15801245e9c868f90c526508f0f8d48e"}}]}]
BACKPORT-->

Co-authored-by: Dzmitry Lemechko <dzmitry.lemechko@elastic.co>
@dmlemeshko dmlemeshko added backport:version Backport to applied version labels and removed backport:version Backport to applied version labels labels Jul 15, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

https://github.com/elastic/kibana/actions/runs/16304449008

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.19:
- [ska] relocate platform banner, cloud, so, custom branding tests (#227269)
- [ska] relocate oblt deployment-agnostic api integration tests (#227194)
- [scout] re-org test directory (#226411)
- [ska][x-pack] Move saved_objects_management, saved_query_management and snapshot_restore to platform
- [ska][x-pack] relocate spaces_api_integration tests (#225377)
- [ska][x-pack] Move canvas, watcher and dev_tools functional tests
9.1 Cherrypick failed because the selected commit (ad01ad5) is empty. It looks like the commit was already backported in #228020

Manual backport

To create the backport manually run:

node scripts/backport --pr 227280

Questions ?

Please refer to the Backport tool documentation

@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jul 16, 2025
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
## Summary

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving platform tests from x-pack/test

```
x-pack/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

After: 
```
x-pack/platform/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
dmlemeshko added a commit to dmlemeshko/kibana that referenced this pull request Aug 1, 2025
## Summary

## Summary

Part of elastic/kibana-team#1503

This PR is mostly about moving platform tests from x-pack/test

```
x-pack/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

After:
```
x-pack/platform/test/
     | - functional_basic
     | - functional
          | - ml
          | - transform
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit ad01ad5)

# Conflicts:
#	.github/CODEOWNERS
#	x-pack/platform/test/tsconfig.json
@dmlemeshko
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

dmlemeshko added a commit that referenced this pull request Aug 4, 2025
…30290)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[ska] relocate functional ml and transform tests
(#227280)](#227280)

<!--- Backport version: 10.0.0 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Dzmitry
Lemechko","email":"dzmitry.lemechko@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T16:39:35Z","message":"[ska]
relocate functional ml and transform tests (#227280)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ad01ad5e15801245e9c868f90c526508f0f8d48e","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0"],"title":"[ska]
relocate functional ml and transform
tests","number":227280,"url":"https://github.com/elastic/kibana/pull/227280","mergeCommit":{"message":"[ska]
relocate functional ml and transform tests (#227280)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ad01ad5e15801245e9c868f90c526508f0f8d48e"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/228020","number":228020,"state":"MERGED","mergeCommit":{"sha":"4b8a61fca16d9c5fde22475d0ca9f0a8eb4d3796","message":"[9.1]
[ska] relocate functional ml and transform tests (#227280)
(#228020)\n\n# Backport\n\nThis will backport the following commits from
`main` to `9.1`:\n- [[ska] relocate functional ml and transform
tests\n(#227280)](https://github.com/elastic/kibana/pull/227280)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Dzmitry Lemechko
<dzmitry.lemechko@elastic.co>"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227280","number":227280,"mergeCommit":{"message":"[ska]
relocate functional ml and transform tests (#227280)\n\n## Summary\n\n##
Summary\n\nPart of
https://github.com/elastic/kibana-team/issues/1503\n\nThis PR is mostly
about moving platform tests from x-pack/test\n\n```\nx-pack/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\nAfter: \n```\nx-pack/platform/test/\n | -
functional_basic\n | - functional\n | - ml\n | -
transform\n```\n\n---------\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"ad01ad5e15801245e9c868f90c526508f0f8d48e"}}]}]
BACKPORT-->

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes v8.19.0 v8.19.1 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

Comments