Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
chore(test): Update integration test snapshots
Maximilian Roos225c721e75ec
diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snap.new b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snap.newdeleted file mode 100644index da9ffbd5a..000000000--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_bash.snap.new+++ /dev/null@@ -1,20 +0,0 @@-----source: tests/integration_tests/shell_wrapper.rs-assertion_line: 717-expression: output.normalized().as_ref()-----π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mecho [32m'β Code formatting check passed'--β Code formatting check passed--π [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mecho [32m'β Test suite failed: 3 tests failing' [36m&& [1m[34mexit 1--β Test suite failed: 3 tests failing-β [31mPre-merge command failed: [1m[31mtest[0m[0m--Command failed with exit code: exit status: 1--π‘ [2mUse --no-hooks to skip pre-merge commands[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_fish.snap.new b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_fish.snap.newdeleted file mode 100644index 9673315c0..000000000--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_fish.snap.new+++ /dev/null@@ -1,19 +0,0 @@-----source: tests/integration_tests/shell_wrapper.rs-assertion_line: 717-expression: output.normalized().as_ref()-----π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mecho [32m'β Code formatting check passed'--β Code formatting check passed-π [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mecho [32m'β Test suite failed: 3 tests failing' [36m&& [1m[34mexit 1--β Test suite failed: 3 tests failing-β [31mPre-merge command failed: [1m[31mtest[0m[0m--Command failed with exit code: exit status: 1--π‘ [2mUse --no-hooks to skip pre-merge commands[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snap.new b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snap.newdeleted file mode 100644index ebd4c339f..000000000--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_failure_zsh.snap.new+++ /dev/null@@ -1,19 +0,0 @@-----source: tests/integration_tests/shell_wrapper.rs-assertion_line: 717-expression: output.normalized().as_ref()-----β Code formatting check passed-β Test suite failed: 3 tests failing-β [31mPre-merge command failed: [1m[31mtest[0m[0m--Command failed with exit code: exit status: 1--π‘ [2mUse --no-hooks to skip pre-merge commands[0m-π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mecho [32m'β Code formatting check passed'---π [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mecho [32m'β Test suite failed: 3 tests failing' [36m&& [1m[34mexit 1diff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap.new b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap.newdeleted file mode 100644index bee47d583..000000000--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_bash.snap.new+++ /dev/null@@ -1,32 +0,0 @@-----source: tests/integration_tests/shell_wrapper.rs-assertion_line: 637-expression: output.normalized().as_ref()-----π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mecho [32m'β Code formatting check passed'--β Code formatting check passed--π [36mRunning pre-merge: [1mlint[0m[0m-[40m [0m [1m[34mecho [32m'β Linting passed - no warnings'--β Linting passed - no warnings--π [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mecho [32m'β All 47 tests passed in 2.3s'--β All 47 tests passed in 2.3s--π [36mMerging 1 commit to [1m[36mmain[0m[0m @ [2md067f01[0m--* [33md067f01[m[33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature-- feature.txt | 1 [32m+[m- 1 file changed, 1 insertion(+)--β [32mMerged to [1m[32mmain[0m (1 commit, 1 file, [32m+1[0m) [0m-π [36mCleaning up worktree...[0m--β [32mReturned to primary at [2m[TMPDIR]/test-repo[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_fish.snap.new b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_fish.snap.newdeleted file mode 100644index e9aab353e..000000000--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_fish.snap.new+++ /dev/null@@ -1,28 +0,0 @@-----source: tests/integration_tests/shell_wrapper.rs-assertion_line: 637-expression: output.normalized().as_ref()-----π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mecho [32m'β Code formatting check passed'--β Code formatting check passed-π [36mRunning pre-merge: [1mlint[0m[0m-[40m [0m [1m[34mecho [32m'β Linting passed - no warnings'--β Linting passed - no warnings-π [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mecho [32m'β All 47 tests passed in 2.3s'--β All 47 tests passed in 2.3s-π [36mMerging 1 commit to [1m[36mmain[0m[0m @ [2md067f01[0m--* [33md067f01[m[33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature-- feature.txt | 1 [32m+[m- 1 file changed, 1 insertion(+)--β [32mMerged to [1m[32mmain[0m (1 commit, 1 file, [32m+1[0m) [0m-π [36mCleaning up worktree...[0m-β [32mReturned to primary at [2m[TMPDIR]/test-repo[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap.new b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap.newdeleted file mode 100644index c9aaaa649..000000000--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__merge_with_pre_merge_success_zsh.snap.new+++ /dev/null@@ -1,32 +0,0 @@-----source: tests/integration_tests/shell_wrapper.rs-assertion_line: 637-expression: output.normalized().as_ref()-----β Code formatting check passed-β Linting passed - no warnings-β All 47 tests passed in 2.3s-π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mecho [32m'β Code formatting check passed'---π [36mRunning pre-merge: [1mlint[0m[0m-[40m [0m [1m[34mecho [32m'β Linting passed - no warnings'---π [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mecho [32m'β All 47 tests passed in 2.3s'---π [36mMerging 1 commit to [1m[36mmain[0m[0m @ [2md067f01[0m--* [33md067f01[m[33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature-- feature.txt | 1 [32m+[m- 1 file changed, 1 insertion(+)--β [32mMerged to [1m[32mmain[0m (1 commit, 1 file, [32m+1[0m) [0m-π [36mCleaning up worktree...[0m--β [32mReturned to primary at [2m[TMPDIR]/test-repo[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snap.new b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snap.newdeleted file mode 100644index 67045b929..000000000--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_bash.snap.new+++ /dev/null@@ -1,22 +0,0 @@-----source: tests/integration_tests/shell_wrapper.rs-assertion_line: 551-expression: output.normalized().as_ref()-----π [36mRunning post-create: [1m1[0m[0m-[40m [0m [1m[34mecho [32m'Installing dependencies...'--Installing dependencies...--π [36mRunning post-create: [1m2[0m[0m-[40m [0m [1m[34mecho [32m'Building project...'--Building project...--π [36mRunning post-start: [1mserver[0m[0m-[40m [0m [1m[34mecho [32m'Starting dev server on port 3000'--π [36mRunning post-start: [1mwatch[0m[0m-[40m [0m [1m[34mecho [32m'Watching for file changes'--β [32mCreated new worktree for [1m[32mfeature-hooks[0m, changed directory to [2m[TMPDIR]/test-repo.feature-hooks[0m[0mdiff --git a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap.new b/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap.newdeleted file mode 100644index a384736c9..000000000--- a/tests/integration_tests/snapshots/integration__integration_tests__shell_wrapper__tests__switch_with_hooks_zsh.snap.new+++ /dev/null@@ -1,22 +0,0 @@-----source: tests/integration_tests/shell_wrapper.rs-assertion_line: 551-expression: output.normalized().as_ref()-----Installing dependencies...-Building project...-π [36mRunning post-create: [1m1[0m[0m-[40m [0m [1m[34mecho [32m'Installing dependencies...'---π [36mRunning post-create: [1m2[0m[0m-[40m [0m [1m[34mecho [32m'Building project...'---π [36mRunning post-start: [1mserver[0m[0m-[40m [0m [1m[34mecho [32m'Starting dev server on port 3000'--π [36mRunning post-start: [1mwatch[0m[0m-[40m [0m [1m[34mecho [32m'Watching for file changes'--β [32mCreated new worktree for [1m[32mfeature-hooks[0m, changed directory to [2m[TMPDIR]/test-repo.feature-hooks[0m[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap.new b/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap.newdeleted file mode 100644index 01ea7d111..000000000--- a/tests/snapshots/integration__integration_tests__merge__merge_post_merge_command_named.snap.new+++ /dev/null@@ -1,45 +0,0 @@-----source: tests/integration_tests/merge.rs-assertion_line: 12-info:- program: wt- args:- - merge- - main- - "--force"- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpZuDvi6/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mMerging 1 commit to [1m[36mmain[0m[0m @ [SHA]--* [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature file-- feature.txt | 1 [32m+[m- 1 file changed, 1 insertion(+)--β [32mMerged to [1m[32mmain[0m (1 commit, 1 file, [32m+1[0m) [0m-π [36mCleaning up worktree...[0m--β [32mReturned to primary at [2m[REPO][0m[0m-π [36mRunning post-merge: [1mdeploy[0m[0m-[40m [0m [1m[34mecho [32m'Deploying branch feature' [36m> deploy.txt--π [36mRunning post-merge: [1mnotify[0m[0m-[40m [0m [1m[34mecho [32m'Merge to main complete' [36m> notify.txt-------- stderr -----diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap.new b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap.newdeleted file mode 100644index 3a6eb9e32..000000000--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_failure.snap.new+++ /dev/null@@ -1,35 +0,0 @@-----source: tests/integration_tests/merge.rs-assertion_line: 12-info:- program: wt- args:- - merge- - main- - "--force"- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpUsIoJF/test-config.toml-----success: false-exit_code: 1------ stdout ------π [36mRunning pre-commit:[0m-[40m [0m [1m[34mexit 1-------- stderr ------β [31mPre-commit command failed[0m--Command failed with exit code: exit status: 1--π‘ [2mUse --no-hooks to skip pre-commit commands[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap.new b/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap.newdeleted file mode 100644index e358c9286..000000000--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_commit_command_success.snap.new+++ /dev/null@@ -1,49 +0,0 @@-----source: tests/integration_tests/merge.rs-assertion_line: 12-info:- program: wt- args:- - merge- - main- - "--force"- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpUEoQg8/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRunning pre-commit:[0m-[40m [0m [1m[34mecho [32m'Pre-commit check passed'--π [36mCommitting changes...[0m (1 file, [32m+1[0m)-π [36mGenerating commit message...[0m-π‘ [2mUsing fallback commit message. Run 'wt config help' to configure LLM-generated messages[0m-[40m [0m [1mWIP: Auto-commit before merge[0m--β [32mCommitted changes[0m @ [SHA]-π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mMerging 1 commit to [1m[36mmain[0m[0m @ [SHA]--* [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m WIP: Auto-commit before merge-- feature.txt | 1 [32m+[m- 1 file changed, 1 insertion(+)--β [32mMerged to [1m[32mmain[0m (1 commit, 1 file, [32m+1[0m) [0m-π [36mCleaning up worktree...[0m--β [32mReturned to primary at [2m[REPO][0m[0m------- stderr ------Pre-commit check passeddiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_combined_output.snap.new b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_combined_output.snap.newdeleted file mode 100644index 442e4991d..000000000--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_combined_output.snap.new+++ /dev/null@@ -1,28 +0,0 @@-----source: tests/integration_tests/merge.rs-assertion_line: 1170-expression: output-----Exit code: 0-π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mRunning pre-merge: [1mfirst[0m[0m-[40m [0m [1m[34mecho [32m'STDOUT-FROM-FIRST' [36m&& [1m[34mecho [32m'STDERR-FROM-FIRST' >&2--STDOUT-FROM-FIRST-STDERR-FROM-FIRST-π [36mRunning pre-merge: [1msecond[0m[0m-[40m [0m [1m[34mecho [32m'STDOUT-FROM-SECOND' [36m&& [1m[34mecho [32m'STDERR-FROM-SECOND' >&2--STDOUT-FROM-SECOND-STDERR-FROM-SECOND-π [36mMerging 1 commit to [1m[36mmain[0m[0m @ [SHA]--* [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature file-- feature.txt | 1 [32m+[m- 1 file changed, 1 insertion(+)--β [32mMerged to [1m[32mmain[0m (1 commit, 1 file, [32m+1[0m) [0m-π [36mCleaning up worktree...[0m--β [32mReturned to primary at [2m[REPO][0m[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap.new b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap.newdeleted file mode 100644index d8254ad0f..000000000--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_named.snap.new+++ /dev/null@@ -1,48 +0,0 @@-----source: tests/integration_tests/merge.rs-assertion_line: 12-info:- program: wt- args:- - merge- - main- - "--force"- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpcFiU4y/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mRunning pre-merge: [1mformat[0m[0m-[40m [0m [1m[34mexit 0--π [36mRunning pre-merge: [1mlint[0m[0m-[40m [0m [1m[34mexit 0--π [36mRunning pre-merge: [1mtest[0m[0m-[40m [0m [1m[34mexit 0--π [36mMerging 1 commit to [1m[36mmain[0m[0m @ [SHA]--* [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature file-- feature.txt | 1 [32m+[m- 1 file changed, 1 insertion(+)--β [32mMerged to [1m[32mmain[0m (1 commit, 1 file, [32m+1[0m) [0m-π [36mCleaning up worktree...[0m--β [32mReturned to primary at [2m[REPO][0m[0m------- stderr -----diff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_stdout_stderr_ordering.snap.new b/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_stdout_stderr_ordering.snap.newdeleted file mode 100644index ad98787fe..000000000--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_merge_command_stdout_stderr_ordering.snap.new+++ /dev/null@@ -1,61 +0,0 @@-----source: tests/integration_tests/merge.rs-assertion_line: 12-info:- program: wt- args:- - merge- - main- - "--force"- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmprPYyIK/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mRunning pre-merge: [1mcheck1[0m[0m-[40m [0m [1m[34m[PROJECT_ROOT]/tests/fixtures/mixed-output.sh check1 3--π [36mRunning pre-merge: [1mcheck2[0m[0m-[40m [0m [1m[34m[PROJECT_ROOT]/tests/fixtures/mixed-output.sh check2 3--π [36mMerging 1 commit to [1m[36mmain[0m[0m @ [SHA]--* [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature file-- feature.txt | 1 [32m+[m- 1 file changed, 1 insertion(+)--β [32mMerged to [1m[32mmain[0m (1 commit, 1 file, [32m+1[0m) [0m-π [36mCleaning up worktree...[0m--β [32mReturned to primary at [2m[REPO][0m[0m------- stderr ------[check1] stdout line 1-[check1] stderr line 1-[check1] stdout line 2-[check1] stderr line 2-[check1] stdout line 3-[check1] stderr line 3-[check1] stdout complete-[check1] stderr complete-[check2] stdout line 1-[check2] stderr line 1-[check2] stdout line 2-[check2] stderr line 2-[check2] stdout line 3-[check2] stderr line 3-[check2] stdout complete-[check2] stderr completediff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap.new b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap.newdeleted file mode 100644index d3222cfb9..000000000--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_failure.snap.new+++ /dev/null@@ -1,36 +0,0 @@-----source: tests/integration_tests/merge.rs-assertion_line: 12-info:- program: wt- args:- - merge- - main- - "--squash"- - "--force"- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpRQAFh9/test-config.toml-----success: false-exit_code: 1------ stdout ------π [36mRunning pre-squash:[0m-[40m [0m [1m[34mexit 1-------- stderr ------β [31mPre-squash command failed[0m--Command failed with exit code: exit status: 1--π‘ [2mUse --no-hooks to skip pre-squash commands[0mdiff --git a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap.new b/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap.newdeleted file mode 100644index 810018b30..000000000--- a/tests/snapshots/integration__integration_tests__merge__merge_pre_squash_command_success.snap.new+++ /dev/null@@ -1,45 +0,0 @@-----source: tests/integration_tests/merge.rs-assertion_line: 12-info:- program: wt- args:- - merge- - main- - "--squash"- - "--force"- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpIFsLTm/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRunning pre-squash:[0m-[40m [0m [1m[34mecho [32m'Pre-squash check passed'--π‘ [2mOnly 1 commit since [1m[36mmain[0m - no squashing needed[0m-π [36mRebasing onto [1m[36mmain[0m...[0m-π [36mMerging 1 commit to [1m[36mmain[0m[0m @ [SHA]--* [SHA][33m ([m[1;36mHEAD[m[33m -> [m[1;32mfeature[m[33m)[m Add feature file-- feature.txt | 1 [32m+[m- 1 file changed, 1 insertion(+)--β [32mMerged to [1m[32mmain[0m (1 commit, 1 file, [32m+1[0m) [0m-π [36mCleaning up worktree...[0m--β [32mReturned to primary at [2m[REPO][0m[0m------- stderr ------Pre-squash check passeddiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap.newdeleted file mode 100644index 0829721b8..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__both_create_and_start.snap.new+++ /dev/null@@ -1,36 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 27-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpWmBtPo/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRunning post-create:[0m-[40m [0m [1m[34mecho [32m'Setup done' [36m> setup.txt--π [36mRunning post-start: [1mserver[0m[0m-[40m [0m [1m[34msleep 0.5 [36m&& [1m[34mecho [32m'Server running' [36m> server.txt--β [32mCreated new worktree for [1m[32mfeature[0m at [2m[REPO].feature[0m[0m--To enable automatic cd, run: wt config shell------- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap.newdeleted file mode 100644index 047a11a9a..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_multiple_commands_array.snap.new+++ /dev/null@@ -1,38 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 27-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpYONNMI/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRunning post-create: [1m1[0m[0m-[40m [0m [1m[34mecho [32m'First'--π [36mRunning post-create: [1m2[0m[0m-[40m [0m [1m[34mecho [32m'Second'--β [32mCreated new worktree for [1m[32mfeature[0m at [2m[REPO].feature[0m[0m--To enable automatic cd, run: wt config shell------- stderr ------First-Seconddiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap.newdeleted file mode 100644index 74b05eb9a..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_named_commands.snap.new+++ /dev/null@@ -1,38 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 27-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp05xeYK/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRunning post-create: [1minstall[0m[0m-[40m [0m [1m[34mecho [32m'Installing deps'--π [36mRunning post-create: [1msetup[0m[0m-[40m [0m [1m[34mecho [32m'Running setup'--β [32mCreated new worktree for [1m[32mfeature[0m at [2m[REPO].feature[0m[0m--To enable automatic cd, run: wt config shell------- stderr ------Installing deps-Running setupdiff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap.newdeleted file mode 100644index 1181d9392..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_create_template_expansion.snap.new+++ /dev/null@@ -1,42 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 27-info:- program: wt- args:- - switch- - "--create"- - feature/test- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmp3Blgxf/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRunning post-create: [1m1[0m[0m-[40m [0m [1m[34mecho [32m'Repo: test-repo' [36m> info.txt--π [36mRunning post-create: [1m2[0m[0m-[40m [0m [1m[34mecho [32m'Branch: feature-test' [36m>> info.txt--π [36mRunning post-create: [1m3[0m[0m-[40m [0m [1m[34mecho [32m'Worktree: [REPO].feature-test' [36m>> info.txt--π [36mRunning post-create: [1m4[0m[0m-[40m [0m [1m[34mecho [32m'Root: [REPO]' [36m>> info.txt--β [32mCreated new worktree for [1m[32mfeature/test[0m at [2m[REPO].feature-test[0m[0m--To enable automatic cd, run: wt config shell------- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap.newdeleted file mode 100644index 703ac33d6..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_multiple_background.snap.new+++ /dev/null@@ -1,36 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 27-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpGxLWwc/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRunning post-start: [1mtask1[0m[0m-[40m [0m [1m[34mecho [32m'Task 1 running' [36m> task1.txt--π [36mRunning post-start: [1mtask2[0m[0m-[40m [0m [1m[34mecho [32m'Task 2 running' [36m> task2.txt--β [32mCreated new worktree for [1m[32mfeature[0m at [2m[REPO].feature[0m[0m--To enable automatic cd, run: wt config shell------- stderr -----diff --git a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap.new b/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap.newdeleted file mode 100644index c09d21fee..000000000--- a/tests/snapshots/integration__integration_tests__post_start_commands__post_start_separate_logs.snap.new+++ /dev/null@@ -1,39 +0,0 @@-----source: tests/integration_tests/post_start_commands.rs-assertion_line: 27-info:- program: wt- args:- - switch- - "--create"- - feature- env:- CLICOLOR_FORCE: "1"- COLUMNS: "150"- GIT_AUTHOR_DATE: "2025-01-01T00:00:00Z"- GIT_COMMITTER_DATE: "2025-01-01T00:00:00Z"- GIT_CONFIG_GLOBAL: /dev/null- GIT_CONFIG_SYSTEM: /dev/null- GIT_EDITOR: ""- LANG: C- LC_ALL: C- SOURCE_DATE_EPOCH: "1761609600"- WORKTRUNK_CONFIG_PATH: /var/folders/wf/s6ycxvvs4ln8qsdbfx40hnc40000gn/T/.tmpZkaPxN/test-config.toml-----success: true-exit_code: 0------ stdout ------π [36mRunning post-start: [1mtask1[0m[0m-[40m [0m [1m[34mecho [32m'TASK1_OUTPUT'--π [36mRunning post-start: [1mtask2[0m[0m-[40m [0m [1m[34mecho [32m'TASK2_OUTPUT'--π [36mRunning post-start: [1mtask3[0m[0m-[40m [0m [1m[34mecho [32m'TASK3_OUTPUT'--β [32mCreated new worktree for [1m[32mfeature[0m at [2m[REPO].feature[0m[0m--To enable automatic cd, run: wt config shell------- stderr -----