| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
feat: add companion device resync with unified retry strategy Resync companion devices on active-user-switch, device-name-change, and device newly-online. Unify the sync and resync retry into one semantics: an external trigger resets the backoff delay while preserving the failure budget, retry-fire keeps the growing backoff, and a second trigger during an in-progress request is coalesced instead of self-preempting. Guard sync and resync completions against stale callbacks from rebuilt device entries. On each physical-device-status snapshot, devices newly present are resynced (the service does not distinguish devices already online at SA start). Add tests and a device_resync_scheduler fuzzer. Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> 🤖 AI[95%] 🔧 Human Fixed[0%] 🧑 Human[5%] 👌 AI Adopted[100%] Co-authored-by: claude (deepseek-v4-flash) <ai@local> Co-authored-by: claude (glm-5.2) <ai@local> Co-authored-by: claude (deepseek-v4-flash) <ai@local> Co-authored-by: claude (glm-5.2) <ai@local> Change-Id: Ib6cbd04a87a29a06dc1a07f6df407244edceb54e | 19 天前 | |
feat: add companion device resync with unified retry strategy Resync companion devices on active-user-switch, device-name-change, and device newly-online. Unify the sync and resync retry into one semantics: an external trigger resets the backoff delay while preserving the failure budget, retry-fire keeps the growing backoff, and a second trigger during an in-progress request is coalesced instead of self-preempting. Guard sync and resync completions against stale callbacks from rebuilt device entries. On each physical-device-status snapshot, devices newly present are resynced (the service does not distinguish devices already online at SA start). Add tests and a device_resync_scheduler fuzzer. Signed-off-by: Tianshi Liu <tianshi.liu@huawei.com> 🤖 AI[95%] 🔧 Human Fixed[0%] 🧑 Human[5%] 👌 AI Adopted[100%] Co-authored-by: claude (deepseek-v4-flash) <ai@local> Co-authored-by: claude (glm-5.2) <ai@local> Co-authored-by: claude (deepseek-v4-flash) <ai@local> Co-authored-by: claude (glm-5.2) <ai@local> Change-Id: Ib6cbd04a87a29a06dc1a07f6df407244edceb54e | 19 天前 |