fix(api): suppress batch reconcile postmortems
Some checks failed
Code Review / ai-code-review (push) Successful in 11s
CD Pipeline / tests (push) Successful in 1m18s
CD Pipeline / post-deploy-checks (push) Has been cancelled
CD Pipeline / build-and-deploy (push) Has been cancelled

This commit is contained in:
Your Name
2026-05-19 12:18:16 +08:00
parent f9d53469f9
commit 1d285dd9d4
3 changed files with 51 additions and 38 deletions

View File

@@ -43,8 +43,10 @@ async def test_reconcile_stuck_incidents_resolves_strong_evidence(monkeypatch):
)
assert service.resolve_incident.await_args_list[0].kwargs == {
"resolution_type": "auto_repair",
"emit_postmortem": False,
}
assert service.resolve_incident.await_args_list[1].args == ("INC-TIMEOUT",)
assert service.resolve_incident.await_args_list[1].kwargs == {
"resolution_type": "timeout",
"emit_postmortem": False,
}