-
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
Add base FTR test coverage for inference APIs #198000
Add base FTR test coverage for inference APIs #198000
Conversation
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.
quick comments for @pheyos
…e-integration-test
/ci |
/ci |
/ci |
/ci |
/ci |
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12159929564 |
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
|
💔 All backports failed
Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary Part of elastic/kibana-team#1271 This PR introduces the first set of end to end integration test for the inference APIs, and the tooling required to do so (see issue for more context) - Add a dedicated pipeline for ai-infra GenAI tests. pipeline is triggered when: - genAI stack connectors, or ai-infra owned code is changed - when the `ci:all-gen-ai-suites` label is present on a PR - on merge - adapt the `ftr_configs.sh` script to load GenAI connector configuration from vault when a specific var env is set - create the `@kbn/gen-ai-functional-testing` package, which for now only contains utilities to load the GenAI connector configuration in FTR tests - Add FTR integration tests for the `chatComplete` API of the `inference` plugin --------- Co-authored-by: kibanamachine <[email protected]> (cherry picked from commit 14ad13b) # Conflicts: # .buildkite/pipelines/on_merge.yml # .github/CODEOWNERS
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. |
# Backport This will backport the following commits from `main` to `8.x`: - [Add base FTR test coverage for inference APIs (#198000)](#198000) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Pierre Gayvallet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-12-04T12:39:45Z","message":"Add base FTR test coverage for inference APIs (#198000)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana-team/issues/1271\r\n\r\nThis PR introduces the first set of end to end integration test for the\r\ninference APIs, and the tooling required to do so (see issue for more\r\ncontext)\r\n\r\n- Add a dedicated pipeline for ai-infra GenAI tests. pipeline is\r\ntriggered when:\r\n - genAI stack connectors, or ai-infra owned code is changed\r\n - when the `ci:all-gen-ai-suites` label is present on a PR\r\n - on merge\r\n- adapt the `ftr_configs.sh` script to load GenAI connector\r\nconfiguration from vault when a specific var env is set\r\n- create the `@kbn/gen-ai-functional-testing` package, which for now\r\nonly contains utilities to load the GenAI connector configuration in FTR\r\ntests\r\n- Add FTR integration tests for the `chatComplete` API of the\r\n`inference` plugin\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:version","Team:AI Infra","v8.18.0","ci:all-gen-ai-suites"],"number":198000,"url":"https://github.com/elastic/kibana/pull/198000","mergeCommit":{"message":"Add base FTR test coverage for inference APIs (#198000)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana-team/issues/1271\r\n\r\nThis PR introduces the first set of end to end integration test for the\r\ninference APIs, and the tooling required to do so (see issue for more\r\ncontext)\r\n\r\n- Add a dedicated pipeline for ai-infra GenAI tests. pipeline is\r\ntriggered when:\r\n - genAI stack connectors, or ai-infra owned code is changed\r\n - when the `ci:all-gen-ai-suites` label is present on a PR\r\n - on merge\r\n- adapt the `ftr_configs.sh` script to load GenAI connector\r\nconfiguration from vault when a specific var env is set\r\n- create the `@kbn/gen-ai-functional-testing` package, which for now\r\nonly contains utilities to load the GenAI connector configuration in FTR\r\ntests\r\n- Add FTR integration tests for the `chatComplete` API of the\r\n`inference` plugin\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808"}},"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/198000","number":198000,"mergeCommit":{"message":"Add base FTR test coverage for inference APIs (#198000)\n\n## Summary\r\n\r\nPart of https://github.com/elastic/kibana-team/issues/1271\r\n\r\nThis PR introduces the first set of end to end integration test for the\r\ninference APIs, and the tooling required to do so (see issue for more\r\ncontext)\r\n\r\n- Add a dedicated pipeline for ai-infra GenAI tests. pipeline is\r\ntriggered when:\r\n - genAI stack connectors, or ai-infra owned code is changed\r\n - when the `ci:all-gen-ai-suites` label is present on a PR\r\n - on merge\r\n- adapt the `ftr_configs.sh` script to load GenAI connector\r\nconfiguration from vault when a specific var env is set\r\n- create the `@kbn/gen-ai-functional-testing` package, which for now\r\nonly contains utilities to load the GenAI connector configuration in FTR\r\ntests\r\n- Add FTR integration tests for the `chatComplete` API of the\r\n`inference` plugin\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <[email protected]>
## Summary Part of elastic/kibana-team#1271 This PR introduces the first set of end to end integration test for the inference APIs, and the tooling required to do so (see issue for more context) - Add a dedicated pipeline for ai-infra GenAI tests. pipeline is triggered when: - genAI stack connectors, or ai-infra owned code is changed - when the `ci:all-gen-ai-suites` label is present on a PR - on merge - adapt the `ftr_configs.sh` script to load GenAI connector configuration from vault when a specific var env is set - create the `@kbn/gen-ai-functional-testing` package, which for now only contains utilities to load the GenAI connector configuration in FTR tests - Add FTR integration tests for the `chatComplete` API of the `inference` plugin --------- Co-authored-by: kibanamachine <[email protected]>
## Summary Part of elastic/kibana-team#1271 This PR introduces the first set of end to end integration test for the inference APIs, and the tooling required to do so (see issue for more context) - Add a dedicated pipeline for ai-infra GenAI tests. pipeline is triggered when: - genAI stack connectors, or ai-infra owned code is changed - when the `ci:all-gen-ai-suites` label is present on a PR - on merge - adapt the `ftr_configs.sh` script to load GenAI connector configuration from vault when a specific var env is set - create the `@kbn/gen-ai-functional-testing` package, which for now only contains utilities to load the GenAI connector configuration in FTR tests - Add FTR integration tests for the `chatComplete` API of the `inference` plugin --------- Co-authored-by: kibanamachine <[email protected]>
## Summary Part of elastic/kibana-team#1271 This PR introduces the first set of end to end integration test for the inference APIs, and the tooling required to do so (see issue for more context) - Add a dedicated pipeline for ai-infra GenAI tests. pipeline is triggered when: - genAI stack connectors, or ai-infra owned code is changed - when the `ci:all-gen-ai-suites` label is present on a PR - on merge - adapt the `ftr_configs.sh` script to load GenAI connector configuration from vault when a specific var env is set - create the `@kbn/gen-ai-functional-testing` package, which for now only contains utilities to load the GenAI connector configuration in FTR tests - Add FTR integration tests for the `chatComplete` API of the `inference` plugin --------- Co-authored-by: kibanamachine <[email protected]>
## Summary Part of elastic/kibana-team#1271 Follow-up of #198000 Fix #203205 Fix #203062 - Fix the problem with the Gemini token count events - Unskip the test suite - Remove the suite from the `on-merge` pipeline - Add a dedicated pipeline to run the tests daily
## Summary Part of elastic/kibana-team#1271 Follow-up of elastic#198000 Fix elastic#203205 Fix elastic#203062 - Fix the problem with the Gemini token count events - Unskip the test suite - Remove the suite from the `on-merge` pipeline - Add a dedicated pipeline to run the tests daily (cherry picked from commit 1f2a76a) # Conflicts: # .buildkite/pipeline-resource-definitions/locations.yml # .buildkite/pipelines/on_merge.yml
## Summary Part of elastic/kibana-team#1271 This PR introduces the first set of end to end integration test for the inference APIs, and the tooling required to do so (see issue for more context) - Add a dedicated pipeline for ai-infra GenAI tests. pipeline is triggered when: - genAI stack connectors, or ai-infra owned code is changed - when the `ci:all-gen-ai-suites` label is present on a PR - on merge - adapt the `ftr_configs.sh` script to load GenAI connector configuration from vault when a specific var env is set - create the `@kbn/gen-ai-functional-testing` package, which for now only contains utilities to load the GenAI connector configuration in FTR tests - Add FTR integration tests for the `chatComplete` API of the `inference` plugin --------- Co-authored-by: kibanamachine <[email protected]>
## Summary Part of elastic/kibana-team#1271 Follow-up of elastic#198000 Fix elastic#203205 Fix elastic#203062 - Fix the problem with the Gemini token count events - Unskip the test suite - Remove the suite from the `on-merge` pipeline - Add a dedicated pipeline to run the tests daily
## Summary Part of elastic/kibana-team#1271 Follow-up of elastic#198000 Fix elastic#203205 Fix elastic#203062 - Fix the problem with the Gemini token count events - Unskip the test suite - Remove the suite from the `on-merge` pipeline - Add a dedicated pipeline to run the tests daily
## Summary Part of elastic/kibana-team#1271 This PR introduces the first set of end to end integration test for the inference APIs, and the tooling required to do so (see issue for more context) - Add a dedicated pipeline for ai-infra GenAI tests. pipeline is triggered when: - genAI stack connectors, or ai-infra owned code is changed - when the `ci:all-gen-ai-suites` label is present on a PR - on merge - adapt the `ftr_configs.sh` script to load GenAI connector configuration from vault when a specific var env is set - create the `@kbn/gen-ai-functional-testing` package, which for now only contains utilities to load the GenAI connector configuration in FTR tests - Add FTR integration tests for the `chatComplete` API of the `inference` plugin --------- Co-authored-by: kibanamachine <[email protected]>
## Summary Part of elastic/kibana-team#1271 Follow-up of elastic#198000 Fix elastic#203205 Fix elastic#203062 - Fix the problem with the Gemini token count events - Unskip the test suite - Remove the suite from the `on-merge` pipeline - Add a dedicated pipeline to run the tests daily
Summary
Part of https://github.com/elastic/kibana-team/issues/1271
This PR introduces the first set of end to end integration test for the inference APIs, and the tooling required to do so (see issue for more context)
ci:all-gen-ai-suites
label is present on a PRftr_configs.sh
script to load GenAI connector configuration from vault when a specific var env is set@kbn/gen-ai-functional-testing
package, which for now only contains utilities to load the GenAI connector configuration in FTR testschatComplete
API of theinference
plugin