Commit af72ae8
Terraphim CI
refactor: replace custom SQLite store with terraphim_persistence (Refs #187)
- Remove direct rusqlite dependency from terraphim_usage
- Implement Persistable trait for AgentMetricsRecord, ExecutionRecord,
ProviderUsageSnapshot, and BudgetSnapshotRecord
- Use opendal-backed storage (SQLite via terraphim_persistence default)
- All 10 tests pass with memory persistence backend
- Leverages existing WAL, compression, and fallback mechanisms1 parent 983acf5 commit af72ae8
3 files changed
Lines changed: 347 additions & 367 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments