Skip to content

docs: correct comments left stale by recent step, diagnostic and merge changes - #4425

Merged
max-sixty merged 1 commit into
mainfrom
nightly/clean-38118827338-comments
Oct 11, 2026
Merged

max-sixty merged 1 commit into
mainfrom
nightly/clean-38118827338-comments

Conversation

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

Corrects internal comments and notes that recent changes left describing old behavior. No code behavior changes; the one test edit is a rename.

  • src/commands/for_each.rs — the module's design note listed step as holding only commit, squash, rebase, push and for-each. It now also has diff, copy-ignored, eval, promote, prune, relocate and tether, so the note describes the grouping without an inventory that goes stale again.
  • src/diagnostic.rs — the module doc's report outline named a "Verbose log" section; the template's section is "Trace log", and the outline omitted the "Raw subprocess output" section. write_diagnostic_file's doc named write_if_verbose() as its caller; the direct caller is write_diagnostic().
  • src/commands/merge.rs — after Add branch-addressed merge with --branch #4360 (wt merge --branch), post-switch is only planned when the source is the current worktree, but the comment said it always lands the user in the destination.
  • src/commands/run_pipeline.rs — signal_exit_reports_named_signal_and_shell_exit_code asserts killed by signal 15; the signal is no longer named since fix(process): retain command identity and native failure causes #4352, so the test is renamed to signal_exit_reports_signal_and_shell_exit_code.
  • .config/clawpatch/features/feat_custom_switch_resolve.json — the summary called PR/MR fetch "the one place" gh/glab is shelled out to. wt list CI status (src/commands/list/ci_status/) and the picker's PR rows also use them, and a review tool reading this summary could flag those as violations.
  • .gitignore — finishes a sentence in the clawpatch comment that ended "derived/transient and not."

Comment-only changes have no regression test; the renamed test passes locally.

@worktrunk-bot worktrunk-bot added the nightly-cleanup Issues found by nightly code quality sweep label Oct 11, 2026
@max-sixty
max-sixty merged commit 3a6e77a into main Oct 11, 2026
37 of 47 checks passed
@max-sixty
max-sixty deleted the nightly/clean-38118827338-comments branch October 11, 2026 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

nightly-cleanup Issues found by nightly code quality sweep

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants