[Obs AI Assistant] Make API tests more resilient#220503
[Obs AI Assistant] Make API tests more resilient#220503sorenlouv merged 2 commits intoelastic:mainfrom
Conversation
| await esClient.asInternalUser.indices.create({ | ||
| index: indexName, | ||
| mappings: { | ||
| properties: { | ||
| semantic_text: { | ||
| type: 'semantic_text', | ||
| inference_id: inferenceId, | ||
| }, | ||
| }, | ||
| }, | ||
| }); | ||
| await esClient.asInternalUser.indices.create({ index: indexName }); |
There was a problem hiding this comment.
Ah my bad, thanks for updating this @sorenlouv 🙏🏻
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
|
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#8253[❌] x-pack/test/api_integration/deployment_agnostic/configs/stateful/oblt.stateful.config.ts: 99/100 tests passed. |
|
|
||
| before(async () => { | ||
| // setup KB initially | ||
|
|
|
Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant) |
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
|
Starting backport for target branches: 8.19 https://github.com/elastic/kibana/actions/runs/14912713385 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
This PR aims to make API test more resilient by improving logging and utilities gracefully handling known errors. (cherry picked from commit 3743f7d)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…20565) # Backport This will backport the following commits from `main` to `8.19`: - [[Obs AI Assistant] Make API tests more resilient (#220503)](#220503) <!--- 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-08T17:45:18Z","message":"[Obs AI Assistant] Make API tests more resilient (#220503)\n\nThis PR aims to make API test more resilient by improving logging and\nutilities gracefully handling known errors.","sha":"3743f7d46598407a80030297531deb48707cfcda","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Obs AI Assistant","ci:project-deploy-observability","backport:version","v9.1.0","v8.19.0"],"title":"[Obs AI Assistant] Make API tests more resilient","number":220503,"url":"https://github.com/elastic/kibana/pull/220503","mergeCommit":{"message":"[Obs AI Assistant] Make API tests more resilient (#220503)\n\nThis PR aims to make API test more resilient by improving logging and\nutilities gracefully handling known errors.","sha":"3743f7d46598407a80030297531deb48707cfcda"}},"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/220503","number":220503,"mergeCommit":{"message":"[Obs AI Assistant] Make API tests more resilient (#220503)\n\nThis PR aims to make API test more resilient by improving logging and\nutilities gracefully handling known errors.","sha":"3743f7d46598407a80030297531deb48707cfcda"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
This PR aims to make API test more resilient by improving logging and utilities gracefully handling known errors.
This PR aims to make API test more resilient by improving logging and utilities gracefully handling known errors.
This PR aims to make API test more resilient by improving logging and utilities gracefully handling known errors.
This PR aims to make API test more resilient by improving logging and utilities gracefully handling known errors.