Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…206516) # Backport This will backport the following commits from `main` to `8.x`: - [Observability AI Assistant Tests Deployment Agnostic (#205194)](#205194) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Arturo Lidueña","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-13T15:03:51Z","message":"Observability AI Assistant Tests Deployment Agnostic (#205194)\n\nCloses #192718\r\n\r\n## Summary\r\n\r\nThis PR add a deployment-agnostic testing environment for Observability\r\nAI Assistant tests by unifying the duplicated tests for stateful and\r\nserverless environments. It create the ObservabilityAIAssistantApiClient\r\nto work seamlessly in both environments, enabling a single test to run\r\nacross stateful, CI, and MKI.\r\n\r\nInitial efforts focus on deduplicating the `conversations.spec.ts` and\r\n`connectors.spec.ts` files, as these already run in all environments.\r\n\r\nMove / dedup the tests that exist in stateful and serverless. They run\r\nin serverless CI but not MKI and add the skipMki tag.\r\n`chat.spec.ts`\r\n`complete.spec.ts`\r\n`elasticsearch.spec.ts`\r\n`public_complete.spec.ts`\r\n`alerts.spec.ts`\r\n`knowledge_base_setup.spec.ts` \r\n`knowledge_base_status.spec.ts` \r\n`knowledge_base.spec.ts` \r\n`summarize.ts` \r\n`knowledge_base_user_instructions.spec.ts`","sha":"ee6c5bde34b984e14889eb136cfa1a9baa9991c0","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Obs AI Assistant","ci:project-deploy-observability","backport:version","v8.18.0"],"number":205194,"url":"https://github.com/elastic/kibana/pull/205194","mergeCommit":{"message":"Observability AI Assistant Tests Deployment Agnostic (#205194)\n\nCloses #192718\r\n\r\n## Summary\r\n\r\nThis PR add a deployment-agnostic testing environment for Observability\r\nAI Assistant tests by unifying the duplicated tests for stateful and\r\nserverless environments. It create the ObservabilityAIAssistantApiClient\r\nto work seamlessly in both environments, enabling a single test to run\r\nacross stateful, CI, and MKI.\r\n\r\nInitial efforts focus on deduplicating the `conversations.spec.ts` and\r\n`connectors.spec.ts` files, as these already run in all environments.\r\n\r\nMove / dedup the tests that exist in stateful and serverless. They run\r\nin serverless CI but not MKI and add the skipMki tag.\r\n`chat.spec.ts`\r\n`complete.spec.ts`\r\n`elasticsearch.spec.ts`\r\n`public_complete.spec.ts`\r\n`alerts.spec.ts`\r\n`knowledge_base_setup.spec.ts` \r\n`knowledge_base_status.spec.ts` \r\n`knowledge_base.spec.ts` \r\n`summarize.ts` \r\n`knowledge_base_user_instructions.spec.ts`","sha":"ee6c5bde34b984e14889eb136cfa1a9baa9991c0"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205194","number":205194,"mergeCommit":{"message":"Observability AI Assistant Tests Deployment Agnostic (#205194)\n\nCloses #192718\r\n\r\n## Summary\r\n\r\nThis PR add a deployment-agnostic testing environment for Observability\r\nAI Assistant tests by unifying the duplicated tests for stateful and\r\nserverless environments. It create the ObservabilityAIAssistantApiClient\r\nto work seamlessly in both environments, enabling a single test to run\r\nacross stateful, CI, and MKI.\r\n\r\nInitial efforts focus on deduplicating the `conversations.spec.ts` and\r\n`connectors.spec.ts` files, as these already run in all environments.\r\n\r\nMove / dedup the tests that exist in stateful and serverless. They run\r\nin serverless CI but not MKI and add the skipMki tag.\r\n`chat.spec.ts`\r\n`complete.spec.ts`\r\n`elasticsearch.spec.ts`\r\n`public_complete.spec.ts`\r\n`alerts.spec.ts`\r\n`knowledge_base_setup.spec.ts` \r\n`knowledge_base_status.spec.ts` \r\n`knowledge_base.spec.ts` \r\n`summarize.ts` \r\n`knowledge_base_user_instructions.spec.ts`","sha":"ee6c5bde34b984e14889eb136cfa1a9baa9991c0"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
- Loading branch information