Skip to content

[AI Infra] Include error message when connector is not found#226910

Merged
spong merged 3 commits intoelastic:mainfrom
spong:inference-logging
Jul 8, 2025
Merged

[AI Infra] Include error message when connector is not found#226910
spong merged 3 commits intoelastic:mainfrom
spong:inference-logging

Conversation

@spong
Copy link
Copy Markdown
Member

@spong spong commented Jul 7, 2025

Summary

Improves error logging when fetching connector to include the actual error message to better debug the ongoing issue outlined in #225711

@spong spong self-assigned this Jul 7, 2025
@spong spong added v9.1.0 v8.19.0 v8.18.4 release_note:skip Skip the PR/issue when compiling release notes labels Jul 7, 2025
@spong spong marked this pull request as ready for review July 7, 2025 23:43
@spong spong requested a review from a team as a code owner July 7, 2025 23:43
@spong spong added the backport:version Backport to applied version labels label Jul 7, 2025
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Jul 8, 2025

💔 Build Failed

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #18 / getConnectorById throws if actionsClient.get throws
  • [job] [logs] Jest Tests #18 / getConnectorById throws if actionsClient.get throws
  • [job] [logs] AppEx AI-Infra Inference APIs FTR tests / Inference plugin - API integration tests Connector azure-gpt4 chatComplete API streaming disabled returns an error with the expected shape in case of error
  • [job] [logs] AppEx AI-Infra Inference APIs FTR tests / Inference plugin - API integration tests Connector azure-gpt4 chatComplete API streaming disabled returns an error with the expected shape in case of error

Metrics [docs]

✅ unchanged

History

cc @spong

@peteharverson peteharverson requested a review from darnautov July 8, 2025 09:43
@spong spong merged commit 8296c4c into elastic:main Jul 8, 2025
13 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.18, 8.19, 9.1

https://github.com/elastic/kibana/actions/runs/16144375489

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 8, 2025
…#226910)

## Summary

Improves error logging when fetching connector to include the actual
error message to better debug the ongoing issue outlined in
elastic#225711

(cherry picked from commit 8296c4c)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 8, 2025
…#226910)

## Summary

Improves error logging when fetching connector to include the actual
error message to better debug the ongoing issue outlined in
elastic#225711

(cherry picked from commit 8296c4c)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 8, 2025
…#226910)

## Summary

Improves error logging when fetching connector to include the actual
error message to better debug the ongoing issue outlined in
elastic#225711

(cherry picked from commit 8296c4c)
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
8.18
8.19
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 8, 2025
…226910) (#227032)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[AI Infra] Include error message when connector is not found
(#226910)](#226910)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Garrett
Spong","email":"spong@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-08T13:18:15Z","message":"[AI
Infra] Include error message when connector is not found (#226910)\n\n##
Summary\n\nImproves error logging when fetching connector to include the
actual\nerror message to better debug the ongoing issue outlined
in\nhttps://github.com//issues/225711","sha":"8296c4cf88cffc59c203c51851347c17c22dc41d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4"],"title":"[AI
Infra] Include error message when connector is not
found","number":226910,"url":"https://github.com/elastic/kibana/pull/226910","mergeCommit":{"message":"[AI
Infra] Include error message when connector is not found (#226910)\n\n##
Summary\n\nImproves error logging when fetching connector to include the
actual\nerror message to better debug the ongoing issue outlined
in\nhttps://github.com//issues/225711","sha":"8296c4cf88cffc59c203c51851347c17c22dc41d"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","8.18"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226910","number":226910,"mergeCommit":{"message":"[AI
Infra] Include error message when connector is not found (#226910)\n\n##
Summary\n\nImproves error logging when fetching connector to include the
actual\nerror message to better debug the ongoing issue outlined
in\nhttps://github.com//issues/225711","sha":"8296c4cf88cffc59c203c51851347c17c22dc41d"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 8, 2025
…226910) (#227031)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[AI Infra] Include error message when connector is not found
(#226910)](#226910)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Garrett
Spong","email":"spong@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-08T13:18:15Z","message":"[AI
Infra] Include error message when connector is not found (#226910)\n\n##
Summary\n\nImproves error logging when fetching connector to include the
actual\nerror message to better debug the ongoing issue outlined
in\nhttps://github.com//issues/225711","sha":"8296c4cf88cffc59c203c51851347c17c22dc41d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4"],"title":"[AI
Infra] Include error message when connector is not
found","number":226910,"url":"https://github.com/elastic/kibana/pull/226910","mergeCommit":{"message":"[AI
Infra] Include error message when connector is not found (#226910)\n\n##
Summary\n\nImproves error logging when fetching connector to include the
actual\nerror message to better debug the ongoing issue outlined
in\nhttps://github.com//issues/225711","sha":"8296c4cf88cffc59c203c51851347c17c22dc41d"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","8.18"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226910","number":226910,"mergeCommit":{"message":"[AI
Infra] Include error message when connector is not found (#226910)\n\n##
Summary\n\nImproves error logging when fetching connector to include the
actual\nerror message to better debug the ongoing issue outlined
in\nhttps://github.com//issues/225711","sha":"8296c4cf88cffc59c203c51851347c17c22dc41d"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Jul 8, 2025
…226910) (#227030)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[AI Infra] Include error message when connector is not found
(#226910)](#226910)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Garrett
Spong","email":"spong@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-07-08T13:18:15Z","message":"[AI
Infra] Include error message when connector is not found (#226910)\n\n##
Summary\n\nImproves error logging when fetching connector to include the
actual\nerror message to better debug the ongoing issue outlined
in\nhttps://github.com//issues/225711","sha":"8296c4cf88cffc59c203c51851347c17c22dc41d","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4"],"title":"[AI
Infra] Include error message when connector is not
found","number":226910,"url":"https://github.com/elastic/kibana/pull/226910","mergeCommit":{"message":"[AI
Infra] Include error message when connector is not found (#226910)\n\n##
Summary\n\nImproves error logging when fetching connector to include the
actual\nerror message to better debug the ongoing issue outlined
in\nhttps://github.com//issues/225711","sha":"8296c4cf88cffc59c203c51851347c17c22dc41d"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","8.18"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226910","number":226910,"mergeCommit":{"message":"[AI
Infra] Include error message when connector is not found (#226910)\n\n##
Summary\n\nImproves error logging when fetching connector to include the
actual\nerror message to better debug the ongoing issue outlined
in\nhttps://github.com//issues/225711","sha":"8296c4cf88cffc59c203c51851347c17c22dc41d"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
…#226910)

## Summary

Improves error logging when fetching connector to include the actual
error message to better debug the ongoing issue outlined in
elastic#225711
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes v8.18.4 v8.19.0 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants