pub struct Pending {Show 14 fields
pub ref_id: String,
pub kind: CommentKind,
pub key: String,
pub newest: String,
pub author: String,
pub association: String,
pub gate_author: String,
pub gate_association: String,
pub body: String,
pub file: Option<String>,
pub line: Option<i64>,
pub hunk: String,
pub url: String,
pub at: String,
}Expand description
One thing somebody said that spar has not answered.
Fields§
§ref_id: StringThe handle spar prints in the prompt and matches an answer back on: “c1”, “c2”.
kind: CommentKind§key: StringWhat the watermark is keyed on.
newest: StringThe newest message in it that spar did not write, as an opaque id. The watermark’s value, so a thread that has moved is read again.
association: StringThe least privileged author in the thread, and their association.
The trust gate reads these rather than the newest message’s. A thread is one conversation and the whole of it is what the agents are handed, so a stranger’s request followed by a maintainer’s “will look” would otherwise read as a maintainer’s thread and the stranger’s change could be implemented. Waiting for anybody with write access to say anything at all is not a bar.
gate_association: String§body: StringEvery message in the thread, oldest first, each attributed. A request refined three replies down is not the opening sentence, and judging it on the opening sentence answers a question nobody asked.
file: Option<String>§line: Option<i64>§hunk: StringThe diff hunk GitHub shows above an inline thread.
url: String§at: String