pub struct VerifyJobV1 {Show 34 fields
pub generation: u64,
pub gone: bool,
pub member_body_id: Option<Hash>,
pub members_loaded: bool,
pub extraction_head: Option<Hash>,
pub extraction: Option<ExtractionV1>,
pub extraction_group: Vec<ExtractionGroupMember>,
pub ticket_id: Hash,
pub created_at_ms: u64,
pub pack_len: u64,
pub phase: Phase,
pub kind: Kind,
pub version: u32,
pub cursor: Vec<u8>,
pub etag: Option<String>,
pub entries: u64,
pub in_pack_bytes: u64,
pub external_bytes: u64,
pub windows_done: u32,
pub attempts: u32,
pub entry_cap: u32,
pub closure_cap: u32,
pub restarts: u8,
pub bad_signature: bool,
pub extract_needed: bool,
pub scan: Vec<u8>,
pub owed: u64,
pub final_pass: bool,
pub satisfying: Vec<Hash>,
pub last_relay_seq: Option<u64>,
pub closure_final_at_ms: Option<u64>,
pub packlist: Vec<Hash>,
pub packlist_prev: Option<Hash>,
pub outcome: Option<Outcome>,
}Expand description
The persisted state of one job, guarded by vc sub-class 0.
Fields§
§generation: u64Monotone across every mutation and retained Gone header.
gone: boolCleanup retained this header after deleting its facts and bodies.
member_body_id: Option<Hash>Immutable satisfying-member and packlist body in this pack’s vc4 range.
members_loaded: boolOnly hydrated jobs may replace the member lists.
extraction_head: Option<Hash>First consuming Advance’s immutable head, checked before effects.
extraction: Option<ExtractionV1>Bounded extraction cursors; bulk parts, receipts and offsets stay in vc4.
extraction_group: Vec<ExtractionGroupMember>Ordered, atomically claimed first-Advance extraction context. Standalone jobs await a consuming Advance before an extraction group is claimed.
ticket_id: HashThe ticket this job serves; the job lives while that ticket does.
created_at_ms: u64That ticket’s creation time: the start of the membership lag window.
pack_len: u64Declared pack length.
phase: PhaseCurrent phase.
kind: KindUpload type, known after the first window.
version: u32Pack format version, known after the first window.
cursor: Vec<u8>WindowCursor bytes at the last checkpoint; empty before the first.
etag: Option<String>Object-store etag every window read is bound to (SPEC-PACKFILE §11).
entries: u64Entries decoded up to cursor.
in_pack_bytes: u64Sum of first-occurrence decoded sizes.
external_bytes: u64Sum of distinct external base and chain-intermediate sizes.
windows_done: u32Windows read so far, for Retry-After.
attempts: u32Slices started on the current cursor.
entry_cap: u32Entries one slice may decode; halved after repeated failures.
closure_cap: u32Closure ids per slice; repeated interrupted passes shrink this to one.
restarts: u8Times a source change restarted the job.
bad_signature: boolA bad signature was seen; reported only if the pack decodes to Done.
extract_needed: boolAn entry needs extraction (see Outcome::ExtractionUnavailable).
scan: Vec<u8>Last examined closure id (or emit page); advances with guarded deletions.
owed: u64Owed closure children seen in the current pass.
final_pass: boolWhether the current closure pass is the final recheck.
satisfying: Vec<Hash>Distinct member packs that satisfied a child.
last_relay_seq: Option<u64>The last relay sequence this job enqueued.
closure_final_at_ms: Option<u64>When the final closure recheck finished.
packlist: Vec<Hash>The packs a packlist names.
packlist_prev: Option<Hash>Verified MKPL predecessor, checkpointed with its decoded header.
outcome: Option<Outcome>A terminal non-persisted result.