Skip to content

Tags: elastic/kibana

Tags

deploy-fix@1746425571

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Revert "Removed switchToModelVersionAt from SO API definition (#219029)…

…" (#220063)

This reverts commit 19c017a.

## Summary


Reverts #219029 as it is causing SO Migration crashes in our QA
environment.

It can also be tested locally on `main`:

1. On a previous version (`git checkout deploy@1745820726`)
2. Start ES: `yarn es serverless --projectType es`
3. Start Kibana: `yarn start --serverless=es`
4. Wait for migrations to complete
5. Stop Kibana
6. Move back to `main`
7. Start Kibana: `yarn start --serverless=es`
8. Wait for the error

On `main`, we can see that Kibana fails to start with the fatal error:

```
 FATAL  Error: Unable to complete saved object migrations for the [.kibana_alerting_cases] index: Model version conflict: inconsistent higher/lower versions
```

In this branch, it starts successfully.

deploy@1746425571

Tagging release 1069221 as: deploy@1746425571, by

v9.0.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[9.0] [SDH][APM] Handle create anomaly detection jobs failures (#219364…

…) (#219678)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[SDH][APM] Handle create anomaly detection jobs failures
(#219364)](#219364)

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

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

<!--BACKPORT [{"author":{"name":"Sergi
Romeu","email":"sergi.romeu@elastic.co"},"sourceCommit":{"committedDate":"2025-04-30T08:49:04Z","message":"[SDH][APM]
Handle create anomaly detection jobs failures (#219364)\n\n##
Summary\n\nFixes #157704\n\nThis PR shows the error toast when you try
to create an anomaly\ndetection job that throws an
error.\n\n\nhttps://github.com/user-attachments/assets/0c3ca1a5-36a6-4385-8cf1-473e689e9afb\n\n##
How to test\n1. Run kibana \n2.
Modify\n[this](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-apm-synthtrace/src/lib/utils/get_synthtrace_environment.ts)\nto
have a long environment name.\n3. Go to APM -> Settings -> Anomaly
detection.\n4. Try to create a job after running the synthtrace
scenario, it should\nfail.\n\n---------\n\nCo-authored-by: jennypavlova
<dzheni.pavlova@elastic.co>","sha":"da434192989436d55292433ccd0543364af57f20","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","apm:ml","sdh-linked","Team:obs-ux-infra_services","backport:version","v9.1.0","v8.19.0","v8.18.1","v9.0.1","v8.17.6"],"title":"[SDH][APM]
Handle create anomaly detection jobs
failures","number":219364,"url":"https://github.com/elastic/kibana/pull/219364","mergeCommit":{"message":"[SDH][APM]
Handle create anomaly detection jobs failures (#219364)\n\n##
Summary\n\nFixes #157704\n\nThis PR shows the error toast when you try
to create an anomaly\ndetection job that throws an
error.\n\n\nhttps://github.com/user-attachments/assets/0c3ca1a5-36a6-4385-8cf1-473e689e9afb\n\n##
How to test\n1. Run kibana \n2.
Modify\n[this](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-apm-synthtrace/src/lib/utils/get_synthtrace_environment.ts)\nto
have a long environment name.\n3. Go to APM -> Settings -> Anomaly
detection.\n4. Try to create a job after running the synthtrace
scenario, it should\nfail.\n\n---------\n\nCo-authored-by: jennypavlova
<dzheni.pavlova@elastic.co>","sha":"da434192989436d55292433ccd0543364af57f20"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","8.18","9.0","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/219364","number":219364,"mergeCommit":{"message":"[SDH][APM]
Handle create anomaly detection jobs failures (#219364)\n\n##
Summary\n\nFixes #157704\n\nThis PR shows the error toast when you try
to create an anomaly\ndetection job that throws an
error.\n\n\nhttps://github.com/user-attachments/assets/0c3ca1a5-36a6-4385-8cf1-473e689e9afb\n\n##
How to test\n1. Run kibana \n2.
Modify\n[this](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-apm-synthtrace/src/lib/utils/get_synthtrace_environment.ts)\nto
have a long environment name.\n3. Go to APM -> Settings -> Anomaly
detection.\n4. Try to create a job after running the synthtrace
scenario, it should\nfail.\n\n---------\n\nCo-authored-by: jennypavlova
<dzheni.pavlova@elastic.co>","sha":"da434192989436d55292433ccd0543364af57f20"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Sergi Romeu <sergi.romeu@elastic.co>
Co-authored-by: jennypavlova <dzheni.pavlova@elastic.co>

v8.18.1

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[8.18] [APM] Handle missing `trace` in API response (#219512) (#219671)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[APM] Handle missing `trace` in API response
(#219512)](#219512)

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

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

<!--BACKPORT [{"author":{"name":"Milosz
Marcinkowski","email":"38698566+miloszmarcinkowski@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-04-30T08:07:59Z","message":"[APM]
Handle missing `trace` in API response (#219512)\n\n###
Summary\n\nHandle empty `trace`
in\n`/internal/apm/traces/{traceId}/spans/{spanId}`API.\n\nBefore:\n\n\nhttps://github.com/user-attachments/assets/07d0d4a6-4c10-4827-a899-64812d958ab4\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/6bf1a066-6690-486f-b551-4ce7c4960c3d\n\n###
How to test:\n- Mock `/internal/apm/traces/{traceId}/spans/{spanId}`API
so `trace` is\nmissing\n- Open span flyout in APM -> Service ->
Transaction view ->
Waterfall\nitem","sha":"156e3d6dfbb0bfb7a93aa006c8ba6a9b4e3e13eb","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:obs-ux-infra_services","backport:version","v9.1.0","v8.19.0","v8.18.1","v9.0.1","v8.17.6"],"title":"[APM]
Handle missing `trace` in API
response","number":219512,"url":"https://github.com/elastic/kibana/pull/219512","mergeCommit":{"message":"[APM]
Handle missing `trace` in API response (#219512)\n\n###
Summary\n\nHandle empty `trace`
in\n`/internal/apm/traces/{traceId}/spans/{spanId}`API.\n\nBefore:\n\n\nhttps://github.com/user-attachments/assets/07d0d4a6-4c10-4827-a899-64812d958ab4\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/6bf1a066-6690-486f-b551-4ce7c4960c3d\n\n###
How to test:\n- Mock `/internal/apm/traces/{traceId}/spans/{spanId}`API
so `trace` is\nmissing\n- Open span flyout in APM -> Service ->
Transaction view ->
Waterfall\nitem","sha":"156e3d6dfbb0bfb7a93aa006c8ba6a9b4e3e13eb"}},"sourceBranch":"main","suggestedTargetBranches":["8.19","8.18","9.0","8.17"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/219512","number":219512,"mergeCommit":{"message":"[APM]
Handle missing `trace` in API response (#219512)\n\n###
Summary\n\nHandle empty `trace`
in\n`/internal/apm/traces/{traceId}/spans/{spanId}`API.\n\nBefore:\n\n\nhttps://github.com/user-attachments/assets/07d0d4a6-4c10-4827-a899-64812d958ab4\n\nAfter:\n\n\nhttps://github.com/user-attachments/assets/6bf1a066-6690-486f-b551-4ce7c4960c3d\n\n###
How to test:\n- Mock `/internal/apm/traces/{traceId}/spans/{spanId}`API
so `trace` is\nmissing\n- Open span flyout in APM -> Service ->
Transaction view ->
Waterfall\nitem","sha":"156e3d6dfbb0bfb7a93aa006c8ba6a9b4e3e13eb"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.17","label":"v8.17.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Milosz Marcinkowski <38698566+miloszmarcinkowski@users.noreply.github.com>

v8.17.6

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
[8.17] [Synthetics] Fix params sharing !! (#219675) (#219705)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Synthetics] Fix params sharing !!
(#219675)](#219675)

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

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"shahzad31comp@gmail.com"},"sourceCommit":{"committedDate":"2025-04-30T11:35:14Z","message":"[Synthetics]
Fix params sharing !! (#219675)\n\n## Summary\n\nFix params sharing,
added a unit test for the change
!!","sha":"5a4cd4d7df528225509805628fd0a6397f70b004","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:all-open","Team:obs-ux-management","v9.1.0"],"title":"[Synthetics]
Fix params sharing
!!","number":219675,"url":"https://github.com/elastic/kibana/pull/219675","mergeCommit":{"message":"[Synthetics]
Fix params sharing !! (#219675)\n\n## Summary\n\nFix params sharing,
added a unit test for the change
!!","sha":"5a4cd4d7df528225509805628fd0a6397f70b004"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/219675","number":219675,"mergeCommit":{"message":"[Synthetics]
Fix params sharing !! (#219675)\n\n## Summary\n\nFix params sharing,
added a unit test for the change
!!","sha":"5a4cd4d7df528225509805628fd0a6397f70b004"}}]}] BACKPORT-->

Co-authored-by: Shahzad <shahzad31comp@gmail.com>

deploy@1745820726

Tagging release 97f979d as: deploy@1745820726, by

deploy@1745272860

Tagging release fcee0a8 as: deploy@1745272860, by

deploy@1744611164

Tagging release 7419bc3 as: deploy@1744611164, by

v9.0.0

fix typo from #217843

v8.18.0

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Revert "[8.18] [Oblt Onboarding] Add breadcrumbs for quick start flow… (

#217686)

Revert of the
5c5d8e3
because it's a non-essential change and it was merged too close to the
BC.