Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

chore(picker): drop leftover references to removed timeout-ms (#2242)

Worktrunk Botc5b681fb3e19
diff --git a/src/commands/picker/mod.rs b/src/commands/picker/mod.rs
index b26b0c658..f815e78f0 100644
--- a/src/commands/picker/mod.rs
+++ b/src/commands/picker/mod.rs
@@ -314,7 +314,7 @@ pub fn handle_picker(
// Speculative warm-up: the picker sorts the current worktree first, and
// the default tab (WorkingTree = `git diff HEAD` in that worktree) is
// what skim will render first. Kicking this off before `collect::collect`
- // overlaps preview compute with list collection (up to 500ms budget).
+ // overlaps preview compute with list collection.
// The real spawn later skips this key via `contains_key`.
if let (Ok(Some(branch)), Ok(path)) = (
repo.current_worktree().branch(),
diff --git a/src/testing/mod.rs b/src/testing/mod.rs
index f565a5bc2..b619838ed 100644
--- a/src/testing/mod.rs
+++ b/src/testing/mod.rs
@@ -887,12 +887,6 @@ impl TestRepo {
"WORKTRUNK_APPROVALS_PATH".to_string(),
self.test_approvals_path().display().to_string(),
),
- // Disable picker collect timeout to prevent flaky snapshots on slow
- // CI runners (especially macOS).
- (
- "WORKTRUNK__SWITCH__PICKER__TIMEOUT_MS".to_string(),
- "0".to_string(),
- ),
]);
vars