You need to sign in or sign up before continuing.
Commit 50cef84f authored by 郭阔's avatar 郭阔

fix: summary 结果行补 WARNING ⚠ 档(原二值映射把部分交付显示为 ✗ 执行失败)

parent 0620c20f
...@@ -205,7 +205,7 @@ def infer_push_status(messages): ...@@ -205,7 +205,7 @@ def infer_push_status(messages):
def format_summary(result): def format_summary(result):
state = "成功" if result["status"] == "SUCCESS" else "失败" state = "成功" if result["status"] == "SUCCESS" else "失败"
icon = "✓" if result["status"] == "SUCCESS" else "✗" icon = {"SUCCESS": "✓", "WARNING": "⚠"}.get(result["status"], "✗")
lines = [ lines = [
f"{icon} 执行{state} | 成功 {result['succeeded_count']} | 失败 {result['failed_count']} | 目标 {result['requested_count']}", f"{icon} 执行{state} | 成功 {result['succeeded_count']} | 失败 {result['failed_count']} | 目标 {result['requested_count']}",
"", "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment