Skip to content

fix(clippy): drop LSP large futures and hotpath needless return - #1137

Open
ScriptedAlchemy wants to merge 2 commits into
codex/tracedecay-total-redesign-plan-reopenedfrom
grok/clippy-debt-lsp-hotpath
Open

fix(clippy): drop LSP large futures and hotpath needless return#1137
ScriptedAlchemy wants to merge 2 commits into
codex/tracedecay-total-redesign-plan-reopenedfrom
grok/clippy-debt-lsp-hotpath

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Summary

  • box the measured LSP analyzer request future at the request_json boundary so hotpath unification no longer inflates 24 semantic wrappers past large_futures
  • drop the needless return in the hotpath arm of watchdog_fire_after
  • no lint allows, no threshold changes, no behavior change

Unblocks dependency-inclusive clippy for sibling #1073 lanes.

Verification

  • clippy -p tracedecay-lsp --all-targets --all-features: 0/0
  • clippy -p tracedecay --all-targets --features hotpath: 0/0 (was 24 large_futures + 1 needless_return)
  • clippy -p tracedecay-maintenance -p tracedecay-mcp --all-targets --all-features: 0/0
  • tracedecay-lsp tests: 216 lib + 49 integration
  • fmt, diff check, commitlint

Awaiting request by value inflates every semantic wrapper and the
dispatch match past large_futures once the hotpath backend is unified.
The hotpath arm of watchdog_fire_after is already the function's value;
return trips clippy::needless_return when that feature is on.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-09T08:21:08.491621Z 0ba77eb PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant