Expand description
The provider boundary: TicketSource (ADR 0010).
TicketSource is the ticket analogue of gonzalo_vector::Embedder — it
keeps gonzalo provider-agnostic about where tickets come from. Phase 1 is
read-only (fetch_changed / get); write-back (set_state, comment) is
capability-gated and defaults to Unsupported, so a read-only mirror need
implement only the two readers.
Structs§
- Capabilities
- What a source supports, negotiated up front rather than discovered at
runtime — this is what keeps the trait free of
if provider == …branches. - Cursor
- An opaque, per-source incremental-sync cursor — a timestamp, a JQL bound, a
GraphQL page cursor, or an event sync token, depending on the provider.
Deliberately not gonzalo’s
Revision: the external system owns its own change watermark. - Page
- A page of changed tickets plus the cursor to resume from. Does not derive
Eqbecause [Ticket] does not (itsfieldsholdserde_json::Value).
Enums§
- Source
Error - Errors a source can surface.
Traits§
- Ticket
Source - A source of tickets from an external platform.