Skip to content

Commit eec849d

Browse files
committed
Rename WaitingForParent => ArtifactsReady
1 parent 6b7b893 commit eec849d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

database/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ pub struct ArtifactCollection {
802802
#[derive(Debug)]
803803
pub enum BenchmarkRequestStatus {
804804
WaitingForArtifacts,
805-
WaitingForParent,
805+
ArtifactsReady,
806806
InProgress,
807807
Completed,
808808
}
@@ -811,7 +811,7 @@ impl fmt::Display for BenchmarkRequestStatus {
811811
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
812812
match self {
813813
BenchmarkRequestStatus::WaitingForArtifacts => write!(f, "waiting_for_artifacts"),
814-
BenchmarkRequestStatus::WaitingForParent => write!(f, "waiting_for_parent"),
814+
BenchmarkRequestStatus::ArtifactsReady => write!(f, "artifacts_ready"),
815815
BenchmarkRequestStatus::InProgress => write!(f, "in_progress"),
816816
BenchmarkRequestStatus::Completed => write!(f, "completed"),
817817
}

database/src/pool.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ mod tests {
389389
"parent-sha-1",
390390
42,
391391
time,
392-
BenchmarkRequestStatus::WaitingForParent,
392+
BenchmarkRequestStatus::ArtifactsReady,
393393
"llvm",
394394
"",
395395
);
@@ -399,15 +399,15 @@ mod tests {
399399
"parent-sha-2",
400400
32,
401401
time,
402-
BenchmarkRequestStatus::WaitingForParent,
402+
BenchmarkRequestStatus::ArtifactsReady,
403403
"cranelift",
404404
"",
405405
);
406406

407407
let release_benchmark_request = BenchmarkRequest::create_release(
408408
"1.8.0",
409409
time,
410-
BenchmarkRequestStatus::WaitingForParent,
410+
BenchmarkRequestStatus::ArtifactsReady,
411411
"cranelift,llvm",
412412
"",
413413
);

site/src/job_queue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async fn enqueue_master_commits(ctxt: &Arc<SiteCtxt>) {
2424
&master_commit.parent_sha,
2525
pr,
2626
master_commit.time,
27-
BenchmarkRequestStatus::WaitingForParent,
27+
BenchmarkRequestStatus::ArtifactsReady,
2828
"",
2929
"",
3030
);

0 commit comments

Comments
 (0)