Repository navigation
docs: refresh comments left stale by recent list perf changes - #4293
Merged
Merged
Conversation
max-sixty
enabled auto-merge (squash)
September 27, 2026 06:52
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.
Four comments no longer matched the code after yesterday's
wt listperf work. This PR changes only comments, no behavior.src/commands/list/collect/mod.rs: the stale-default-branch note said the picker skips the local branch inventory (fix: Remove PATH leak from snapshot tests #5) when branches are hidden, so it can fork onefor-each-ref. Since perf(list): build the ref snapshot from the branch inventories #4290, the first scan phase primesrepo.local_branches()unconditionally. The check reads the cached inventory, so it never forks.src/commands/list/ci_status/mod.rs:detect_uncachedsaid "PR/MR detection always runs". Since perf(list): skip the PR/MR lookup for branches never pushed #4289,platform::detect_ciskips the lookup for a branch that was never pushed (may_head_pr).tests/integration_tests/push.rs: a test doc namedfinalize_worktree, which perf(list): settle picker rows top-down and fork rebase lookups concurrently #4286 renamed tofinalize_worktrees.src/shell_exec.rs:Cmd::run_concurrentlysaid at mostmax_concurrent_commands()children run at once. A background batch takes a single semaphore permit while other threads hold the rest, so the cap holds per batch, not per process. The comment now says so.No test accompanies this, since only comments change.