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: boolfalse 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: boolfalse 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: booltrue 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: u64annotates 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: u64References 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: u64precedes edges created from a commit’s parents[] to the commit
itself (ADR-088 Amendment 1 ingest enrichment).
commit_embeddings_truncated: u64Commits 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
impl Debug for IngestReport
Source§impl Default for IngestReport
impl Default for IngestReport
Source§fn default() -> IngestReport
fn default() -> IngestReport
Auto Trait Implementations§
impl Freeze for IngestReport
impl RefUnwindSafe for IngestReport
impl Send for IngestReport
impl Sync for IngestReport
impl Unpin for IngestReport
impl UnsafeUnpin for IngestReport
impl UnwindSafe for IngestReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more