Skip to content

chore: yaad backup scheduler + intraprocess lock fix; wire hourly snapshots - #197

Merged
Patel230 merged 1 commit into
mainfrom
chore/yaad-backup-scheduler
Aug 15, 2026
Merged

chore: yaad backup scheduler + intraprocess lock fix; wire hourly snapshots#197
Patel230 merged 1 commit into
mainfrom
chore/yaad-backup-scheduler

Conversation

@Patel230

Copy link
Copy Markdown
Contributor

Bumps external/yaad to fbc0466 (PRs #53–58) and wires yaad's new backup scheduler into hawk's session startup.

yaad changes pulled in:

hawk wiring:

  • external/yaad → fbc0466; go.mod pseudo-version aligned (release-parity check green)
  • YaadBridge.EnsureBackups() starts the hourly snapshot loop (~/.yaad/data/backups, keep 7, 30d max age) — called only from configureSessionHeavy (long-lived sessions, via cmd/options.go), never from bare NewYaadBridge() so diagnostics/tests don't leak schedulers
  • per-dbDir claim map dedups repeated bridges; YaadBridge.Close() stops the loop and releases the claim (with race-clean regression test)
  • bridge now stores dbDir; no interface changes

- external/yaad -> fbc0466 (PRs #53-58: incremental HNSW, graph
  restore, backup rotation, backup scheduler, refcounted process lock)
- go.mod pseudo-version bumped to match the gitlink (parity guard)
- YaadBridge starts the hourly yaad backup scheduler once per process
  on the first ready bridge (~/.yaad/data/backups, keep 7, 30d)
@Patel230
Patel230 force-pushed the chore/yaad-backup-scheduler branch from aa0dbe3 to d8e7671 Compare August 15, 2026 14:02
@Patel230
Patel230 merged commit b1299f2 into main Aug 15, 2026
45 of 46 checks passed
@Patel230
Patel230 deleted the chore/yaad-backup-scheduler branch August 15, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant