(chunk: &DraftChunkRecord)
| 411 | } |
| 412 | |
| 413 | fn summarize_draft_chunk_rule(chunk: &DraftChunkRecord) -> Result<String, Status> { |
| 414 | let rule = NetworkPolicyRule::decode(chunk.proposed_rule.as_slice()) |
| 415 | .map_err(|e| Status::internal(format!("decode proposed_rule failed: {e}")))?; |
| 416 | Ok(summarize_add_rule(&chunk.rule_name, &rule)) |
| 417 | } |
| 418 | |
| 419 | /// Run prover queries against the merged policy and render a short |
| 420 | /// human-readable verdict for the reviewer. The verdict reports only the |
no test coverage detected