test(agent): align log loop writeback counts
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 36s
CD Pipeline / build-and-deploy (push) Failing after 2m37s
CD Pipeline / post-deploy-checks (push) Has been skipped
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (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 36s
CD Pipeline / build-and-deploy (push) Failing after 2m37s
CD Pipeline / post-deploy-checks (push) Has been skipped
AWOOOI Harbor 110 Local Repair / workflow-shape (push) Successful in 0s
AWOOOI Harbor 110 Local Repair / harbor-110-local-repair (push) Has been cancelled
This commit is contained in:
@@ -94,7 +94,7 @@ def _assert_executor_readback(payload: dict):
|
||||
assert "km_rag_playbook_learning_loop" in context["consumable_by"]
|
||||
assert len(context["evidence_chain"]) == 4
|
||||
assert len(context["next_action_queue"]) == 6
|
||||
assert set(item["target"] for item in context["next_action_queue"]) == set(batches)
|
||||
assert {item["target"] for item in context["next_action_queue"]} == set(batches)
|
||||
assert context["learning_feedback_targets"] == [
|
||||
"km",
|
||||
"rag",
|
||||
|
||||
@@ -81,6 +81,16 @@ def _assert_feedback_dry_run_payload(payload: dict):
|
||||
assert all(receipt["write_enabled"] is False for receipt in receipts)
|
||||
assert all(receipt["raw_log_payload_persisted"] is False for receipt in receipts)
|
||||
assert {receipt["source_sample_id"] for receipt in receipts} == expected_source_sample_ids
|
||||
p0_receipts = [
|
||||
receipt
|
||||
for receipt in receipts
|
||||
if receipt["source_sample_id"] == "p0_110_harbor_runner_control_path_sample"
|
||||
]
|
||||
assert len(p0_receipts) == 6
|
||||
assert {receipt["target"] for receipt in p0_receipts} == targets
|
||||
assert {receipt["service"] for receipt in p0_receipts} == {
|
||||
"awoooi-110-control-path"
|
||||
}
|
||||
|
||||
boundaries = payload["operation_boundaries"]
|
||||
assert boundaries["dry_run_only"] is True
|
||||
|
||||
Reference in New Issue
Block a user