diff --git a/infrastructure/src/official_download.rs b/infrastructure/src/official_download.rs index dce51bf..c29f158 100644 --- a/infrastructure/src/official_download.rs +++ b/infrastructure/src/official_download.rs @@ -575,7 +575,7 @@ impl OfficialResourcePullService { &error, )); return Err(format!( - "官方资源下载中断:URL 已进入 quarantine 并跳过本轮,不会发布不完整资源;url={url} quarantine={};{}", + "官方资源下载失败:URL 已进入 quarantine,中止本轮同步、不发布不完整资源;url={url} quarantine={};{}", self.download_quarantine_path().display(), error.message )); @@ -1059,7 +1059,6 @@ impl OfficialResourcePullService { failure_kind: error.failure_kind().map(ToOwned::to_owned), http_status: error.http_status(), retryable: error.retryable(), - skipped_this_run: true, last_error: error.message.clone(), }, ); @@ -1508,7 +1507,6 @@ struct OfficialDownloadQuarantineEntry { failure_kind: Option, http_status: Option, retryable: Option, - skipped_this_run: bool, last_error: String, } @@ -2826,7 +2824,6 @@ exit 22 assert_eq!(entry.failure_kind.as_deref(), Some("http_not_found")); assert_eq!(entry.retryable, Some(false)); assert_eq!(entry.attempts, 1); - assert!(entry.skipped_this_run); assert!(service.read_download_manifest().unwrap().entries.is_empty()); }