beads/internal/storage
beads/crew/dave ac24a63187 fix: make tests resilient to project .beads/redirect
Tests were failing because beads.FindDatabasePath() follows the
project's .beads/redirect file, causing tests to find unexpected
databases. Fixed by:

- Setting BEADS_DIR in tests that need isolation from git repo detection
- Clearing BEADS_DIR in TestMain to prevent global contamination
- Updating migration test schema to include owner column

This ensures tests work correctly in crew directories that have
redirect files pointing to shared .beads directories.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Executed-By: beads/crew/dave
Rig: beads
Role: crew
2026-01-10 22:38:04 -08:00
..
memory fix: respect hierarchy.max-depth config setting (GH#995) (#997) 2026-01-10 13:36:52 -08:00
sqlite fix: make tests resilient to project .beads/redirect 2026-01-10 22:38:04 -08:00
storage.go fix: prevent closing issues with open blockers (GH#962) 2026-01-09 22:57:07 -08:00
storage_test.go fix: prevent closing issues with open blockers (GH#962) 2026-01-09 22:57:07 -08:00