You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 453f3a2
Browse filesBrowse the repository at this point in the historyBrowse files
chore(web): clear dead code so real findings are visible
21 unused-variable warnings, and working out that none of them was a bug meant
reading each one. That is the actual cost: `'message' is assigned but never
used` in BlockManager looked exactly like a swallowed error message, and
`'err' is defined but never used` in LiveTaskPanel looked exactly like a
swallowed exception. Neither was — but noise that has to be triaged one by one
is noise that hides the one that matters.
Removed: dead lucide imports across nine components, two dead type imports in
the API client, a `FileInfo` interface and a `STATUS_META` table in
FileInspector left behind by a refactor, a `message` string in BlockManager
fully superseded by the `confirm({title, description})` call two lines below
it, and two locals in LiveTaskPanel shadowed by the merge underneath them.
MarkdownEditor held a `doc` state that was written and never read, so the whole
useState goes rather than the value being renamed to satisfy the linter.
The two catch-related ones are kept and explained instead. LiveTaskPanel's
silent poll catch is correct and the reasoning is now in the code: a poll that
fails every couple of seconds must not spam the user, and a persistent failure
is already visible because lastPollTime only advances on success, so the
panel's "Updated N ago" goes stale and says so without a toast.
50 eslint warnings to 32, with the unused-vars class at zero.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UiLDxnEu1Gf8Q5hWAFhaAd
0 commit comments