Skip to content

Add configurable timeout to CLI - #825

Open
garrettjstevens wants to merge 8 commits into
mainfrom
cli_timeout
Open

Add configurable timeout to CLI#825
garrettjstevens wants to merge 8 commits into
mainfrom
cli_timeout

Conversation

@garrettjstevens

Copy link
Copy Markdown
Contributor

Adds a --timeout flag to the CLI commands. Defaults to 1h, can be useful to set higher for commands expected to run for a long time.

Also refactors all fetching to happen in the base command so the usage of the timeout didn't have to be spread throughout the code.

@garrettjstevens garrettjstevens self-assigned this Aug 5, 2026
@garrettjstevens

Copy link
Copy Markdown
Contributor Author

Also includes some improvements to the CLI tests so they run in 8 minutes instead of 20 on CI.

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