Skip to content

[inference] increase timeout for ES inference calls#260382

Merged
pgayvallet merged 1 commit intoelastic:mainfrom
pgayvallet:ab-xxx-inference-timeout-2
Mar 31, 2026
Merged

[inference] increase timeout for ES inference calls#260382
pgayvallet merged 1 commit intoelastic:mainfrom
pgayvallet:ab-xxx-inference-timeout-2

Conversation

@pgayvallet
Copy link
Copy Markdown
Contributor

Summary

Follow-up of #260267
Turns out, we also need to increase the ES call's timeout

@pgayvallet
Copy link
Copy Markdown
Contributor Author

/ci

@pgayvallet pgayvallet added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting v9.4.0 labels Mar 31, 2026
@pgayvallet pgayvallet marked this pull request as ready for review March 31, 2026 06:19
@pgayvallet pgayvallet requested review from a team as code owners March 31, 2026 06:19
@pgayvallet pgayvallet enabled auto-merge (squash) March 31, 2026 06:44
@pgayvallet pgayvallet merged commit 915ce7d into elastic:main Mar 31, 2026
29 checks passed
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Mar 31, 2026
Backports the stack_connectors changes from elastic#260267 and elastic#260382 to the
9.3 branch. Adds a 180s query-level timeout and 180s requestTimeout to
the ES inference chat_completion transport request.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
pgayvallet added a commit to pgayvallet/kibana that referenced this pull request Mar 31, 2026
Backports the stack_connectors changes from elastic#260267 and elastic#260382 to the
9.3 branch. Adds a 180s query-level timeout and 180s requestTimeout to
the ES inference chat_completion transport request.
mbondyra added a commit to mbondyra/kibana that referenced this pull request Mar 31, 2026
…e_for_children6

* commit '3402744f63ca1196e97b11ffac4e7f7efab240df': (80 commits)
  [PerUserAuth] Add EARS auth type for Connectors V2 (elastic#253695)
  Fix `@elastic/eui/require-aria-label-for-modals` lint violations across `@elastic/kibana-core` files (elastic#259757)
  [Entity Analytics][Leads generation][4] Add API routes, LeadDataClient, and async generation (elastic#257046)
  [Agent Builder] Agent-centric UX redesign (elastic#258005)
  fix query streams failing test (elastic#260277)
  [Lens as code] Add list layout to the new API (elastic#259967)
  [FTR] Add warning comments to deployment-agnostic FTR base configs (elastic#260018)
  [Discover][Logs profile] Fix missing search highlights (elastic#260056)
  Plugin system: safe deletion (elastic#259038)
  [Infra] Fix Hosts filter options to match selected schema (elastic#259825)
  Manual Entity Resolution and flyout representation (elastic#260162)
  [Cascade] Handle grouping on fields with unset values (elastic#260033)
  [Fleet] generate OTel config for integration packages with otelcol inputs (elastic#259968)
  [Search] Switch over to V2 index management details (elastic#259866)
  [inference] increase timeout for ES inference calls (elastic#260382)
  [ES|QL] Enable subqueries (elastic#257455)
  [ES|QL] Change Point order free options (elastic#260282)
  [Auth] Added authentication strategy for UIAM OAuth (elastic#256182)
  [Security Solution] Add "alerts_candidate_count" rule execution metric (elastic#259917)
  [api-docs] 2026-03-31 Daily api_docs build (elastic#260380)
  ...
pgayvallet added a commit that referenced this pull request Mar 31, 2026
## Summary

Backports the stack_connectors changes from #260267 and #260382 to the
9.3 branch.

- Adds `querystring: { timeout: '180s' }` to the ES inference
`chat_completion` transport request
- Adds `requestTimeout: 180_000` to the transport request options

The inference plugin changes from those PRs are not included as that
code doesn't exist on 9.3.

## Test plan

- [x] Unit tests pass (`inference.test.ts`)
jeramysoucy pushed a commit to jeramysoucy/kibana that referenced this pull request Apr 1, 2026
## Summary

Follow-up of elastic#260267
Turns out, we also need to increase the ES call's timeout
paulinashakirova pushed a commit to paulinashakirova/kibana that referenced this pull request Apr 2, 2026
## Summary

Follow-up of elastic#260267
Turns out, we also need to increase the ES call's timeout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants