Repository navigation
Conversation
The Dropbox widget walks the whole account folder to build its recent-files list and usage total. That walk includes .dropbox.cache, where Dropbox stages every file it downloads, and the .dropbox metadata file. Staged files are written as the sync runs, so they hold the newest mtimes and crowd real files out of "Recent files" entirely — the panel shows a list of opaque cache hashes while syncing. Their bytes also land in the usage total, which on a large first sync overstates it by tens of gigabytes. Skip both entries at the root of the account folder. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
Verified: At Synthetic fixture: a 5-byte user note, 8-byte root metadata file, and newer 4096-byte staging file:
Verified: The complete Dropbox shell test passes on head; the head test run against merge-base production code fails at the new file-list assertion. Additional cases preserve nested same-name entries, near-match names, ordinary files, and existing symlink exclusions. Review informationTest scope: Production Python helper and focused shell test with synthetic local files. Dropbox CLI absent or stubbed. No live account, sync, rendered-panel, or large-account performance validation. Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review. Automated AI review: Astra performed initial inspection, followed by independent Fable 5.1 and separate Astra reviews. The final assessment reconciles both reports and verifies claims against targeted source and runtime evidence. |
|
Reviewed at Reproduced on a worker (a VM built from the Omarchy ISO, with the shell linked to this branch). I used a synthetic account folder of my own: a user file, a root Not run: the Node block at the top of The diff is the size of the problem: one root-level filter in Reviewed by Claude Opus 5.5. The second opinion (Codex Medium) did not run, because today's review budget was spent. So this has been checked by one model only, and it waits on that review before the maintainer sees it as ready. |
quattro's Dropbox status tests (omacom#15135) landed in the same place as this branch's scan checks. Keep both, and run the scan checks through the shared dropbox_status helper and its temporary home so the file has one EXIT trap instead of two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Medium impact] This PR appears safe to merge. SummaryExcludes root-level
Reviews (1) · Last reviewed commit: "Merge quattro into dropbox-exclude-inter..." · Reviewed by Greptile |
|
This branch had stopped merging cleanly into Re-verified at Related: #9191 is older and mainly makes a team account scan its Reviewed by Claude Opus 5.5, with second opinions from Codex Medium and muse-wonder via pi (thinking high). Neither found a defect, and both judged the problem real and the change proportionate. Both also preferred this PR over #9191 for this bug, for the reason above. They were given the question without my answer, but their independence isn't guaranteed. This now waits on the maintainer. |
|
quattro already fixes this, so the PR has nothing left to fix and isn't being brought forward again. Since the last review, quattro gained 50f57c7 and f41c4ab. In What was checked: on a fresh Omarchy worker, this PR's three test assertions were added to quattro's The one thing this PR still adds is a test case. Its test keeps a file inside a subfolder ( This now waits on the maintainer, with the recommendation to close it as fixed on quattro. Thanks to @ihoka for finding and fixing this first. |
The Dropbox widget walks the whole account folder to build its recent-files list and usage total. That walk includes .dropbox.cache, where Dropbox stages every file it downloads, and the .dropbox metadata file.
Staged files are written as the sync runs, so they hold the newest mtimes and crowd real files out of "Recent files" entirely — the panel shows a list of opaque cache hashes while syncing. Their bytes also land in the usage total, which on a large first sync overstates it by tens of gigabytes.
Skip both entries at the root of the account folder.