Skip to content

Add environment variable configuration for Excon timeouts and retry limit#14906

Open
yeikel wants to merge 1 commit intodependabot:mainfrom
yeikel:excon-env-var-configuration
Open

Add environment variable configuration for Excon timeouts and retry limit#14906
yeikel wants to merge 1 commit intodependabot:mainfrom
yeikel:excon-env-var-configuration

Conversation

@yeikel
Copy link
Copy Markdown
Contributor

@yeikel yeikel commented May 4, 2026

What are you trying to accomplish?

Allow to override Excon default timeout values and retry limits using environment variables. This provides flexibility for environments with slower networks or registries that require longer timeout periods.

Supported environment variables:

  • DEPENDABOT_EXCON_CONNECT_TIMEOUT_IN_SECONDS (default: 5)
  • DEPENDABOT_EXCON_WRITE_TIMEOUT_IN_SECONDS (default: 5)
  • DEPENDABOT_EXCON_READ_TIMEOUT_IN_SECONDS (default: 20)
  • DEPENDABOT_EXCON_RETRY_LIMIT (default: 4)

Anything you want to highlight for special attention from reviewers?

This is particularly useful when working on private, slower networks

Follows the pattern from PR #10359 for Docker timeout configuration.

How will you know you've accomplished your goal?

The new spec pass; it is now possible to overwrite the excon configuration using environment variables

Checklist

  • I have run the complete test suite to ensure all tests and linters pass.
  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.
  • I have written clear and descriptive commit messages.
  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.
  • I have ensured that the code is well-documented and easy to understand.

@yeikel yeikel marked this pull request as ready for review May 4, 2026 17:27
@yeikel yeikel requested a review from a team as a code owner May 4, 2026 17:27
@yeikel
Copy link
Copy Markdown
Contributor Author

yeikel commented May 4, 2026

@kbukum1 Please review if you get a chance. Thanks in advance

…imit

Allow operators to override Excon default timeout values and retry limits
using environment variables. This provides flexibility for environments with
slower networks or registries that require longer timeout periods.

Supported environment variables:
- DEPENDABOT_EXCON_CONNECT_TIMEOUT_IN_SECONDS (default: 5)
- DEPENDABOT_EXCON_WRITE_TIMEOUT_IN_SECONDS (default: 5)
- DEPENDABOT_EXCON_READ_TIMEOUT_IN_SECONDS (default: 20)
- DEPENDABOT_EXCON_RETRY_LIMIT (default: 4)

Follows the pattern from PR dependabot#10359 for Docker timeout configuration.
@yeikel yeikel force-pushed the excon-env-var-configuration branch from 8a29894 to 52923e5 Compare May 5, 2026 13:30
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.

1 participant