chore: Config Updates ( TOML / JSON / YAML )#205
Merged
Conversation
Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
ricochet
approved these changes
Dec 12, 2025
Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
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.
More config formats
This PR aligns wash config with its underlying crate: figment
With these changes, wash config:
.json, .yaml | .yml, .toml)CLI Context ( Execution Directory )
Instead of requiring each wash command to manage project path locations, we now centralize all project path operations in global arguments and follow similar gnutools expectations.
We take the current directory into account and try to find the
.washdirectory walking back the directory tree.If we can't find the project root, we use the current directory.
We also expose a
-Cflag where users can force a project path. This is useful in CI environments & situations where users cant change directories prior calling wash.Auto Update
Auto update file management was ☠️ . It would never expire the local cache, meaning you'd never be able to upgrade or refresh the cache ( as we don't provide a cache clear option ).
This PR makes is so the local cache for release-list is refreshed at most once in 24 hours.
Test fixes
We were changing the current directory in many parallel tests. This could cause tests to override each others files & fail.
integration_wit.rsnow executes tests in sequence.