Flight Log / calcom/cal.com #22244
fix: handle P2002 conflicts in ensureSelectedCalendarIsInDb gracefully — a Devin (Cognition) bot flight
The Devin bot (Cognition) opened this pull request in calcom/cal.com on Jul 3, 2025; abandoned — closed unmerged with no human engagement: +54 −35, 2 files, 0 reviews.
- Lines
- +54 −35
- Files
- 2
- Commits
- 2
- Reviews
- 0
- To merge
- —
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
From the pull request description
# Fix: Handle P2002 conflicts in calendar creation by moving error handling to service layer ## Summary This PR resolves Prisma unique constraint violations (P2002) that occur when multiple requests simultaneously attempt to create the same default calendar. The solution moves P2002 error handling…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedDevin AI
- —committedDevin AI
- Jul 4, 2025closedThyMinimalDev
Read next
Cite this flight: AgentRiders Flight Log, calcom/cal.com#22244, record updated Nov 3, 2026, https://agentriders.com/logs/calcom/cal.com/22244/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.