fix(agent99): align visual lifecycle verifier v6
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m32s
CD Pipeline / build-and-deploy (push) Successful in 15m45s
CD Pipeline / post-deploy-checks (push) Successful in 2m5s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m32s
CD Pipeline / build-and-deploy (push) Successful in 15m45s
CD Pipeline / post-deploy-checks (push) Successful in 2m5s
This commit is contained in:
@@ -58,7 +58,7 @@ $notificationReceipted = [bool]($lifecycleReceipts.Count -gt 0)
|
||||
$humanReadableCardReady = [bool](
|
||||
$lifecycleReceipts.Count -gt 0 -and
|
||||
@($lifecycleReceipts | Where-Object {
|
||||
$_.messageFormat -ne "incident_card_zh_tw_v5" -or
|
||||
$_.messageFormat -ne "incident_card_zh_tw_v6" -or
|
||||
$_.incidentId -notmatch "^INC-[A-F0-9]{8}$" -or
|
||||
$_.lifecycle -notin @("remediating", "recovered", "blocked")
|
||||
}).Count -eq 0
|
||||
|
||||
@@ -239,7 +239,7 @@ def test_recover_receipt_readback_requires_verifier_and_notification() -> None:
|
||||
assert '$humanReadableCardReady' in readback
|
||||
assert '$visualLifecycleReady' in readback
|
||||
assert '$incidentStateReady' in readback
|
||||
assert 'incident_card_zh_tw_v5' in readback
|
||||
assert 'incident_card_zh_tw_v6' in readback
|
||||
assert '$recoveryVerified -and $notificationReceipted -and $humanReadableCardReady' in readback
|
||||
assert '$recentReceipts' in readback
|
||||
assert 'visualSentCount' in readback
|
||||
|
||||
Reference in New Issue
Block a user