Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Add --dnd flag to insta test commands for do-not-disturb mode
Maximilian Roos811e16bf8c17
diff --git a/.config/wt.toml b/.config/wt.tomlindex 4689983d1..a2957e02b 100644--- a/.config/wt.toml+++ b/.config/wt.toml@@ -43,5 +43,5 @@ pre-commit = "pre-commit run --all-files"[pre-merge]# Build test helpers first (dev-detach isn't a compile-time dependency)build = "cargo build -p dev-detach"-insta = "NEXTEST_STATUS_LEVEL=fail NEXTEST_SUCCESS_OUTPUT=never cargo insta test --check --test-runner nextest --test-runner-fallback true --features shell-integration-tests"+insta = "NEXTEST_STATUS_LEVEL=fail NEXTEST_SUCCESS_OUTPUT=never cargo insta test --dnd --check --test-runner nextest --test-runner-fallback true --features shell-integration-tests"doc = "RUSTDOCFLAGS='-Dwarnings' cargo doc --no-deps"diff --git a/.github/workflows/claude.yaml b/.github/workflows/claude.yamlindex 5a3d2edf8..852ec2a8b 100644--- a/.github/workflows/claude.yaml+++ b/.github/workflows/claude.yaml@@ -79,7 +79,7 @@ jobs:--allowedTools Bash,Edit,Read,Write,Glob,Grep,WebSearch,WebFetch--system-prompt "You are helping with the worktrunk project in a GitHub Actions environment.Follow the project guidelines in CLAUDE.md.- After making changes, ensure tests pass with 'cargo insta test --test-runner=nextest' and lints with 'cargo clippy --all-targets --all-features -- -D warnings' and 'cargo fmt --all --check'.+ After making changes, ensure tests pass with 'cargo insta test --dnd --test-runner=nextest' and lints with 'cargo clippy --all-targets --all-features -- -D warnings' and 'cargo fmt --all --check'.For CI failure diagnosis:- Use 'gh run list' and 'gh run view' to check CI status@@ -91,7 +91,7 @@ jobs:- Don't return until we're confident that we've done everything we canAvailable test commands:- - 'cargo insta test --test-runner=nextest' - Run all tests with snapshot testing+ - 'cargo insta test --dnd --test-runner=nextest' - Run all tests with snapshot testing- 'cargo clippy --all-targets --all-features -- -D warnings' - Run linter- 'cargo fmt --all --check' - Check formatting- 'cargo doc --no-deps' - Build documentation