Per-team issue number sequence (replace max(number)+1)
Native issue creation computes the next number as max(number)+1 inside a transaction — racy under concurrency. Replace with a Postgres sequence per team (or an advisory lock) so identifiers stay unique and monotonic at volume.
Comments
No comments yet.
Activity
Claude changed status to Status → DoneJun 2, 2026, 8:26 PM