[Obs AI Assistant] Improve flaky recall tests#220638
Conversation
|
Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Public APIs missing comments
History |
|
Starting backport for target branches: 8.19 https://github.com/elastic/kibana/actions/runs/14929902564 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#8257[✅] x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.ai_assistant.serverless.config.ts: 100/100 tests passed. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
(cherry picked from commit ed1f558)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
(cherry picked from commit ed1f558)
💚 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. |
… AI Assistant] Do not attempt to overwrite index mappings if inference id in component template has changed (#220739) (#220791) # Backport This will backport the following commits from `main` to `8.19`: - [[Obs AI Assistant] Improve flaky recall tests (#220638)](#220638) - [[Obs AI Assistant] Do not attempt to overwrite index mappings if inference id in component template has changed (#220739)](#220739) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Søren Louv-Jansen","email":"soren.louv@elastic.co"},"sourceCommit":{"committedDate":"2025-05-09T13:21:07Z","message":"[Obs AI Assistant] Improve flaky recall tests (#220638)","sha":"ed1f558f30127b36f450e9b9f991fcc1c13c36c3","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport missing","ci:build-cloud-image","ci:build-serverless-image","Team:Obs AI Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0"],"title":"[Obs AI Assistant] Improve flaky recall tests","number":220638,"url":"https://github.com/elastic/kibana/pull/220638","mergeCommit":{"message":"[Obs AI Assistant] Improve flaky recall tests (#220638)","sha":"ed1f558f30127b36f450e9b9f991fcc1c13c36c3"}},"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/220638","number":220638,"mergeCommit":{"message":"[Obs AI Assistant] Improve flaky recall tests (#220638)","sha":"ed1f558f30127b36f450e9b9f991fcc1c13c36c3"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/220790","number":220790,"state":"OPEN"}]},{"author":{"name":"Søren Louv-Jansen","email":"soren.louv@elastic.co"},"sourceCommit":{"committedDate":"2025-05-12T15:11:03Z","message":"[Obs AI Assistant] Do not attempt to overwrite index mappings if inference id in component template has changed (#220739)\n\nImprove flaky API tests and avoid errors like:\n\n```\n[ERROR][plugins.observabilityAIAssistant.service] Failed to PUT mapping for .kibana-observability-ai-assistant-kb: illegal_argument_exception\n \tRoot causes:\n \t\tillegal_argument_exception: Mapper for [semantic_text] conflicts with existing mapper:\n \tCannot update parameter [inference_id] from [pt_tiny_elser_inference_id] to [pt_tiny_text_embedding_inference_id]\n```","sha":"d2f25df5f3c8337ae9237093fde05d43660e0cf2","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Obs AI Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0"],"title":"[Obs AI Assistant] Do not attempt to overwrite index mappings if inference id in component template has changed","number":220739,"url":"https://github.com/elastic/kibana/pull/220739","mergeCommit":{"message":"[Obs AI Assistant] Do not attempt to overwrite index mappings if inference id in component template has changed (#220739)\n\nImprove flaky API tests and avoid errors like:\n\n```\n[ERROR][plugins.observabilityAIAssistant.service] Failed to PUT mapping for .kibana-observability-ai-assistant-kb: illegal_argument_exception\n \tRoot causes:\n \t\tillegal_argument_exception: Mapper for [semantic_text] conflicts with existing mapper:\n \tCannot update parameter [inference_id] from [pt_tiny_elser_inference_id] to [pt_tiny_text_embedding_inference_id]\n```","sha":"d2f25df5f3c8337ae9237093fde05d43660e0cf2"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/220739","number":220739,"mergeCommit":{"message":"[Obs AI Assistant] Do not attempt to overwrite index mappings if inference id in component template has changed (#220739)\n\nImprove flaky API tests and avoid errors like:\n\n```\n[ERROR][plugins.observabilityAIAssistant.service] Failed to PUT mapping for .kibana-observability-ai-assistant-kb: illegal_argument_exception\n \tRoot causes:\n \t\tillegal_argument_exception: Mapper for [semantic_text] conflicts with existing mapper:\n \tCannot update parameter [inference_id] from [pt_tiny_elser_inference_id] to [pt_tiny_text_embedding_inference_id]\n```","sha":"d2f25df5f3c8337ae9237093fde05d43660e0cf2"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
This improves flakiness in API tests by:
wait_until_completeto the setup endpoint that ensures that it only returns after the model is ready and re-index complete.