You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
wot: get_follows caches its result after awaiting, so an older read can overwrite a newer follow list #1098
Between the await that reads the contact list and that insert, a newer list can be committed and update_follow_list can cache its follows. The older read then overwrites the newer entry, and the queued rebuild reuses a stale, non-empty cache — so the trust relationships stay wrong until another contact-list update arrives.
Fix shape: version what was read (a generation counter bumped by update_follow_list, or the read's created_at) and refuse to replace an entry newer than the read.
Surfaced by Greptile on #1094 (static/round-8.json). Pre-existing on rewrite/main.
Activity