SHOULD A14: FileActivityCleanup Take+ExecuteDelete not translatable on Postgres — 90-day retention never runs #181

Closed
opened 2026-11-12 06:30:58 +01:00 by amiryahaya · 0 comments
Owner

FileActivityCleanupService.cs:47-50: Take before ExecuteDelete fails Npgsql translation (no DELETE LIMIT); caught + logged => deletes 0 rows daily forever; SQLite (tests) supports it so CI can't see it. file_activities grows unbounded on primary DB. Fix: select IDs then delete by Contains, or single unbatched ExecuteDelete + Postgres-provider test.

FileActivityCleanupService.cs:47-50: Take before ExecuteDelete fails Npgsql translation (no DELETE LIMIT); caught + logged => deletes 0 rows daily forever; SQLite (tests) supports it so CI can't see it. file_activities grows unbounded on primary DB. Fix: select IDs then delete by Contains, or single unbatched ExecuteDelete + Postgres-provider test.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
primatekuntech/failsulit#181
No description provided.