Add base FTR test coverage for inference APIs#198000
Merged
pgayvallet merged 36 commits intoelastic:mainfrom Dec 4, 2024
Merged
Add base FTR test coverage for inference APIs#198000pgayvallet merged 36 commits intoelastic:mainfrom
pgayvallet merged 36 commits intoelastic:mainfrom
Conversation
pgayvallet
commented
Oct 28, 2024
Contributor
Author
pgayvallet
left a comment
There was a problem hiding this comment.
quick comments for @pheyos
…e-integration-test
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
Author
|
/ci |
Contributor
|
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12159929564 |
Contributor
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
|
Contributor
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
Contributor
Author
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
pgayvallet
added a commit
to pgayvallet/kibana
that referenced
this pull request
Dec 4, 2024
## 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 <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 14ad13b) # Conflicts: # .buildkite/pipelines/on_merge.yml # .github/CODEOWNERS
Contributor
|
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. |
pgayvallet
added a commit
that referenced
this pull request
Dec 5, 2024
# 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":"pierre.gayvallet@elastic.co"},"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 <42973632+kibanamachine@users.noreply.github.com>","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 <42973632+kibanamachine@users.noreply.github.com>","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 <42973632+kibanamachine@users.noreply.github.com>","sha":"14ad13b6a3d7a87f4dfa9d7c1ed6c055242c9808"}},{"branch":"8.x","label":"v8.18.0","labelRegex":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
SoniaSanzV
pushed a commit
to SoniaSanzV/kibana
that referenced
this pull request
Dec 9, 2024
## 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 <42973632+kibanamachine@users.noreply.github.com>
pgayvallet
added a commit
that referenced
this pull request
Dec 9, 2024
## 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
pgayvallet
added a commit
to pgayvallet/kibana
that referenced
this pull request
Dec 9, 2024
## 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
CAWilson94
pushed a commit
to CAWilson94/kibana
that referenced
this pull request
Dec 12, 2024
## 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 <42973632+kibanamachine@users.noreply.github.com>
CAWilson94
pushed a commit
to CAWilson94/kibana
that referenced
this pull request
Dec 12, 2024
## 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
pgayvallet
added a commit
that referenced
this pull request
Nov 19, 2025
## Summary Fix elastic/search-team#11697 Inspired by #198000 Add basic "real LLM" smoke tests to make sure agent builder's basic functionalities are working as expected with our list of officially supported models. Smoke tests are triggered when the `agent-builder:run-smoke-tests` tag is present on the PR, or when any of the following code has changes: - the GenAI stack connectors - the `inference` plugin and packages - the agent builder plugin or packages This PR re-uses the set of "CI" LLM connectors which was introduced in #198000 for the AI-Infra inference tests.
andrimal
pushed a commit
to andrimal/kibana
that referenced
this pull request
Nov 20, 2025
## Summary Fix elastic/search-team#11697 Inspired by elastic#198000 Add basic "real LLM" smoke tests to make sure agent builder's basic functionalities are working as expected with our list of officially supported models. Smoke tests are triggered when the `agent-builder:run-smoke-tests` tag is present on the PR, or when any of the following code has changes: - the GenAI stack connectors - the `inference` plugin and packages - the agent builder plugin or packages This PR re-uses the set of "CI" LLM connectors which was introduced in elastic#198000 for the AI-Infra inference tests.
eokoneyo
pushed a commit
to eokoneyo/kibana
that referenced
this pull request
Dec 2, 2025
## Summary Fix elastic/search-team#11697 Inspired by elastic#198000 Add basic "real LLM" smoke tests to make sure agent builder's basic functionalities are working as expected with our list of officially supported models. Smoke tests are triggered when the `agent-builder:run-smoke-tests` tag is present on the PR, or when any of the following code has changes: - the GenAI stack connectors - the `inference` plugin and packages - the agent builder plugin or packages This PR re-uses the set of "CI" LLM connectors which was introduced in elastic#198000 for the AI-Infra inference tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-suiteslabel is present on a PRftr_configs.shscript to load GenAI connector configuration from vault when a specific var env is set@kbn/gen-ai-functional-testingpackage, which for now only contains utilities to load the GenAI connector configuration in FTR testschatCompleteAPI of theinferenceplugin