fix(agent): classify ssh publickey offer timeout
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 33s
CD Pipeline / build-and-deploy (push) Failing after 27s
CD Pipeline / post-deploy-checks (push) Has been skipped

This commit is contained in:
Your Name
2026-07-01 12:58:23 +08:00
parent 5285bcd8aa
commit 3c13608055
7 changed files with 50 additions and 5 deletions

View File

@@ -614,6 +614,14 @@ def _queue_readback_normalizer_contract() -> list[dict[str, Any]]:
],
"learning_targets": ["km", "rag", "playbook", "mcp", "verifier", "ai_agent"],
},
{
"field_id": "latest_visible_harbor_110_repair_remote_ssh_publickey_offer_timeout",
"purpose": "classify whether 110 times out after the client offers a public key but before key acceptance",
"writes_blockers": [
"gitea_queue_harbor_110_remote_ssh_publickey_offer_timeout",
],
"learning_targets": ["km", "rag", "playbook", "mcp", "verifier", "ai_agent"],
},
{
"field_id": "latest_visible_harbor_110_repair_remote_ssh_server_accepts_key_then_session_timeout",
"purpose": "classify whether 110 accepts the SSH key and then times out during session, PAM, account, or shell setup",

View File

@@ -187,7 +187,7 @@ def _assert_executor_readback(payload: dict, *, public_endpoint: bool = False):
]
for item in current_queue[0]["harbor_recovery_receipt_output_contract"]
)
assert current_queue[0]["queue_readback_normalizer_contract_count"] == 8
assert current_queue[0]["queue_readback_normalizer_contract_count"] == 9
assert [
item["field_id"]
for item in current_queue[0]["queue_readback_normalizer_contract"]
@@ -197,6 +197,7 @@ def _assert_executor_readback(payload: dict, *, public_endpoint: bool = False):
"latest_visible_harbor_110_repair_no_matching_runner_label",
"latest_visible_harbor_110_repair_remote_control_channel_unavailable",
"latest_visible_harbor_110_repair_remote_ssh_publickey_auth_stalled",
"latest_visible_harbor_110_repair_remote_ssh_publickey_offer_timeout",
"latest_visible_harbor_110_repair_remote_ssh_server_accepts_key_then_session_timeout",
"current_cd_workflow_runner_readiness",
"controlled_profile_no_matching_runner_labels",

View File

@@ -365,6 +365,7 @@ def test_awoooi_priority_work_order_readback_overlays_ai_loop_current_blocker_qu
"latest_visible_harbor_110_repair_no_matching_runner_label",
"latest_visible_harbor_110_repair_remote_control_channel_unavailable",
"latest_visible_harbor_110_repair_remote_ssh_publickey_auth_stalled",
"latest_visible_harbor_110_repair_remote_ssh_publickey_offer_timeout",
"latest_visible_harbor_110_repair_remote_ssh_server_accepts_key_then_session_timeout",
"current_cd_workflow_runner_readiness",
"controlled_profile_no_matching_runner_labels",
@@ -424,7 +425,7 @@ def test_awoooi_priority_work_order_readback_overlays_ai_loop_current_blocker_qu
payload["summary"][
"ai_loop_current_blocker_queue_readback_normalizer_contract_count"
]
== 8
== 9
)
assert payload["summary"][
"ai_loop_current_blocker_queue_readback_normalizer_field_ids"