Skip to main content

complete

Function complete 

Source
pub fn complete(
    node: &str,
    status: Option<&str>,
    assignee: &str,
    gen: Option<u64>,
) -> Result<String>
Expand description

Close a sitting: remember the lesson when there is one, fire the island the issue’s title activates, complete the session node, and learn from the outcome when one is named. Without a lesson the report says so, because a sitting that taught nothing worth two sentences is rare and worth noticing.

§Errors

Any habitat refusing; the pack refuses a lesson longer than two sentences, the claim graph a status that is not terminal. Finish a session node only if gen is still the live lease.

§Errors

The claim graph refuses a stale generation, a missing actor, or a status that is not terminal.