You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
relayburn-ingest (#245) needs two read APIs from relayburn-ledger that
exist in the TS @relayburn/ledger but not yet on the Rust side after the
SQLite redesign:
Add Ledger::list_content_session_ids (or a query_content_session_ids
free function) that runs SELECT DISTINCT session_id FROM content and
returns the set.
Decide the home for the Config type and load_config. Either a new relayburn-config crate (TS @relayburn/ledger co-locates it; Rust
could too) or extend relayburn-ledger. Schema mirrors packages/ledger/src/config.ts.
Parent: #243 / #259
Context
relayburn-ingest(#245) needs two read APIs fromrelayburn-ledgerthatexist in the TS
@relayburn/ledgerbut not yet on the Rust side after theSQLite redesign:
Ledger::list_content_session_ids() -> Result<HashSet<String>>:distinct
session_idvalues present incontent.sqlite. The TSadapter exposes this as
listContentSessionIds(). Powers the skipfilter in
reingest_missing_content([Rust port] relayburn-ingest: gap-warning state machine + reingest_missing_content #278).loadConfig() -> Result<BurnConfig>: loads the user-level configthat includes
content.store: 'off' | 'summary' | 'full'. Powersthe parser-options decision in every per-harness ingest helper, plus
the gap-warning gating in [Rust port] relayburn-ingest: gap-warning state machine + reingest_missing_content #278.
Scope
Ledger::list_content_session_ids(or aquery_content_session_idsfree function) that runs
SELECT DISTINCT session_id FROM contentandreturns the set.
Configtype andload_config. Either a newrelayburn-configcrate (TS@relayburn/ledgerco-locates it; Rustcould too) or extend
relayburn-ledger. Schema mirrorspackages/ledger/src/config.ts.Acceptance
cargo test -p relayburn-ledgercovers both APIs.relayburn-ingest([Rust port] relayburn-ingest: per-harness orchestration loops #277, [Rust port] relayburn-ingest: gap-warning state machine + reingest_missing_content #278) consumes the new APIs without acircular dep.