Skip to content

Temporarily disable release artifact benchmarking #2172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 12 additions & 11 deletions site/src/request_handlers/next_artifact.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,19 @@ use collector::api::next_artifact;
use std::sync::Arc;

pub async fn handle_next_artifact(ctxt: Arc<SiteCtxt>) -> next_artifact::Response {
// Temporarily disabled while we migrate to a new collector machine
// Prefer benchmarking released artifacts first
match ctxt.missing_published_artifacts().await {
Ok(next_artifact) => {
if let Some(next_artifact) = next_artifact.into_iter().next() {
log::debug!("next_artifact: {next_artifact}");
return next_artifact::Response {
artifact: Some(next_artifact::NextArtifact::Release(next_artifact)),
};
}
}
Err(error) => log::error!("Failed to fetch missing artifacts: {error:?}"),
}
// match ctxt.missing_published_artifacts().await {
// Ok(next_artifact) => {
// if let Some(next_artifact) = next_artifact.into_iter().next() {
// log::debug!("next_artifact: {next_artifact}");
// return next_artifact::Response {
// artifact: Some(next_artifact::NextArtifact::Release(next_artifact)),
// };
// }
// }
// Err(error) => log::error!("Failed to fetch missing artifacts: {error:?}"),
// }

let next_commit = ctxt.missing_commits().await.into_iter().next();

Expand Down
Loading