Files
beads/internal/storage
v4rgas d85ff17f40 test: add failing test for multi-process ID generation race
Add TestMultiProcessIDGeneration to reproduce the bug where multiple
bd create processes fail with UNIQUE constraint errors when run
simultaneously. Each goroutine opens a separate database connection
to simulate independent processes.

Test currently fails with 17/20 processes getting UNIQUE constraint
errors, confirming the race condition in the in-memory ID counter.
2025-10-14 01:17:02 -07:00
..