Skip to content

Commit 54257f3

Browse files
authored
Merge pull request #2332 from Jamesbarford/fix/collapsed-github-message-duplicate
Add temporary comment to "PR already queued" message
2 parents ab52ea0 + 8243966 commit 54257f3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

site/src/request_handlers/github.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,11 @@ async fn record_try_benchmark_request_without_artifacts(
102102
log::info!(
103103
"Failed to insert try benchmark request, a request for PR`#{pr}` already exists"
104104
);
105-
"This pull request was already queued before and is awaiting a try build to finish."
106-
.to_string()
105+
format!(
106+
"This pull request is already queued and waiting for a try build to finish.
107+
108+
{COMMENT_MARK_TEMPORARY}"
109+
)
107110
}
108111
Ok(BenchmarkRequestInsertResult::Inserted) => get_awaiting_on_bors_message(),
109112
Err(e) => {

0 commit comments

Comments
 (0)