trpc-query-used-for-side-effectful-reminder-writes
The TaskFlow reminders.checkDueTomorrow endpoint was implemented as a tRPC query (GET semantics) but writes notifications — violating the idempotency contract for queries. Beyond the contract violation, reminders only fire when a user manually hits the endpoint; no background cron was wired, making the entire reminder feature silently non-functional in production.
Related
- trpc-query-writing-side-effects-breaks-idempotency
- trpc-query-procedure-must-not-perform-writes
- trpc-query-procedures-must-be-idempotent-reads-only
- trpc-query-procedure-used-as-mutation-violates-contract
- trpc-query-used-for-write-ops-breaks-reminder-delivery
- trpc-query-used-for-side-effects-reminder-anti-pattern
- trpc-query-procedure-performing-writes-contract-violation
- trpc-query-used-for-writes-breaks-reminder-delivery