Replies: 8 comments 3 replies
|
Congrats on the v0.14.0b3 release! Glad to have contributed. Looking forward to this progressing toward a stable v0.14.0. |
|
In this release aw-server (Python) has significantly improved performance thanks to ActivityWatch/aw-core#147 in addition to the previous work of ActivityWatch/aw-core#132 which fixed write amplification. These issues have been pretty embarrassing for me to discover, as I thought it already worked that way. I've been hunting down performance issues in aw-server-python and can now say that it runs really nicely and quietly. Still slow on large queries, but normal operation is now pretty fast and efficient! |
|
I've just tried the sync feature (aw-sync) on activitywatch version v0.14.0b3 with Syncthing and two hosts "HOSTA" and "HOSTB".
So afk and window data shows up twice under /timeline, one copy is the data collected from the local client and another copy is the synced data. On HOSTA I don't need to see the "synced-from-HOSTA" copy. |
|
@nairboon Good report — what you're seeing is a known design gap in aw-sync, not intentional. The The fix would be for aw-sync to skip importing exports whose hostname matches the local machine. That way the For now, the workaround is to delete the If there isn't already an issue tracking this, it'd be worth opening one against activitywatch/activitywatch so it gets addressed before stable. |
|
@TimeToBuildBob so far I didn't find a similar issue. What's the correct repo to file an issue against? Is it |
|
@nairboon File the issue on ActivityWatch/activitywatch — that's the main coordination repo where aw-sync, aw-server, and aw-webui issues all get tracked together. The team keeps a good cross-repo view from there. The issue you're describing (synced-from-HOSTNAME buckets appearing locally) is a known aw-sync design gap, so filing it there will surface it for the pre-stable 0.14.0 push. |
|
@nairboon aw-server-rust is actually preferred for aw-sync issues. @TimeToBuildBob prefer issues scoped to the module that is responsible for the bug/code raised. |
|
Correcting myself — I got the mechanism wrong above, and @ErikBjare's instinct was right: the guard he's remembering does exist and does work.
The data comes back by a transitive path that guard can't see:
So the missing rule is "a host must only ever offer data it collected itself", not "don't read your own export". I reproduced it as a test; on master it fails with exactly your bucket list, @nairboon: Filed as ActivityWatch/aw-server-rust#647 with a fix in ActivityWatch/aw-server-rust#648 — thanks @0xbrayo, aw-server-rust was the right call, and I'll scope to the responsible module going forward. @nairboon one thing worth knowing: the fix skips synced buckets on pull as well as push, specifically because the duplicate is already sitting in your shared Syncthing folder — a push-only fix would have kept re-importing it until you cleaned the folder by hand. You'll still need to delete the existing |
Uh oh!
There was an error while loading. Please reload this page.
These are the release notes for ActivityWatch version v0.14.0b3.
New to ActivityWatch? Check out the website and the README.
Installation
See the getting started guide in the documentation.
Downloads
Contributors
Thanks to everyone who contributed to this release:
@0xbrayo, @ErikBjare, @TimeToBuildBob
Changelog
Changes since v0.14.0b2:
📦 activitywatch
✨ Features (1)
fbd1562)🐛 Fixes (2)
016d80b)908b99a)📦 aw-server
🐛 Fixes (1)
481c9a9)📦 aw-webui
✨ Features (1)
464405d)🔨 Misc (1)
edb7d71)📦 aw-server-rust
📦 aw-webui
✨ Features (1)
464405d)🔨 Misc (1)
edb7d71)📦 aw-watcher-afk
🐛 Fixes (1)
2ee285f)📦 aw-watcher-window
🐛 Fixes (1)
c9732d5)📦 aw-core
🐛 Fixes (3)
cfcc34a)b706a50)62276a7)🔨 Misc (2)
34198c6)b70e8ec)📦 aw-client
✨ Features (1)
2c88b87)📦 aw-notify
✨ Features (3)
1426676)8c8cf6f)352e01b)🐛 Fixes (1)
e8bdb81)🔨 Misc (1)
969352f)📦 aw-tauri
✨ Features (1)
5cf1c69)Full Changelog: v0.14.0b2...v0.14.0b3
This discussion was created from the release v0.14.0b3.
All reactions