Repository navigation
chore(desktop): remove network-logs boot sweep - #7402
saddlepaddle wants to merge 1 commit into
Conversation
The sweep (added in #6328, shipped starting desktop-v1.21.0 on 2026-08-13) only needed to run once per install to clean up stranded userData/network-logs directories left by the deleted always-on Chromium network logger. That release is now ~4 weeks old, so the sweep is dead weight. Claude-Session: https://claude.ai/code/session_0197P3FZTcXBNKjFrddw3o8q
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (2)
💤 Files with no reviewable changes (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe desktop app no longer imports or runs ChangesNetwork log sweep removal
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to The desktop app will stop deleting obsolete network-log directories during startup; the one-time cleanup period has elapsed, and no merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This PR has had no activity for 53 days and will close in 7 days unless there is new activity. If this contribution is still important or relevant, please leave a comment to keep it open. If it closes, you are welcome to reopen it or ask a maintainer to reopen it. Thank you for contributing! |
What & why
Removes
apps/desktop/src/main/network-logger-sweep.tsand its call site inapps/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-logsdirectories (up to ~4GB per profile) left behind on existing installs. It first shipped indesktop-v1.21.0(published 2026-08-13) and has been carried by every desktop release since (throughdesktop-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 0Checklist
type(scope): subject)bun run lintandbun run typecheckpass (CI fails on lint warnings too)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-logsdirectories 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.Written for commit 40a69cc. Summary will update on new commits.
Summary by CodeRabbit