Skip to content

perf(debug): remove render-time and per-keypress console leaks (TODO 14) - #112

Closed
lopugit wants to merge 2 commits into
mainfrom
claude/todo14-debug-leaks-s3
Closed

perf(debug): remove render-time and per-keypress console leaks (TODO 14)#112
lopugit wants to merge 2 commits into
mainfrom
claude/todo14-debug-leaks-s3

Conversation

@lopugit

@lopugit lopugit commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Fixes TODO 14 — 🧹 Remove render-time debug leaks in the hot path.

  • CommanderV2.tsx: removed the per-render commanderActive log and the per-keypress commander key listener e?.code log.
  • ThingtimeURL.tsx: removed all four per-render logs (location, getting/got thing, and the unconditional return-value log) — these logged whole thing objects on every render, retaining references in console history.
  • The window.useThingtimeScope unbounded-array leak named in the TODO was already removed on main (stale line refs) — nothing to do there.
  • Event-driven logs (commander close conditions on click, escape handling) left as-is; they are not render-path.

Verified: build:client passes; live worktree dev session (port 17590) shows zero occurrences of the removed log patterns across a route navigation plus typing 8 characters into the Commander, which still renders suggestions and accepts input normally; no console errors.

Also annotates TODO 14 in TODO/TODO.md.

Session 3 of 10 parallel todo sessions (previous: #94, #102, #105); claim branch pushed before work started.

🤖 Generated with Claude Code

CommanderV2 logged commanderActive on every render and every keycode on
every keypress; ThingtimeURL logged location/path/thing objects on every
render (retaining thing references in console history). All removed.
The useThingtimeScope leak named in TODO 14 was already gone from main.

Verified: build:client passes; live worktree dev session shows zero
occurrences of the removed patterns across route navigation + typing in
the Commander, which still renders suggestions and accepts input.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
thingtime Ready Ready Preview, Comment Jul 26, 2026 12:41pm

Request Review

@lopugit

lopugit commented Jul 30, 2026

Copy link
Copy Markdown
Owner Author

Consolidating duplicate TODO-14 PRs: #115 is the single winner (most complete — all render-time logs plus TT_DEBUG-gated Thingtime.tsx addNewChild logs, live-verified, TODO.md updated). Its unique delta from this PR, if any, has been folded into #115.

@lopugit lopugit closed this Jul 30, 2026
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