mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-22 11:54:35 +01:00
fix: exclude responsibility repairs from Mine participation (#22434)
Exclude responsibility-repair audit entries from personal task participation. Maintenance attributed to an operator no longer pulls unrelated tasks into Mine, unread badges, or task notifications. Preserve audit history and genuine participation through creation, assignment, comments, deliberate edits, and pending requests. Add database regressions and document the rule. Verified with 174 targeted tests, server typecheck, fully green CI, and Greptile 5/5 with no unresolved review comments. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
1 parent
0e5e7a9ea3
commit
2898acee2d
4 files changed
+69
No files matched your search
@@ -142,6 +142,7 @@ export function userParticipationActivityCondition(companyId: string, userId: st
|
||||
AND ${activityLog.actorType} = 'user'
|
||||
AND ${activityLog.actorId} = ${userId}
|
||||
AND NOT ${automaticReadRecoveryCleanupCondition()}
|
||||
AND COALESCE(${activityLog.details}->>'source', '') <> 'needs_you_responsibility_repair'
|
||||
AND NOT (
|
||||
${activityLog.action} = 'issue.inbox_touched'
|
||||
AND COALESCE(${activityLog.details}->>'source', '') = 'manual_routine_run'
|
||||
|
||||
Reference in new issue
Block a user