Add configurable HTTP timeout for Bun and Tailwind CLI downloads#150
Merged
hayleigh-dot-dev merged 5 commits intoDec 26, 2025
Merged
Conversation
…executable downloads
Contributor
|
Thank you for this! Do you think you could use the approach that other config options are using by using the Could we also name the option just |
Contributor
Author
Contributor
Author
|
Hi @hayleigh-dot-dev just realized I forgot to follow up on this and ask if there were any further enhancements needed but just checking in! Happy holidays! |
… reflect changes. removed verbose logging
Contributor
Author
|
Resolved concerns regarding timeout logic, switching to seconds-level control instead of ms, and removed verbose console logging |
Contributor
|
Looks wicked, thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Exposes the HTTP request timeout used when downloading Bun and Tailwind as a cli flag and a toml config option under [tools.lustre.bin].
Fixes #149
Changes
[tools.lustre.bin].timeoutas the secondary location, defaulting to 60000ms if neither are present.Testing Methodology
Created a small Gleam project with lustre_dev_tools as a local dev-dependency.
Added to gleam.toml:
[tools.lustre.bin]
timeout = 120000
Ran:

gleam run -m lustre/dev add tailwind
gleam run -m lustre/dev add bun

Confirmed that configured timeout value was used by testing with timeout = 10, received ResponseTimeout error as expected:
