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
Services don't clear their caches on every write #149
Several service write paths leave stale entries in IMemoryCache, so pages show old data until the entry expires (one minute for issues and comments, a day for statuses):
StatusService: CreateStatus, UpdateStatus and DeleteStatus don't remove CacheName; only ArchiveStatus does.
IssueService: CreateIssue doesn't remove CacheName. GetIssuesByUser caches under the user's ID, and no write path ever removes that key.
Fix: remove every affected key on each write path, including the per-user issue key for the issue's author. Add a unit test per write method asserting the eviction. UserService doesn't cache, so it needs nothing.
changed the title [-]StatusService doesn't clear its cache on create, update or delete[/-][+]Services don't clear their caches on every write[/+]on Sep 29, 2026
Activity
[-]StatusService doesn't clear its cache on create, update or delete[/-][+]Services don't clear their caches on every write[/+]fix(Services): Clear cached reads on every write (#164)