-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Obs AI Assistant] Unskip user instructions test (#205656) #205897
[Obs AI Assistant] Unskip user instructions test (#205656) #205897
Conversation
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#7670[❌] x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/config.ts: 160/200 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7674[✅] x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/config.ts: 100/100 tests passed. |
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#7675[❌] x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/config.ts: 175/200 tests passed. |
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#7676[❌] x-pack/test/observability_ai_assistant_api_integration/enterprise/config.ts: 174/200 tests passed. |
Pinging @elastic/obs-ai-assistant (Team:Obs AI Assistant) |
313bb9e
to
666c8f1
Compare
🤖 GitHub commentsExpand to view the GitHub comments
Just comment with:
|
.interceptConversation({ name: 'conversation', response: 'I, the LLM, hear you!' }) | ||
.completeAfterIntercept(), | ||
]; | ||
const interceptPromise = proxy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does not wait for the LLM-generated title
to be generated. if this is intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, we don't check for the title in the test. Therefore, I removed the title interception
Flaky Test Runner Stats🟠 Some tests failed. - kibana-flaky-test-suite-runner#7682[❌] x-pack/test/observability_ai_assistant_api_integration/enterprise/config.ts: 74/100 tests passed. |
Flaky Test Runner Stats🎉 All tests passed! - kibana-flaky-test-suite-runner#7681[✅] x-pack/test_serverless/api_integration/test_suites/observability/ai_assistant/config.ts: 100/100 tests passed. |
Any idea why the first flaky test runner failed and the second passed? Looks like no code changes between the two. |
Hey @sorenlouv
|
💚 Build Succeeded
Metrics [docs]
cc @viduni94 |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12692534725 |
…astic#205897) Closes elastic#205656 ## Summary ### Problem There seems to be a race condition and state contamination between tests in the KB user instructions tests. ### Solution - Clear knowledge base and conversations after tests - Remove title interceptor --> we don't need title interception for these tests ### Checklist - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) (cherry picked from commit 37d7a5e)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…astic#205897) Closes elastic#205656 ## Summary ### Problem There seems to be a race condition and state contamination between tests in the KB user instructions tests. ### Solution - Clear knowledge base and conversations after tests - Remove title interceptor --> we don't need title interception for these tests ### Checklist - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
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. |
…astic#205897) Closes elastic#205656 ## Summary ### Problem There seems to be a race condition and state contamination between tests in the KB user instructions tests. ### Solution - Clear knowledge base and conversations after tests - Remove title interceptor --> we don't need title interception for these tests ### Checklist - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) (cherry picked from commit 37d7a5e)
…5897) (#206082) # Backport This will backport the following commits from `main` to `8.x`: - [[Obs AI Assistant] Unskip user instructions test (#205656) (#205897)](#205897) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Viduni Wickramarachchi","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-01-09T15:01:15Z","message":"[Obs AI Assistant] Unskip user instructions test (#205656) (#205897)\n\nCloses https://github.com/elastic/kibana/issues/205656\r\n\r\n## Summary\r\n\r\n### Problem\r\nThere seems to be a race condition and state contamination between tests\r\nin the KB user instructions tests.\r\n\r\n### Solution\r\n- Clear knowledge base and conversations after tests\r\n- Remove title interceptor --> we don't need title interception for\r\nthese tests\r\n\r\n### Checklist\r\n\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"37d7a5efb760dc271a4fb26f1eeba0d66e037b07","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"],"title":"[Obs AI Assistant] Unskip user instructions test (#205656)","number":205897,"url":"https://github.com/elastic/kibana/pull/205897","mergeCommit":{"message":"[Obs AI Assistant] Unskip user instructions test (#205656) (#205897)\n\nCloses https://github.com/elastic/kibana/issues/205656\r\n\r\n## Summary\r\n\r\n### Problem\r\nThere seems to be a race condition and state contamination between tests\r\nin the KB user instructions tests.\r\n\r\n### Solution\r\n- Clear knowledge base and conversations after tests\r\n- Remove title interceptor --> we don't need title interception for\r\nthese tests\r\n\r\n### Checklist\r\n\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"37d7a5efb760dc271a4fb26f1eeba0d66e037b07"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/205897","number":205897,"mergeCommit":{"message":"[Obs AI Assistant] Unskip user instructions test (#205656) (#205897)\n\nCloses https://github.com/elastic/kibana/issues/205656\r\n\r\n## Summary\r\n\r\n### Problem\r\nThere seems to be a race condition and state contamination between tests\r\nin the KB user instructions tests.\r\n\r\n### Solution\r\n- Clear knowledge base and conversations after tests\r\n- Remove title interceptor --> we don't need title interception for\r\nthese tests\r\n\r\n### Checklist\r\n\r\n- [x] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [x] The PR description includes the appropriate Release Notes section,\r\nand the correct `release_note:*` label is applied per the\r\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"37d7a5efb760dc271a4fb26f1eeba0d66e037b07"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Viduni Wickramarachchi <[email protected]>
…astic#205897) Closes elastic#205656 ## Summary ### Problem There seems to be a race condition and state contamination between tests in the KB user instructions tests. ### Solution - Clear knowledge base and conversations after tests - Remove title interceptor --> we don't need title interception for these tests ### Checklist - [x] [Flaky Test Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was used on any tests changed - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Closes #205656
Summary
Problem
There seems to be a race condition and state contamination between tests in the KB user instructions tests.
Solution
Checklist
release_note:*
label is applied per the guidelines