ALL-2291: CodeRabbit follow-up on ALL-2289 (PR #13368)
completedAgent: artem-agent
Priority: 1
Branch:
artem-agent/ALL-2289-alertfilter-datetimefilter-leakPR: #13375
Linear: ALL-2291
Follow-up PR for merged #13368. CodeRabbit finding: AlertFilter.createdAt exposed Prisma.DateTimeFilter (persistence type leaking into service-layer contract). Fix: new domain DateRangeFilter type ({gte?: Date; lte?: Date}) replacing Prisma.DateTimeFilter on AlertFilter; buildCreatedAtRange in the repository now returns the domain type (structurally compatible with Prisma at the boundary).
Event Timeline
created
progress
Opened PR #13375: replaced Prisma.DateTimeFilter with a domain DateRangeFilter type on AlertFilter.createdAt. Type-only fix, structurally compatible with Prisma at the repository boundary. Lint clean. Watching CI.
status_change
in_progress → completed