Conversation
…ibutors-20260913 Welcome pull requests from all contributors
ianalitis
marked this pull request as ready for review
September 18, 2026 04:11
|
This was referenced Sep 19, 2026
Author
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.
Closes #1294
Summary
matcha tail expression by removing onlyreturnand its trailing semicolon.Validation
On macOS / Apple Silicon, Rust 1.94.1:
Pristine upstream
5cb7b3dad6029a6f868e36fd4c13cbd07d1fca50fails withclippy::needless_returnat lines 269–273. Candidate5d501a7cbfeff68224e89bc138973a36721b302dpasses the same command. Both implementation validation and an independent acceptance run passed.All three existing focused tests passed independently, each 1 passed / 0 failed / 0 ignored, using
test --offline --locked -p jcode-terminal-launch --lib <selector> -- --exact --test-threads=1:tests::term_program_detects_supported_emulators_cross_platformtests::tmux_client_context_is_preferred_over_terminal_emulatortests::explicit_terminal_override_stays_ahead_of_tmuxNo new tests are added for this behavior-preserving lint correction. These existing tests cover adjacent detection/precedence, not exhaustive macOS alias cases. No terminal-launch, Linux, or Windows runtime validation is claimed.
Review readiness and CI limits
This is intentionally separate from #1293 and does not claim full workspace CI is green. Existing upstream workspace compilation, Clippy, formatting, and budget failures were documented in #1293. This PR addresses only the package-level macOS
needless_returndiagnostic. Official code-size and test-size gates still fail, with output byte-for-byte identical to the pristine upstream baseline. Neither failure is waived or increased. The patch passes whitespace checks and preserves the exact same delta after formatting both file versions in scratch. Whole-file/workspace formatting was not swept into this patch, and full workspace CI was not rerun for this narrow correction.Ready for maintainer review: the scoped change is complete. On September 18, package Clippy and the three exact existing tests passed again on the exact submitted commit. This is not a merge-ready or full-workspace-CI claim.
Workflow assessment:
.github/workflows/ci.ymlcurrently has duplicate top-levelenvkeys, already addressed by the open #1193. The issue-link workflow includesready_for_review; the main CI workflow does not explicitly include that activity type. Existing issue-link runs reportaction_requiredwith zero jobs. Maintainer workflow approval and repair of the existing CI definition are still needed for usable remote validation. No repository settings or workflow code were changed by this PR.