beads/internal/storage/sqlite
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
..
collision.go Cache compiled regexes in ID replacement for 1.9x performance boost 2025-10-13 23:50:48 -07:00
collision_test.go Cache compiled regexes in ID replacement for 1.9x performance boost 2025-10-13 23:50:48 -07:00
dependencies.go Refactor dependency dirty marking to use shared helper (bd-56) 2025-10-14 00:35:43 -07:00
dependencies_test.go Pre-release fixes and polish for open source launch 2025-10-12 17:28:48 -07:00
dirty.go Refactor dependency dirty marking to use shared helper (bd-56) 2025-10-14 00:35:43 -07:00
events.go Implement incremental JSONL export with dirty issue tracking 2025-10-14 00:17:23 -07:00
labels.go Implement incremental JSONL export with dirty issue tracking 2025-10-14 00:17:23 -07:00
ready.go Implement JSONL export/import and shift to text-first architecture 2025-10-12 01:17:50 -07:00
ready_test.go Implement JSONL export/import and shift to text-first architecture 2025-10-12 01:17:50 -07:00
schema.go Implement incremental JSONL export with dirty issue tracking 2025-10-14 00:17:23 -07:00
sqlite.go Fix malformed ID detection to actually work (bd-54) 2025-10-14 00:32:42 -07:00
sqlite_test.go test: add failing test for multi-process ID generation race 2025-10-14 01:17:02 -07:00