Skip to content

Preserve observation history across repeated fetch runs - #54

Merged
CrisSTEM merged 1 commit into
mainfrom
feat/fetch-history-preservation
Apr 21, 2026
Merged

Preserve observation history across repeated fetch runs #54
CrisSTEM merged 1 commit into
mainfrom
feat/fetch-history-preservation

Conversation

@CrisSTEM

Copy link
Copy Markdown
Owner

Summary

  • preserve append-only observation history across repeated fetch runs
  • add a non-destructive storage.SyncPack path for fetch-time catalog/config synchronization
  • keep seed-demo as the explicit destructive reseed path
  • add CLI and storage tests covering repeated same-DB runs and multi-source accumulation
  • update runtime/docs language to reflect the new history-preserving fetch behavior

Testing

  • go test ./...
  • make ci

Notes

  • fetch now bootstraps the database and synchronizes the selected config pack before execution without clearing prior observation history
  • repeated same-DB runs preserve prior fetch_runs, append-only metric_snapshots, and deduplicated content_items
  • seed-demo remains the explicit catalog/bootstrap reseed path

Deferred

  • destructive catalog cleanup/garbage collection is still not part of the fetch path
  • scheduler execution, alert materialization, candidate discovery, API, and frontend work remain deferred

Fixes #45

@CrisSTEM
CrisSTEM merged commit d5a0dbf into main Apr 21, 2026
1 check passed
@CrisSTEM
CrisSTEM deleted the feat/fetch-history-preservation branch April 21, 2026 02:01
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.

feat(runtime): preserve append-only observation history across repeated fetch runs

1 participant