Skip to content

docs(output): align concurrent.rs signal-handling comments with #3075 - #3092

Merged
max-sixty merged 1 commit into
mainfrom
nightly/concurrent-docs-27604141107
Jun 16, 2026
Merged

max-sixty merged 1 commit into
mainfrom
nightly/concurrent-docs-27604141107

Conversation

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

#3075 removed the per-pgroup escalation chain (SIGINT → SIGTERM → SIGKILL with grace windows) in signal_forwarder.rs and replaced it with the simpler "forward once, escalate to SIGKILL on the second user press" model. Three docstrings in src/output/concurrent.rs still described the old chain:

  • Module-level docstring's signal-handling paragraph
  • The override-block comment above override_with_originating_signal(...) in run_concurrent_commands
  • The doc-comment on override_with_originating_signal itself

Comment-only change. The override function's behavior is unchanged (still translates a SIGKILL-from-second-press into the user's originating signal so wt's exit code stays 130, not 137); only the prose describing why and when it kicks in is updated.

Found during the nightly survey of src/output/concurrent.rs.

Test plan

  • Comment-only edit; no behavior change.

#3075 dropped the per-pgroup SIGINT → SIGTERM → SIGKILL escalation
chain; the module-level docstring, the override block comment, and the
`override_with_originating_signal` doc-comment still described the
old behavior. Update the prose to match the current 'forward once,
escalate to SIGKILL on the second user press' model.

Comment-only — no behavior change.
@worktrunk-bot worktrunk-bot added the nightly-cleanup Issues found by nightly code quality sweep label Jun 16, 2026
@max-sixty
max-sixty enabled auto-merge (squash) June 16, 2026 08:34
@max-sixty
max-sixty merged commit 36a5934 into main Jun 16, 2026
33 of 41 checks passed
@max-sixty
max-sixty deleted the nightly/concurrent-docs-27604141107 branch June 16, 2026 08:37
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