beads/internal/storage/dolt
beads/crew/lydia 2cc96197c0 fix(dolt): parse timestamps from TEXT columns instead of direct time.Time scan
The Dolt storage was scanning created_at and updated_at directly into
time.Time fields, but SQLite stores these as TEXT strings. The Go SQLite
driver cannot automatically convert TEXT to time.Time.

Added parseTimeString() helper and fixed all scan functions:
- issues.go: scanIssue()
- dependencies.go: scanIssueRow()
- history.go: GetIssueHistory(), GetIssueAsOf()
- transaction.go: scanIssueTx()

Fixes bd-4dqmy

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 20:48:47 -08:00
..
bootstrap.go feat(dolt): bootstrap routes.jsonl and interactions.jsonl (bd-lbdy7) 2026-01-20 20:47:59 -08:00
bootstrap_test.go feat(dolt): bootstrap routes.jsonl and interactions.jsonl (bd-lbdy7) 2026-01-20 20:47:59 -08:00
concurrent_test.go feat(dolt): add federation prototype tests 2026-01-20 18:40:54 -08:00
config.go feat(storage): add Dolt backend for version-controlled issue storage 2026-01-14 21:06:10 -08:00
credentials.go /{cmd,docs,internal}: support import export for dolt backends 2026-01-21 13:13:24 -08:00
credentials_test.go feat(federation): add SQL user authentication for peer sync 2026-01-20 21:15:11 -08:00
dependencies.go fix(dolt): parse timestamps from TEXT columns instead of direct time.Time scan 2026-01-21 20:48:47 -08:00
dirty.go fix(storage): normalize timestamps to UTC to prevent validation failures (#1123) 2026-01-15 19:22:50 -08:00
dolt_test.go fix(dolt): Optimize N+1 queries and add proper test timeouts 2026-01-16 14:50:28 -08:00
events.go /{cmd,docs,internal}: support import export for dolt backends 2026-01-21 13:13:24 -08:00
federation.go feat(federation): enhance bd federation status command (bd-wkumz.5) 2026-01-20 23:12:33 -08:00
federation_test.go feat(federation): implement bd federation sync command 2026-01-20 20:47:18 -08:00
history.go fix(dolt): parse timestamps from TEXT columns instead of direct time.Time scan 2026-01-21 20:48:47 -08:00
hub_spokes_integration_test.go test(dolt): add hub+spokes multi-clone integration tests 2026-01-21 19:21:38 -08:00
issues.go fix(dolt): parse timestamps from TEXT columns instead of direct time.Time scan 2026-01-21 20:48:47 -08:00
labels.go fix(lint): add nolint comments for gosec G201/G104 in dolt storage 2026-01-15 11:42:05 -08:00
peer_sync_integration_test.go feat(dolt): add peer-to-peer federation integration tests (bd-wkumz.9) 2026-01-20 23:14:58 -08:00
procattr_unix.go /internal/storage/dolt: fix windows build issue 2026-01-21 13:59:47 -08:00
procattr_windows.go /internal/storage/dolt: fix windows build issue 2026-01-21 13:59:47 -08:00
process_unix.go /internal/storage/dolt: fix windows build issue 2026-01-21 13:59:47 -08:00
process_windows.go /internal/storage/dolt: fix windows build issue 2026-01-21 13:59:47 -08:00
queries.go Fix Dolt backend init/daemon/doctor; prevent accidental SQLite artifacts; add integration tests; clean up lint (#1218) 2026-01-20 17:34:00 -08:00
rename.go fix(storage): normalize timestamps to UTC to prevent validation failures (#1123) 2026-01-15 19:22:50 -08:00
schema.go feat(federation): add SQL user authentication for peer sync 2026-01-20 21:15:11 -08:00
server.go /internal/storage/dolt: fix windows build issue 2026-01-21 13:59:47 -08:00
server_integration_test.go feat(federation): add dolt sql-server mode for daemon (bd-wkumz.2) 2026-01-20 20:48:24 -08:00
server_test.go feat(federation): add dolt sql-server mode for daemon (bd-wkumz.2) 2026-01-20 20:48:24 -08:00
store.go feat(dolt): add peer-to-peer federation integration tests (bd-wkumz.9) 2026-01-20 23:14:58 -08:00
transaction.go fix(dolt): parse timestamps from TEXT columns instead of direct time.Time scan 2026-01-21 20:48:47 -08:00
util.go fix(dolt): parse timestamps from TEXT columns instead of direct time.Time scan 2026-01-21 20:48:47 -08:00
versioned.go feat(dolt): add GetChangesSinceExport and CommitExists methods (bd-ejv83) 2026-01-20 20:47:48 -08:00
versioned_test.go feat(dolt): add GetChangesSinceExport and CommitExists methods (bd-ejv83) 2026-01-20 20:47:48 -08:00