beads/internal
Roland Tritsch 5264d7aa60
fix(daemon): prevent zombie state after database file replacement (#1213)
fix(daemon): prevent zombie state after database file replacement

Adds checkFreshness() to health check paths (GetMetadata, GetConfig, GetAllConfig) and refactors reconnect() to validate new connection before closing old.

PR-URL: https://github.com/steveyegge/beads/pull/1213
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-21 22:46:59 -08:00
..
audit feat(audit): add append-only agent audit trail (.beads/interactions.jsonl) 2025-12-20 03:24:51 -08:00
autoimport fix(autoimport): auto-correct deleted status to tombstone for JSONL compatibility (#1231) 2026-01-21 21:50:38 -08:00
beads refactor(types): remove Gas Town type constants from beads core (bd-w2zz4) 2026-01-21 10:36:59 -08:00
compact feat(context): centralize RepoContext API for git operations (#1102) 2026-01-15 07:55:08 -08:00
config feat(sync): add per-field merge strategies for conflict resolution 2026-01-21 19:40:39 -08:00
configfile 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
daemon feat(context): centralize RepoContext API for git operations (#1102) 2026-01-15 07:55:08 -08:00
debug test(coverage): add tests to meet 45% CI threshold 2025-12-18 17:45:49 -05:00
export test(coverage): add tests to meet 45% CI threshold 2025-12-18 17:45:49 -05:00
formula test: add gate field parsing tests (bd-4bt1) 2026-01-02 13:45:10 -08:00
git feat(hooks): add jujutsu (jj) version control support 2026-01-20 19:13:02 -08:00
hooks refactor: remove unused bd pin/unpin/hook commands (bd-x0zl) 2025-12-27 16:02:15 -08:00
idgen fix(idgen): correct test vectors in hash_test.go 2025-12-19 18:13:56 -08:00
importer /internal/importer/importer_test.go: remove skipped tests 2026-01-21 13:40:06 -08:00
linear fix(linear): use project_id when creating issues via sync --push (GH#973) (#1012) 2026-01-10 23:46:00 -08:00
lockfile fix: eliminate 5+ second delays from stale daemon.lock files (bd-htwx) 2025-12-31 13:03:49 -08:00
merge fix(merge): add QualityScore field to merge Issue struct 2026-01-11 18:46:12 -08:00
molecules refactor(types): remove Gas Town type constants from beads core (bd-w2zz4) 2026-01-21 10:36:59 -08:00
recipes feat(setup): add Codex CLI setup recipe (#1243) 2026-01-21 21:50:01 -08:00
routing fix(routing): default to Maintainer when no git remote exists (#1185) 2026-01-19 10:11:00 -08:00
rpc fix(daemon): prevent zombie state after database file replacement (#1213) 2026-01-21 22:46:59 -08:00
storage fix(daemon): prevent zombie state after database file replacement (#1213) 2026-01-21 22:46:59 -08:00
syncbranch fix(sync): use sync-branch worktree for --full --no-pull (#1183) 2026-01-20 14:06:22 -08:00
templates/roles chore: add role templates and gitignore bd_test 2026-01-13 18:03:43 -08:00
testutil Fix test compilation errors: add context.Background() to sqlite.New() calls 2025-11-21 14:57:18 -05:00
timeparsing feat(dates): add --due and --defer timestamp options with natural language parsing (#847) 2026-01-01 20:06:13 -08:00
types fix(orphans): honor --db flag for cross-repo orphan detection (#1200) 2026-01-21 19:52:31 -08:00
ui feat(ux): visual improvements for list tree, graph, and show commands 2026-01-08 20:50:56 -08:00
util fix(types): consolidate enhancement alias and fix update command 2026-01-16 16:02:51 -08:00
utils fix(utils): prevent nil pointer panic in ResolvePartialID (#1132) 2026-01-17 00:00:56 -08:00
validation refactor(types): remove Gas Town type constants from beads core (bd-w2zz4) 2026-01-21 10:36:59 -08:00