pub enum SemanticProgressEvent {
Show 16 variants
SelectionStart,
SelectionDone,
PacketReplayStart,
PacketReplayProgress,
PacketReplayDone,
EmbedBatchStart,
EmbedBatchDone,
StagingWriteStart,
StagingWriteDone,
CheckpointSaveStart,
CheckpointSaveDone,
PublishStart,
PublishDone,
Error,
Cancelled,
Complete,
}Expand description
The 16 named transition events. Strings deliberately mirror the
phase + sub_phase columns in each emitted record so a jq user
can filter on event name OR phase as they prefer.
Variants§
SelectionStart
Backfill is about to materialize the message-selection query.
SelectionDone
Selection finished; downstream knows how many candidate rows will be considered for this batch.
PacketReplayStart
Canonical packet replay is about to begin (envelope fetch + per-conversation message materialization + packet build).
PacketReplayProgress
Periodic per-conversation tick during packet replay so a stuck conversation does not look like a stuck model.
PacketReplayDone
Packet replay finished — EmbeddingInputs are ready.
EmbedBatchStart
About to call embedder.embed_batch_sync for a single batch.
EmbedBatchDone
embedder.embed_batch_sync returned for this batch.
StagingWriteStart
About to write the embedded vectors into the staging index.
StagingWriteDone
Staging write returned.
CheckpointSaveStart
About to fsync the updated manifest with this batch’s checkpoint.
CheckpointSaveDone
Manifest fsync returned.
PublishStart
About to atomically rename the staged index into the published index path (only fires on the batch that completes the tier).
PublishDone
Publish rename + fsync done; tier is queryable.
Error
Backfill aborted with an error.
Cancelled
Backfill cancelled cooperatively (signal, idle-yield, etc).
Complete
All work finished cleanly (terminal — emitted exactly once per run, after publish_done or in the no-op path).
Implementations§
Source§impl SemanticProgressEvent
impl SemanticProgressEvent
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
Stable snake_case string for the event field. Used both as the
JSONL event value and (with phase()) as a discriminator in
downstream consumers.
Trait Implementations§
Source§impl Clone for SemanticProgressEvent
impl Clone for SemanticProgressEvent
Source§fn clone(&self) -> SemanticProgressEvent
fn clone(&self) -> SemanticProgressEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SemanticProgressEvent
impl Debug for SemanticProgressEvent
Source§impl PartialEq for SemanticProgressEvent
impl PartialEq for SemanticProgressEvent
Source§fn eq(&self, other: &SemanticProgressEvent) -> bool
fn eq(&self, other: &SemanticProgressEvent) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for SemanticProgressEvent
impl Serialize for SemanticProgressEvent
impl Copy for SemanticProgressEvent
impl Eq for SemanticProgressEvent
impl StructuralPartialEq for SemanticProgressEvent
Auto Trait Implementations§
impl Freeze for SemanticProgressEvent
impl RefUnwindSafe for SemanticProgressEvent
impl Send for SemanticProgressEvent
impl Sync for SemanticProgressEvent
impl Unpin for SemanticProgressEvent
impl UnsafeUnpin for SemanticProgressEvent
impl UnwindSafe for SemanticProgressEvent
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> 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