pub fn publish(
forge: &dyn Forge,
req: &Request,
review_head: &str,
batch: &Batch,
) -> Result<PublishOutcome, ForgeError>Expand description
The whole publish, forge side: ask the forge where the request is now, refuse if it moved, send the batch, fetch the threads again.
One function so the reviewer and dfr findings --post cannot order these
differently. It runs on whichever thread the caller chooses; it touches
nothing of the review’s.