PropositionReembedIncompleteException

class PropositionReembedIncompleteException constructor(val report: PropositionReembedReport, val failedPropositionIds: List<String>, cause: Throwable?, val notAttemptedPropositionIds: List<String> = emptyList()) : RuntimeException

A PropositionRepository.reembedAll that re-embedded some propositions but not all of them.

Thrown only after the run has finished: every proposition that COULD be embedded was written, and a backend that owns a vector index has put that index back. So catching this is safe — the store is consistent, just not uniformly on the current model. The failed propositions are still stored; a backend whose index no longer matches their old vector keeps them out of vector search rather than leaving a vector of the wrong shape.

Re-running PropositionRepository.reembedAll is the retry: it rewrites every vector again, so the ones that succeeded are rewritten harmlessly and the ones that failed get another attempt.

cause is the first failure; later ones (up to MAX_SUPPRESSED) are attached as suppressed exceptions, so a run against an embedding service that is down does not carry ten thousand identical stack traces.

Parameters

report

what the run did achieve: PropositionReembedReport.propositions counts only the propositions actually re-embedded

failedPropositionIds

ids of the propositions whose re-embed failed, in the order attempted

notAttemptedPropositionIds

ids of the propositions not tried because the run stopped after too many consecutive failures (see ConsecutiveFailureBreaker); they are handled as failed ones are

Constructors

Link copied to clipboard
constructor(report: PropositionReembedReport, failedPropositionIds: List<String>, cause: Throwable?, notAttemptedPropositionIds: List<String> = emptyList())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard

How many propositions were re-embedded before and after the failures.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard