Skip to main content

IngestReport

Struct IngestReport 

Source
pub struct IngestReport {
Show 15 fields pub commits_ingested: u64, pub commits_skipped_existing: u64, pub issues_ingested: u64, pub issues_skipped_existing: u64, pub prs_ingested: u64, pub prs_skipped_existing: u64, pub gh_available: bool, pub warnings: Vec<String>, pub done: bool, pub project_id: Option<String>, pub project_created: bool, pub reference_edges_created: u64, pub reference_edges_unresolved: u64, pub parent_edges_created: u64, pub commit_embeddings_truncated: u64,
}
Expand description

Outcome of one ingest pass. Serializable so CLI callers can emit it as JSON.

Fields§

§commits_ingested: u64§commits_skipped_existing: u64§issues_ingested: u64§issues_skipped_existing: u64§prs_ingested: u64§prs_skipped_existing: u64§gh_available: bool

false when the gh CLI was not found on PATH — issues/PRs were skipped but commits still ingested (ADR-088 §5 graceful-absence rule).

§warnings: Vec<String>§done: bool

false when max_items was exhausted before this pass reached the end of every included kind’s history — callers loop until true (ADR-088 Amendment 1). Always true for an unbounded (max_items: None) pass.

§project_id: Option<String>

The repo-anchor project entity id this pass resolved (or the verb-level caller created).

§project_created: bool

true when the git.digest verb auto-created the project anchor because none was found (ADR-088 Amendment 1) — never set by run_ingest itself, only by the verb handler after it returns.

§reference_edges_created: u64

annotates edges created from a Closes/Fixes/Resolves #N or bare #N reference in a commit message or issue/PR body to the referenced issue/PR note (ADR-088 Amendment 1 ingest enrichment).

§reference_edges_unresolved: u64

References that named a number this pass could not resolve to an ingested issue/PR note within the same project — skipped, not an error (fail-open).

§parent_edges_created: u64

precedes edges created from a commit’s parents[] to the commit itself (ADR-088 Amendment 1 ingest enrichment).

§commit_embeddings_truncated: u64

Commits whose masked content exceeded MAX_COMMIT_EMBED_BYTES: the full commit note was stored and FTS-indexed unchanged, but the vector embedding input was truncated to a UTF-8-safe head prefix at the cap (issue #764). Only incremented for successfully created commits.

Trait Implementations§

Source§

impl Debug for IngestReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for IngestReport

Source§

fn default() -> IngestReport

Returns the “default value” for a type. Read more
Source§

impl Serialize for IngestReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<A, B, T> HttpServerConnExec<A, B> for T
where B: Body,

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more