1
Fork 0

Print the compared SHAs

This commit is contained in:
Jakub Beránek 2025-03-13 13:18:47 +01:00
parent 208cef45fc
commit 2192d5c4e2
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -14,6 +14,8 @@ type JobName = String;
pub fn post_merge_report(job_db: JobDatabase, parent: Sha, current: Sha) -> anyhow::Result<()> { pub fn post_merge_report(job_db: JobDatabase, parent: Sha, current: Sha) -> anyhow::Result<()> {
let jobs = download_all_metrics(&job_db, &parent, &current)?; let jobs = download_all_metrics(&job_db, &parent, &current)?;
let diffs = aggregate_test_diffs(&jobs)?; let diffs = aggregate_test_diffs(&jobs)?;
println!("Comparing {parent} (base) -> {current} (this PR)\n");
report_test_changes(diffs); report_test_changes(diffs);
Ok(()) Ok(())