pub struct Housekeeping {
pub folded: usize,
pub unreadable: usize,
pub orphaned_worktrees: usize,
pub cache_files: usize,
pub cache_freed: u64,
pub questions_abandoned: usize,
}Expand description
What one janitor pass did, for the caller’s log line.
Fields§
§folded: usizeRuns folded (worktrees dropped).
unreadable: usizeRuns fold_due left alone because their run.json genuinely could
not be read - missing, broken JSON, a schema this build has never
heard of - as opposed to one merely written by a different schema
number, which is folded like any other (see the module docs). This was
defined but never incremented for a long stretch of this module’s
history, which is exactly how 90 of 93 runs sat unfolded on one
operator’s machine with nothing anywhere saying why: every one of them
was misclassified as unreadable by a schema check that has since been
narrowed to only the runs that actually are.
orphaned_worktrees: usizeWorktrees under the worktree bay reclaimed because no run record in
runs/ claims them anymore (see fold_orphaned_worktrees).
cache_files: usizeFiles dropped from the shared cache.
cache_freed: u64Bytes freed from the shared cache.
questions_abandoned: usizeOpen questions abandoned because the run that asked them has already settled where nothing is coming back to read an answer.
Trait Implementations§
Source§impl Clone for Housekeeping
impl Clone for Housekeeping
Source§fn clone(&self) -> Housekeeping
fn clone(&self) -> Housekeeping
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for Housekeeping
Source§impl Debug for Housekeeping
impl Debug for Housekeeping
Source§impl Default for Housekeeping
impl Default for Housekeeping
Source§fn default() -> Housekeeping
fn default() -> Housekeeping
impl Eq for Housekeeping
Source§impl PartialEq for Housekeeping
impl PartialEq for Housekeeping
impl StructuralPartialEq for Housekeeping
Auto Trait Implementations§
impl Freeze for Housekeeping
impl RefUnwindSafe for Housekeeping
impl Send for Housekeeping
impl Sync for Housekeeping
impl Unpin for Housekeeping
impl UnsafeUnpin for Housekeeping
impl UnwindSafe for Housekeeping
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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<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