chore(desktop): remove network-logs boot sweep
What & why
Removes apps/desktop/src/main/network-logger-sweep.ts and its call site in apps/desktop/src/main/index.ts.
The sweep was added in #6328 (merged 2026-08-12) alongside the deletion of the always-on Chromium network logger (an ElectricSQL-debugging tool), to reclaim stranded userData/network-logs directories (up to ~4GB per profile) left behind on existing installs. It first shipped in desktop-v1.21.0 (published 2026-08-13) and has been carried by every desktop release since (through desktop-v1.28.0). That first release is now ~4 weeks old, well past the point where the one-time cleanup would have run on any install that updated. The sweep only ever needed to run once per install, so it's now dead weight on every boot.
How I tested it
bun run lint:fix— no fixes neededbun run lint— exit 0bunx turbo run typecheck --filter=@superset/desktop— exit 0
Checklist
- PR title follows conventional commits (
type(scope): subject) -
bun run lintandbun run typecheckpass (CI fails on lint warnings too) - "Allow edits from maintainers" is checked on fork PRs
https://claude.ai/code/session_0197P3FZTcXBNKjFrddw3o8q
Generated by Claude Code
Summary by cubic
Removes the one-time network-logs boot sweep that cleaned up stranded userData/network-logs directories left behind by the deleted Chromium network logger. The sweep shipped in desktop v1.21.0 over four weeks ago, so any install that updated has already run it; keeping it just adds dead weight to every boot.
Summary by CodeRabbit
- Chores
- Removed automatic cleanup of network log files during desktop app startup.
- Development profile cleanup remains part of app initialization.