Skip to content

Commit

Permalink
remove now-useless planning comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gburgessiv committed Nov 2, 2020
1 parent 0933825 commit cb5ed5b
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/lab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,24 +117,6 @@ fn is_successful_status(s: BuildbotResult) -> bool {
s == BuildbotResult::Success || s == BuildbotResult::Warnings
}

/// Okay, starting from nothing:
///
/// Need to produce a HashMap<StringBotName, Bot>
/// Bots are:
/// - a State (building, idle, offline)
/// - a MostRecentBuild (CompletedBuild)
/// - a FirstFailingBuild (CompletedBuild)
///
/// The idea is:
/// - grab the most recent build request ID, then track that for incremental updates (that has
/// {builderid, buildsetid, buildrequestid} triples)
/// - on the first sync, find the most recent builds for each builder, then the first failing for
/// each.
/// - after that, look at BuildRequestIDs that were accepted & pending
///
/// ^^ that said, builds that are _chronologically_ sequenced after one another (in source sets)
/// can complete out-of-order. that's going to require extra bookkeeping.
#[derive(Debug, Deserialize)]
struct BuilderInfo {
#[serde(rename = "builderid")]
Expand Down

0 comments on commit cb5ed5b

Please sign in to comment.