ci: add deadcode check#3
Conversation
|
Codex review: needs maintainer review before merge. Reviewed June 7, 2026, 11:31 PM ET / 03:31 UTC. Summary Reproducibility: not applicable. this is a CI cleanup PR, not a bug report. Source inspection does confirm the removed Review metrics: 3 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Land the PR only after maintainers decide they want deadcode enforced in CI and the PR head has a green workflow run proving the new analyzer, tests, and build all pass together. Do we have a high-confidence way to reproduce the issue? Not applicable; this is a CI cleanup PR, not a bug report. Source inspection does confirm the removed Is this the best way to solve the issue? Yes, if maintainers want this enforcement policy: the PR is a narrow way to add the gate and remove the reported dead code. The remaining decision is whether AGENTS.md: not found in the target repository. Codex review notes: model gpt-5.5, reasoning high; reviewed against 2c95d9596013. Label changesLabel justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
golang.org/x/tools/cmd/deadcode@v0.45.0Validation
git diff --checkgo run golang.org/x/tools/cmd/deadcode@v0.45.0 -test ./...go test -count=1 ./...go build ./cmd/clawgoautoreview --mode branch --base origin/main --no-web-search --thinking lowclean