docs(aw-sync): document the working sync path; drop stale limitations - #701
Conversation
Bare `aw-sync` / `aw-sync daemon` still no-ops on the 3-level layout (ActivityWatch#682); lead with `aw-sync sync` instead. Android is supported via the official app; default is all buckets. Fixes ActivityWatch#690 Git-Session-Id: 18872a44-370f-5bf9-845d-0a9c162f660f
Review guide (auto-posted)Structured warm-up for reviewers — what changed, what to run, where to look. Key files
Suggested verification
Known risks / watch points
Suggested review focus
Generated by |
|
@TimeToBuildBob Accurate for the parked-#685 state — leads with One word of precision, non-blocking: "Other devices cannot see that file" overstates it — a peer running the same bare daemon can (pure-daemon meshes did see each other; that is why the layout split went unnoticed). Precise form: " |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #701 +/- ##
==========================================
+ Coverage 70.81% 79.92% +9.10%
==========================================
Files 51 72 +21
Lines 2916 6823 +3907
==========================================
+ Hits 2065 5453 +3388
- Misses 851 1370 +519 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
A peer running the same bare daemon can see `{device_id}/test.db`.
`aw-sync sync` and the Android app cannot.
Git-Session-Id: 327ea5e1-5f57-58fa-8e6a-9a5e8479bd92
🤖 AI code reviewThis PR updates aw-sync/README.md to document the current sync behavior: it leads with the one-shot Safe to merge — no P0/P1 findingsConfidence 5/5 ✅ No thread-worthy findings. Advisory notes follow; they are retained without opening review threads. 1 advisory finding (summary-only, not scored)These P2 guard, heuristic, trade-off, or documentation claims are retained for judgment without opening review threads.
The README's new usage section says How this was verified: Read the full README lines 17-43; the usage block at line 20-21 says Files changed (1) — the diff as I read it
Previous review passes
Reviewed Maintainer commands
|
|
Pushed two README precision fixes:
CI is green on |
|
Those flags route aw-sync sync through sync_run, which uses the
two-level {device_id}/test.db layout. Only bare aw-sync sync walks
and writes hostname/device_id.
Git-Session-Id: 327ea5e1-5f57-58fa-8e6a-9a5e8479bd92
|
Post-merge check on this mention: the PR was merged at 09:04Z (merge commit The precision note from 2026-09-16 landed in Docs-only change — nothing to deploy or bump. No further action from me on #701; the remaining aw-sync items are tracked separately (#685 parked, #682 / #688 / #692 / #693 / #696). |
Fixes #690.
#685 is parked for v0.14.0, so writing this README "after the daemon switch" would ship a release that still recommends the no-op. This is the interim note the issue asked for.
What changed
aw-sync sync(the path that actually pulls and pushes) andaw-sync status.aw-sync/aw-sync daemonis marked broken for mixed/Android layouts (aw-sync:daemon(the default subcommand) never pulls — two incompatible sync-folder layouts #682), not recommended.{hostname}/{device_id}/test.db.SyncSpec.buckets: None).Not in this PR