From 15ac955a57ad0ab5858ad05139c219519b199ecb Mon Sep 17 00:00:00 2001 From: "Joseph T. French" Date: Fri, 12 Jun 2026 19:09:27 -0500 Subject: [PATCH 1/2] chore(create-feature): default branch creation to no dep update 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. --- bin/create-feature.sh | 6 ++++-- justfile | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/create-feature.sh b/bin/create-feature.sh index 870c02e..946123c 100755 --- a/bin/create-feature.sh +++ b/bin/create-feature.sh @@ -9,7 +9,7 @@ set -e BRANCH_TYPE=${1:-feature} BRANCH_NAME=${2:-} BASE_BRANCH=${3:-main} -UPDATE_DEPS=${4:-yes} +UPDATE_DEPS=${4:-no} # Validate branch type if [[ "$BRANCH_TYPE" != "feature" && "$BRANCH_TYPE" != "bugfix" && "$BRANCH_TYPE" != "hotfix" && "$BRANCH_TYPE" != "chore" && "$BRANCH_TYPE" != "refactor" ]]; then @@ -80,7 +80,9 @@ git push -u origin $FULL_BRANCH echo "" echo "🎉 Successfully created and checked out $FULL_BRANCH" -# Update dependencies if requested (default: yes) +# Update dependencies only when explicitly requested (default: no). +# Pass "yes" as the 4th arg to refresh deps on the new branch; otherwise +# branch creation leaves the lockfile untouched. if [[ "$UPDATE_DEPS" == "yes" ]]; then echo "" echo "📦 Updating dependencies..." diff --git a/justfile b/justfile index 7e9014f..d7fc96c 100644 --- a/justfile +++ b/justfile @@ -52,7 +52,7 @@ build-package: python -m build # Create a feature branch -create-feature branch_type="feature" branch_name="" base_branch="main" update="yes": +create-feature branch_type="feature" branch_name="" base_branch="main" update="no": bin/create-feature.sh {{branch_type}} {{branch_name}} {{base_branch}} {{update}} # Version management From 2e03c85cebf39e7876f9f6b85e2dc6ba145647f1 Mon Sep 17 00:00:00 2001 From: "Joseph T. French" Date: Fri, 12 Jun 2026 19:14:28 -0500 Subject: [PATCH 2/2] chore(create-feature): default VS Code task to no dep update MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .vscode/tasks.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1ddfd14..25d508d 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -118,7 +118,7 @@ "id": "updateDependencies", "type": "pickString", "description": "Update dependencies after creating branch:", - "default": "yes", + "default": "no", "options": ["yes", "no"] }, {