Skip to content

Commit a40c358

Browse files
steveyeggeDoxxedDoxieclaude
committed
fix: create wisps tables on gt Dolt server, not just bd's instance
Two separate Dolt processes serve different data: bd's Dolt (per-rig ports) has issues/wisps/labels tables, while gt's Dolt (port 3307) had empty databases. migrate-wisps created tables via bd sql (bd's server) but the reaper queries gt's server, causing "table not found" errors. Now additionally creates wisps tables directly on the gt Dolt server via MySQL protocol. Reaper gracefully handles missing issues/labels/ dependencies tables by skipping mail purge and stale issue checks. Fix-merged from PR #2529 with: deduplicated DDL constants (ensureWispsTable and ensureWispAuxTables now use shared wispsCreateDDL/wispAuxTableDDLs vars instead of duplicating the schema), and replaced unsafe fmt.Sprintf table existence check with parameterized information_schema query. Co-Authored-By: DoxxedDoxie <[email protected]> Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 7b32203 commit a40c358

2 files changed

Lines changed: 254 additions & 114 deletions

File tree

0 commit comments

Comments
 (0)