Skip to content

v0.3.6: Faster low-overhead scanning, expanded IDE/language recipes, resource pressure offers, antivirus & Slint UI fixes - #16

Merged
ibnbd merged 8 commits into
mainfrom
arena/f5f7cf87-cleanton
Oct 25, 2026
Merged

ibnbd merged 8 commits into
mainfrom
arena/f5f7cf87-cleanton

Conversation

@ibnbd

@ibnbd ibnbd commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Version bump to 0.3.6: Updated Cargo.toml and Cargo.lock across all 11 workspace crates (picked up by packaging/build-macos.sh and UI About views).
  • Scanner & engine performance:
    • Zero-syscall directory pruning in cleanton-scanner before metadata() calls, skipped per-directory .gitignore discovery inside node_modules/target/.venv/DerivedData, and O(E \cdot D) ancestor size aggregation.
    • Indexed recipe matching (CompiledRecipeMatcher) routing exact filenames, extensions, literal directory names, and wildcard patterns without scanning all 171 recipes per entry; shared MarkerCache eliminating repeated stat calls; scoped ML evaluation; bottom-up O(N \log K) suggestions; and concurrent analyze_full execution.
    • Batched launchctl list snapshot + cached UID in cleanton-services, plus Linux systemd --user service discovery and management (ServiceType::SystemdUserService).
  • Scanner accuracy & 171 cleaning recipes:
    • Raised default max_depth from 10 to 20, fixed pruned directory size backfill via size_targets in analyzer.rs, and expanded project detection to 17 ecosystems while filtering dependency subtrees.
    • Updated 21 existing recipes for macOS + Linux/Ubuntu XDG parity and added 18 new IDE & language build-artifact recipes (JetBrains/VS Code/Zed/Neovim/Helix/Sublime, C/C++ build variants & vcpkg, .NET obj & NuGet HTTP cache, Maven target, project .gradle, Scala .bloop/.metals/target, Next/Nuxt/SvelteKit/Astro/Angular/Parcel/Vite, Nx, Dart .dart_tool, Clojure, Haskell Cabal, OCaml _build, PHP Composer/PHPStan/Psalm, Godot .godot, Android .cxx).
  • Background helper disk & memory cleanup offers:
    • Fixed Linux /proc/meminfo (MemAvailable) and macOS vm_stat (including Pages speculative) memory reporting, added resident process sampling (top_memory_processes) and allocator reclamation (reclaim_process_memory).
    • Upgraded cleanton-engine::background with default 85% disk/memory thresholds, 5% hysteresis, scanner reuse, and actionable CleanupOffer::{Disk, Memory} + snapshot_resource_status, surfaced across cleanton watch, cleanton-ui (TUI), and cleanton-app (Slint GUI).
  • Antivirus improvements:
    • Parallel engine dispatch in cleanton-antivirus, cached CompiledRuleset/RegexSet and ScriptPrefilter (u128 bitmask), gated legacy SHA-1/MD5 hashing, archive root-prefix stripping in extract.rs, expanded persistence coverage (fish, XDG autostart/*.desktop, encoded systemd ExecStart), 3 new credential-access rules, and O(N) .dist-info indexing + baseline fast path in cleanton-engine::security.
  • Slint UI fixes (cleanton-app):
    • Fixed Packages Refresh button misplacement during loading caused by a stretching HorizontalLayout wrapper around Spinner, along with matching status-bar and Applications leftover-header spinner layout bugs.
    • Fixed vertical centering in Spinner, ActivityBar, SidebarItem, SuggestionListRow, and ServiceListRow; added Services/Applications loading & filtered-empty states; preserved loaded tab state on sidebar navigation; added PACKAGE_LOAD_ID race protection; and moved startup probes off the UI thread.

ibnbd and others added 8 commits October 25, 2026 21:41
…us, and Slint UI (v0.3.6)

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@ibnbd
ibnbd merged commit 8185122 into main Oct 25, 2026
10 checks passed
@ibnbd
ibnbd deleted the arena/f5f7cf87-cleanton branch October 26, 2026 00:19
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