Repository navigation
chore: correct stale docs and skill references to the trash drain and picker tabs - #4529
Merged
Merged
Conversation
… picker tabs - Troubleshooting: the list-timeout example now shows the task names the warning prints (`TaskKind::display_name`), and the config checklist no longer claims absolute paths are rejected. - `drain_trash` doc: drop the sentence describing the pre-#4516 behavior where every staged removal started a drain. - State module doc: the default-branch override key is `worktrunk.default-branch`. - The summary preview is picker tab 6, not 5. - release skill: point at `src/remove_dir.rs` as the densest destructive code outside `src/git/`, and add `unlinkat` to the keyword scan. - writing-user-outputs skill: `sweep_stale_trash` is now `run_internal_sweep`.
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.
This PR fixes comments, user docs, and maintainer skills that no longer match the code. There are no behavior changes. #4516 replaced the trash sweep, and several references still describe the old one. A few other docs were wrong before that.
wt listtimeout example: the warning printsTaskKind::display_name()labels (working-tree diff, working-tree conflict check), not the kebab-case names the example showed. The snapshot informat_drain_timeout_diag's tests uses the same labels.worktree-pathaccepts absolute paths.drain_trashdoc (src/git/remove.rs): dropped "Every staged removal starts a drain". That describes the behavior fix(remove): drain the trash with one background process per repository #4516 replaced. Removals now skip spawning when a drain is already running.worktrunk.default-branch, notworktrunk.default_branch.*.PreviewMode::Summary = 6, so the[list] summarydoc comment and a test comment now say tab 6 instead of 5.releaseskill: the safety-scan note named "the trash sweep insrc/commands/process.rs" as the densest destructive code outsidesrc/git/. That sweep now only spawns a drain; the deletion walk is insrc/remove_dir.rs, so the note points there.unlinkat, the walk's primitive, is added to the keyword regex, which would otherwise miss changes to it.writing-user-outputsskill:sweep_stale_trashis nowrun_internal_sweep.The plugin skills mirror was regenerated, and
test_docs_are_in_syncand theswitch_picker_dry_runtests pass. No regression test is needed because no behavior changed.