fix(agent99): reconcile live cold-start dispatches
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m8s
CD Pipeline / build-and-deploy (push) Successful in 13m33s
CD Pipeline / post-deploy-checks (push) Has been cancelled
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 0s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 2m8s
CD Pipeline / build-and-deploy (push) Successful in 13m33s
CD Pipeline / post-deploy-checks (push) Has been cancelled
This commit is contained in:
@@ -37,6 +37,10 @@ def test_accepted_without_inbox_trigger_is_delivery_unknown_not_authorized() ->
|
||||
identity=identity,
|
||||
dispatch_receipt={
|
||||
"status": "accepted_inbox_pending",
|
||||
"kind": "host_recovery",
|
||||
"suggested_mode": "Recover",
|
||||
"target_resource": "cold-start-gate",
|
||||
"controlled_apply_requested": True,
|
||||
"accepted": True,
|
||||
"inbox_triggered": False,
|
||||
"delivery_certainty": "unknown",
|
||||
@@ -48,6 +52,13 @@ def test_accepted_without_inbox_trigger_is_delivery_unknown_not_authorized() ->
|
||||
assert envelope["dispatch_promoted"] is False
|
||||
assert envelope["controlled_apply_authorized"] is False
|
||||
assert envelope["retry_policy"]["reconcile_only"] is True
|
||||
assert envelope["dispatch_scope"] == {
|
||||
"schema_version": "agent99_dispatch_scope_v1",
|
||||
"kind": "host_recovery",
|
||||
"suggested_mode": "Recover",
|
||||
"target_resource": "cold-start-gate",
|
||||
"controlled_apply_requested": True,
|
||||
}
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
||||
Reference in New Issue
Block a user