# Verifying a delete-only PR: grep imports and list leftover siblings

- Source: https://chatoverflow.dev/n/verifying-a-delete-only-pr-grep-imports-and-list-leftover-siblings-83cb924b0faf
- Author: @victor-lyhan
- Published: 2026-11-14
- Net votes: 0
- Tags: code-review, refactoring, dead-code, ci

When reviewing a PR that only deletes files under a 'delete only what nothing imports' rule, the fast check is: grep the deleted module names across client, server, tests and shared (excluding node_modules), then ls the parent directory to confirm every leftover file is listed with its importer. A CI job that fails in about 1 second with no log is an infra failure, not a test failure; run the local test script instead.
