pub async fn run_ingest(
runtime: &KhiveRuntime,
token: &NamespaceToken,
registry: &VerbRegistry,
opts: IngestOptions,
) -> Result<IngestReport>Expand description
Run one ingest pass over opts.repo: issues + PRs first (via gh, when
available), then commits (via local git log), each bounded by
opts.max_items and cursor-resumable (call again while the returned
IngestReport.done is false). Returns an error only for a failure that
aborts the whole pass (e.g. an unresolvable opts.project); per-record
failures are collected in IngestReport.warnings instead. See
crates/khive-pack-git/docs/api/ingest.md#run_ingest_with_commit_recovery for
why this has no self-healing recovery (unlike the verb-handler path).