chore(create-feature): default branch creation to no dep update#129
Merged
Conversation
Branch creation ran 'just update' by default (UPDATE_DEPS=yes), refreshing the lockfile on every new branch and sweeping unrelated dependency churn into focused branches. Flip the default to 'no' in both the script and the justfile recipe; pass 'yes' as the 4th arg to opt into a dependency refresh when intended.
The Create Feature task passes ${input:updateDependencies} explicitly,
and that picker defaulted to 'yes' — overriding the script default and
pre-selecting a dependency refresh on branch creation. Flip the input
default to 'no' to match the CLI; 'yes' stays selectable.
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.
What
Default
create-featureto NOT refresh dependencies on branch creation.Why
Branch creation ran
just updateby default, refreshing the lockfile on every new branch and sweeping unrelated dependency churn into focused branches.Change
bin/create-feature.sh:UPDATE_DEPS=${4:-no}(wasyes) + clarified the guard commentjustfile: recipe defaultupdate="no"(was"yes").vscode/tasks.json: Create Feature task'supdateDependenciespicker defaults tonoPass
yesas the 4th arg to opt into a dependency refresh when intended:just create-feature feature my-branch main yesMirrors the same fix applied across the RoboSystems repos.