fix(agent): preserve executor boundary runtime proof
Some checks failed
CD Pipeline / workflow-shape (push) Successful in 1s
CD Pipeline / cancel-stale-cd (push) Has been skipped
CD Pipeline / tests (push) Successful in 1m5s
CD Pipeline / build-and-deploy (push) Successful in 4m38s
CD Pipeline / post-deploy-checks (push) Has been cancelled

This commit is contained in:
ogt
2026-07-11 01:36:41 +08:00
parent 242d9ae919
commit de5e29360f
5 changed files with 74 additions and 25 deletions

View File

@@ -120,18 +120,22 @@ async def load_executor_trust_boundary_readback(
configmap_name=configmap_name,
)
except Exception as exc: # pragma: no cover - production readback boundary
error_status = getattr(exc, "status", None)
public_error_type = type(exc).__name__
if isinstance(error_status, int):
public_error_type = f"{public_error_type}:{error_status}"
logger.warning(
"executor_trust_boundary_readback_failed",
namespace=namespace,
configmap_name=configmap_name,
error_type=type(exc).__name__,
error_type=public_error_type,
)
payload = build_executor_trust_boundary_readback(
{},
deployed_source_sha=deployed_source_sha,
namespace=namespace,
configmap_name=configmap_name,
error_type=type(exc).__name__,
error_type=public_error_type,
)
finally:
if api_client is not None: