Skip to content

Commit

Permalink
report build failures as failures
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcstephens committed Feb 1, 2024
1 parent 7db074d commit 909000d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions ofborg/src/message/buildresult.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ impl From<BuildStatus> for Conclusion {
match status {
BuildStatus::Skipped => Conclusion::Skipped,
BuildStatus::Success => Conclusion::Success,
BuildStatus::Failure => Conclusion::Neutral,
BuildStatus::Failure => Conclusion::Failure,
BuildStatus::HashMismatch => Conclusion::Failure,
BuildStatus::TimedOut => Conclusion::Neutral,
BuildStatus::UnexpectedError { .. } => Conclusion::Neutral,
BuildStatus::UnexpectedError { .. } => Conclusion::Failure,
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions ofborg/src/tasks/githubcommentposter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ patching script interpreter paths in /nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29
started_at: None,
completed_at: Some("2023-04-20T13:37:42Z".to_string()),
status: Some(CheckRunState::Completed),
conclusion: Some(Conclusion::Neutral),
conclusion: Some(Conclusion::Failure),
details_url: Some(
"https://logs.ofborg.org/?key=nixos/nixpkgs.2345&attempt_id=neatattemptid"
.to_string()
Expand Down Expand Up @@ -621,7 +621,7 @@ patching script interpreter paths in /nix/store/pcja75y9isdvgz5i00pkrpif9rxzxc29
started_at: None,
completed_at: Some("2023-04-20T13:37:42Z".to_string()),
status: Some(CheckRunState::Completed),
conclusion: Some(Conclusion::Neutral),
conclusion: Some(Conclusion::Failure),
details_url: Some(
"https://logs.ofborg.org/?key=nixos/nixpkgs.2345&attempt_id=neatattemptid"
.to_string()
Expand Down

0 comments on commit 909000d

Please sign in to comment.