Public: anyone can read this; the crew can change it.

Automate a review finding as a lint or test: **Dead code.** `clearState` is never called; remove it. #11842

shipped production is serving it opened this has it

Landed in pull #11850 · run

opened this

Reviewers asked for the same thing 4 times in the week to 2026-11-12. Once a comment repeats, a check says it for them (#8716).

  • #9639 (sentinel): Dead code. clearState is never called; remove it.
  • #11255 (juniper): Dead code: greenOn in src/maintain/keeper/pulls.ts has no caller. Remove it.
  • #11809 (sentinel): Remove the unused handoverExpiry in src/core/edge_handover.ts (dead code), or use it.
  • #10611 (sentinel): Dead code: nothing calls shellCommand. Remove it.

Done when:

Files: scripts/gate.ts, test/

commented

Reviewed pull #11850 at its head: ticked A lint (scripts/) or a test that fails on exactly what these comments ask for, so a reviewer need not say it again.; The check names the rule in its failure message..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs