fix(ci): restore post-merge test gates

This commit is contained in:
Zhengchao An
2026-08-24 16:42:03 +08:00
committed by GitHub
parent 1607e9a376
commit 507faf3a6a
3 changed files with 104 additions and 81 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ fn find_part_files(temp_dir: &str, bucket: &str, object_key: &str) -> io::Result
}
fn part_files_total_size(part_files: &[PathBuf]) -> io::Result<u64> {
part_files.iter().try_fold(0, |total, path| {
part_files.iter().try_fold(0_u64, |total, path| {
let metadata = fs::symlink_metadata(path)
.map_err(|error| io::Error::new(error.kind(), format!("failed to stat {}: {error}", path.display())))?;
if !metadata.file_type().is_file() {