pub struct ReviewEntry {Show 14 fields
pub key: ReviewKey,
pub title: String,
pub author: String,
pub url: String,
pub repo: RepoRef,
pub kind: ReviewKind,
pub version: String,
pub in_queue: bool,
pub resolved: bool,
pub last_synced: DateTime<Utc>,
pub stack_id: Option<String>,
pub ancestors: Vec<ReviewKey>,
pub diff_stat: Option<String>,
pub description: Option<String>,
}Fields§
§key: ReviewKey§title: String§url: String§repo: RepoRefThe review’s repo, as reported by its source - kept even without a workspace so rq fetch/the TUI can resolve a canonical repo later without re-querying the source.
kind: ReviewKind§version: StringDiff ID / head SHA (or comma-joined stack of diff IDs for Phabricator) last seen from the source - independent of whether a workspace has caught up to it.
in_queue: boolTrue while the review is waiting on you; false once you’ve acted (e.g. requested changes) but the review itself hasn’t resolved yet.
resolved: boolThe review itself landed/closed/merged/abandoned (as opposed to just dropping out of your queue). A resolved review with no workspace is dropped on the next sync; one with a workspace has that workspace removed too, even if it has local changes.
last_synced: DateTime<Utc>§stack_id: Option<String>Id of the State::workspaces entry this review’s checked out in, if it’s been fetched.
Every member of a stack shares one.
ancestors: Vec<ReviewKey>The review’s ancestors within its stack, bottom-most first, excluding itself and any already-landed ones. Ancestors needn’t be tracked themselves (you may not be a reviewer on them).
diff_stat: Option<String>Diffstat fetched from the source as of last_synced (same summary format git diff --stat/jj diff --stat print) - None if the source couldn’t produce one. Refreshed on
every rq sync, independent of whether a local workspace exists.
description: Option<String>PR description / revision summary as of last_synced, refreshed on every rq sync. None
for entries synced before this was tracked, or if the source has none.