Skip to main content

Module ingest

Module ingest 

Source
Expand description

The ingest engine: pull a TicketSource and persist each [Ticket] as a Record, using optimistic concurrency (ADR 0005). Re-sync is idempotent — unchanged tickets (same body hash) are skipped, so a full board re-scan is cheap. Depends only on the trait + Store, never on a concrete connector.

Structs§

IngestSummary
How many tickets a sync created, updated, or left untouched.

Enums§

IngestError
Failures during ingest.

Functions§

ingest
Pull all changed tickets from source and upsert them into store, attributing writes to author.