fix(awooop): clarify legacy callback snapshot gaps
This commit is contained in:
@@ -582,7 +582,7 @@ def _callback_reply_audit_summary_from_row(
|
||||
next_action = "press_telegram_detail_or_history"
|
||||
elif captured > 0 and (missing > 0 or partial > 0):
|
||||
snapshot_status = "partial"
|
||||
next_action = "press_telegram_detail_or_history_after_rollout"
|
||||
next_action = "review_legacy_callback_snapshot_gap"
|
||||
elif partial > 0:
|
||||
snapshot_status = "partial"
|
||||
next_action = "press_telegram_detail_or_history_after_rollout"
|
||||
|
||||
@@ -680,7 +680,7 @@ def test_list_callback_replies_response_preserves_callback_evidence() -> None:
|
||||
"callback_snapshot_missing_total": 1,
|
||||
"callback_incident_total": 2,
|
||||
"snapshot_status": "partial",
|
||||
"next_action": "press_telegram_detail_or_history_after_rollout",
|
||||
"next_action": "review_legacy_callback_snapshot_gap",
|
||||
"latest_outbound_at": datetime(2026, 5, 18, 7, 40, 0),
|
||||
"latest_callback_at": datetime(2026, 5, 18, 7, 31, 37),
|
||||
},
|
||||
@@ -777,7 +777,7 @@ def test_callback_reply_audit_summary_marks_mixed_legacy_snapshots_partial() ->
|
||||
assert summary["callback_snapshot_captured_total"] == 1
|
||||
assert summary["callback_snapshot_missing_total"] == 2
|
||||
assert summary["snapshot_status"] == "partial"
|
||||
assert summary["next_action"] == "press_telegram_detail_or_history_after_rollout"
|
||||
assert summary["next_action"] == "review_legacy_callback_snapshot_gap"
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
||||
@@ -2853,6 +2853,7 @@
|
||||
"none": "No follow-up needed",
|
||||
"press_telegram_detail_or_history": "Press Telegram Detail / History once to create callback evidence",
|
||||
"press_telegram_detail_or_history_after_rollout": "Press Telegram Detail / History again to capture the new snapshot",
|
||||
"review_legacy_callback_snapshot_gap": "New callbacks are captured; legacy missing snapshots do not need another press",
|
||||
"review_outbound_source_refs": "Review outbound source_refs gaps",
|
||||
"observed": "Wait for the next callback evidence"
|
||||
}
|
||||
|
||||
@@ -2854,6 +2854,7 @@
|
||||
"none": "不需補動作",
|
||||
"press_telegram_detail_or_history": "按一次 Telegram 詳情 / 歷史產生 callback evidence",
|
||||
"press_telegram_detail_or_history_after_rollout": "重新按 Telegram 詳情 / 歷史補新版 snapshot",
|
||||
"review_legacy_callback_snapshot_gap": "新版已捕捉;舊 callback 缺 snapshot 不需重複按",
|
||||
"review_outbound_source_refs": "檢查 outbound source_refs 缺口",
|
||||
"observed": "等待下一次 callback evidence"
|
||||
}
|
||||
|
||||
@@ -1967,6 +1967,7 @@ function CallbackReplyAuditSummaryPanel({
|
||||
nextActionRaw === "none" ||
|
||||
nextActionRaw === "press_telegram_detail_or_history" ||
|
||||
nextActionRaw === "press_telegram_detail_or_history_after_rollout" ||
|
||||
nextActionRaw === "review_legacy_callback_snapshot_gap" ||
|
||||
nextActionRaw === "review_outbound_source_refs"
|
||||
) ? nextActionRaw : "observed";
|
||||
const sourceRefCoverage = formatCoveragePercent(
|
||||
|
||||
Reference in New Issue
Block a user