fix(agent99): preserve canonical host identity
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 8m17s
CD Pipeline / build-and-deploy (push) Successful in 19m28s
CD Pipeline / post-deploy-checks (push) Successful in 5m6s
AI 技術雷達監控 / ai-technology-watch (push) Successful in 39s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 11s
All checks were successful
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 8m17s
CD Pipeline / build-and-deploy (push) Successful in 19m28s
CD Pipeline / post-deploy-checks (push) Successful in 5m6s
AI 技術雷達監控 / ai-technology-watch (push) Successful in 39s
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Successful in 11s
This commit is contained in:
@@ -1227,7 +1227,8 @@ async def bridge_alertmanager_to_agent99(
|
||||
and payload.get("force") is False
|
||||
and resolved_route_id == AGENT99_CONTROL_PLANE_HEALTH_ROUTE_ID
|
||||
and typed_target_route.get("resolution_status") == "resolved"
|
||||
and typed_target_route.get("canonical_asset_id") == "host_99"
|
||||
and typed_target_route.get("canonical_asset_id")
|
||||
== "windows-vmware:host_99"
|
||||
and typed_target_route.get("target_kind") == "windows_vmware"
|
||||
and typed_target_route.get("executor") == "Agent99"
|
||||
and typed_target_route.get("verifier")
|
||||
|
||||
@@ -527,7 +527,7 @@ def resolve_typed_alert_target(
|
||||
target_kind="windows_vmware",
|
||||
target_resource=target_resource or "Agent99",
|
||||
namespace=namespace,
|
||||
canonical_asset_id="host_99",
|
||||
canonical_asset_id="windows-vmware:host_99",
|
||||
host=_HOSTS["99"][1],
|
||||
executor="Agent99",
|
||||
verifier="agent99_control_plane_selfcheck_independent_verifier",
|
||||
|
||||
Reference in New Issue
Block a user