fix(sync): 规范 release flow 状态码解析

This commit is contained in:
2026-07-31 17:45:50 +08:00
parent 6af7706190
commit 1e466d3374
2 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -2519,7 +2519,7 @@ fn build_resource_state_report(state_dir: &Path) -> anyhow::Result<serde_json::V
let flow_status_code = status_file
.as_ref()
.and_then(|status| status.status_code.as_deref())
.and_then(ReleaseFlowStatusCode::from_str)
.and_then(|code| code.parse::<ReleaseFlowStatusCode>().ok())
.or_else(|| {
if version_state
.as_ref()