Skip to content

Increase external ACR socket timeouts from 240s to 300s - #3141

Open
Akshay Kumar (kumaraksh1) wants to merge 1 commit into
mainfrom
users/kumaraksh/oryx-acr-sdk-timeout-300-20261120
Open

Akshay Kumar (kumaraksh1) wants to merge 1 commit into
mainfrom
users/kumaraksh/oryx-acr-sdk-timeout-300-20261120

Conversation

@kumaraksh1

Copy link
Copy Markdown
Contributor

Summary

Increase the Unix socket operation timeout from 240 seconds to 300 seconds in both external ACR providers:

  • ExternalAcrSdkProvider (pull-sdk).
  • ExternalAcrVersionProviderBase (get-version).

This draft is a proposed mitigation for slow external-provider responses, not a confirmed fix for all SDK failures. The request protocol, retry behavior, other providers, and host-side behavior are unchanged. An unsuccessful request can wait up to 60 seconds longer before provider fallback.

Validation

Existing ExternalAcrVersionProviderBaseTest and SocketRequestHelperTest tests: 7 passed on Windows. Unix-only socket round-trip paths return early on Windows and were not exercised. No new tests were added for this constant-only proposal. No end-to-end mitigation validation has been performed.

  • The purpose of this PR is explained above.
  • Tests are included and/or updated for code changes (existing focused tests executed; no new tests).
  • Proper license headers are included in each file.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 565c7095-bbab-411b-bc2b-0ac6db1b5601
@kumaraksh1
Akshay Kumar (kumaraksh1) marked this pull request as ready for review November 20, 2026 16:43
@kumaraksh1
Akshay Kumar (kumaraksh1) requested a review from a team as a code owner November 20, 2026 16:43

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we use 360s instead? 300s matches the LWASv2 registry img pull timeout exactly - so near-boundary responses may still time out. The extra 60s should provide us completion buffer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants