Skip to content

Fix #159: Recently cleaned must reflect what Clean actually freed - #169

Merged
iliyami merged 2 commits into
iliyami:mainfrom
Borisserz:fix/smartscan-recently-cleaned
Sep 17, 2026
Merged

iliyami merged 2 commits into
iliyami:mainfrom
Borisserz:fix/smartscan-recently-cleaned

Conversation

@Borisserz

@Borisserz Borisserz commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • record the exact URLs successfully processed by CleaningEngine
  • build Smart Scan’s Recently cleaned breakdown only after cleanup returns
  • exclude skipped, failed, and unprocessed selections after cancellation

Tests

  • swift test --filter 'SmartScanCleanupTests|CleaningEngineTests' — 21 passed\n- swift test — 808 executed, 3 skipped; ModuleE2ETests.testDuplicates_groupsByteIdenticalFiles still fails two unrelated duplicate-scanner assertions and reproduces in isolation\n\nCloses Smart Scan Recently cleaned lists items that were never freed #159

@Borisserz
Borisserz force-pushed the fix/smartscan-recently-cleaned branch from 261edce to aea10ac Compare September 16, 2026 16:54
@iliyami
iliyami force-pushed the fix/smartscan-recently-cleaned branch from aea10ac to 6c551be Compare September 17, 2026 08:14
@iliyami

iliyami commented Sep 17, 2026

Copy link
Copy Markdown
Owner

Verified safe (reporting-only; delete calls byte-identical, removedURLs recorded only on success). Rebased over the thinning-cancel (#170) and Excluded-Folders (#142) changes; resolved the CleanActions overlap so the cancel-after-permanent path also threads removedURLs. Full suite green at 862. Merging. Thanks @Borisserz!

@iliyami
iliyami merged commit e8c23b6 into iliyami:main Sep 17, 2026
2 checks passed
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.

2 participants