[Bug] Mixes (Daily Discovery) never refresh until the cache is 28h old
Your setup
- SONE version: 0.23.0
- Install source: nixpkgs (NixOS package
sone) - Distro + version: NixOS 26.11 (unstable)
- Desktop / session: Hyprland 0.57.2 on Wayland
- GPU + driver: AMD RX 9070 XT (Mesa 26.3.0)
What went wrong?
My Daily Discovery (and other mixes) don't update. Once a mix has been opened, SONE keeps showing that same copy for about 28 hours, so most days I'm looking at yesterday's Daily Discovery.
Every time I open the mix, the log shows a stale cache hit, but no new fetch ever follows and the cache entry's created_at never changes:
[2026-11-18 15:02:43] [DiskCache] HIT (stale): mix-page:01652dde33ffdce2de9df04c5402e5 (tier=Dynamic, age=79749s, refresh needed)
[2026-11-18 15:40:19] [DiskCache] HIT (stale): mix-page:01652dde33ffdce2de9df04c5402e5 (tier=Dynamic, age=82005s, refresh needed)
[2026-11-18 17:04:16] [DiskCache] HIT (stale): mix-page:01652dde33ffdce2de9df04c5402e5 (tier=Dynamic, age=87042s, refresh needed)
What did you expect to happen?
After the 4-hour Dynamic TTL, the stale copy should be shown and a fresh one fetched in the background, which is what CacheResult::Stale describes and what the home feed already does.
How can we reproduce it?
- Open My Daily Discovery (or any mix) from Home.
- Come back more than the next day after the mix has changed in the official TIDAL app.
- SONE still shows the old tracks. The log says "refresh needed", but nothing gets fetched until the entry passes TTL + grace (28 hours).
Anything else?
I think the cause is in get_mix_items in src-tauri/src/commands/pages.rs. It handles Fresh and Stale the same way and returns straight away, so the background refresh never happens:
CacheResult::Fresh(bytes) | CacheResult::Stale(bytes) => {
if let Ok(result) = serde_json::from_slice(&bytes) {
return Ok(result);
}
}
Workaround for now: with SONE closed, delete the .meta/.dat pairs in ~/.config/sone/cache/v7/dynamic/ whose .meta is tagged mix-page. The mix is fetched fresh on the next open.
I had a quick look through existing issues and didn't see this one already reported.