Follow-up to #969, which made the multidevice query use the actual …-synced-from-<host> bucket IDs (verified: fixes "There's no bucket named 'aw-watcher-window_erb-main3'" on an instance with aw-sync data).
What still fails
buildMultideviceHostParams (src/util/multidevice.ts) requires both bucketsWindow(host)[0] and bucketsAFK(host)[0]; otherwise the host is skipped with only a console.warn. Android devices sync aw-watcher-android-synced-from-<host> (type currentwindow) and aw-watcher-android-unlock-synced-from-<host> (type os.lockscreen.unlocks) — there is no afkstatus bucket, so every phone is dropped from the multidevice view with no UI indication. Erik's instance after importing the POCO F8 Ultra: 1.4M events present, none in the multidevice query.
Suggestion
- For hosts with a
currentwindow bucket and no afkstatus bucket, derive the afk series from the os.lockscreen.unlocks bucket when present (the phone is "not-afk" between an unlock and the next lock), or run the window bucket without an afk filter when neither exists — the Android single-device view already does the latter.
- Surface the skip in the UI ("N devices skipped: no AFK data") instead of only in the console.
cc @TimeToBuildBob
Follow-up to #969, which made the multidevice query use the actual
…-synced-from-<host>bucket IDs (verified: fixes "There's no bucket named 'aw-watcher-window_erb-main3'" on an instance with aw-sync data).What still fails
buildMultideviceHostParams(src/util/multidevice.ts) requires bothbucketsWindow(host)[0]andbucketsAFK(host)[0]; otherwise the host is skipped with only aconsole.warn. Android devices syncaw-watcher-android-synced-from-<host>(typecurrentwindow) andaw-watcher-android-unlock-synced-from-<host>(typeos.lockscreen.unlocks) — there is noafkstatusbucket, so every phone is dropped from the multidevice view with no UI indication. Erik's instance after importing the POCO F8 Ultra: 1.4M events present, none in the multidevice query.Suggestion
currentwindowbucket and noafkstatusbucket, derive the afk series from theos.lockscreen.unlocksbucket when present (the phone is "not-afk" between an unlock and the next lock), or run the window bucket without an afk filter when neither exists — the Android single-device view already does the latter.cc @TimeToBuildBob