Repository navigation
fix: keep profiled performance evidence diagnostic - #89
Conversation
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed August 4, 2026, 6:03 AM ET / 10:03 UTC. ClawSweeper reviewWhat this changesThe PR adds provenance-based handling for profiler-affected performance thresholds, gates, baselines, comparisons, reports, and OpenClaw mock-auth fixture contracts. Merge readinessKeep open. The exact head coherently makes profiled CPU, RSS, and latency evidence diagnostic while retaining functional and persistent-service gates; no blocking patch defect was found. The documented producer-first rollout remains the merge-sensitive condition. Priority: P2 Review scores
Verification
How this fits togetherKova runs OpenClaw scenarios and turns command, health, and resource measurements into records, release gates, and comparison reports. This PR changes how diagnostic profiling affects those downstream assessments without hiding functional failures. flowchart LR
A[OpenClaw scenario] --> B[Commands and measurements]
B --> C[Profiler attribution]
C --> D[Threshold assessment]
D --> E[Release gate]
D --> F[Baseline comparison]
E --> G[Kova report]
F --> G
G --> H[Paired consumer]
Before merge
Agent review detailsSecurityNone. Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Merge this producer at the reviewed exact head first, then refresh and land the paired consumer against the reachable immutable producer commit. Do we have a high-confidence way to reproduce the issue? Yes, by source: current main sends profiled measurements through ordinary thresholds, while this head adds the explicit profiled assessment path and exercises it in focused self-checks. Is this the best way to solve the issue? Yes. Provenance-based suppression preserves raw diagnostics, keeps independent and functional checks gateable, and prevents profiled evidence from approving a release. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 9e52f321e6a3. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (11 earlier review cycles; latest 8 shown)
|
|
Owner compatibility sign-off is recorded in the PR body. The exact OpenClaw consumer adapter is openclaw/openclaw#119121 at e1833ac8d7085a90bf2de266bf1415b60fadf612 with 149/149 focused tests. @clawsweeper re-review |
|
@clawsweeper re-review Exact producer head: Prior before-merge items are resolved:
Proof:
Please refresh the durable exact-head verdict and |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review Exact head: Release-owner decision:
Please clear the durable |
|
@clawsweeper re-review Exact head: Release-owner decision:
Please clear the durable |
|
@clawsweeper re-review Exact head Please refresh the durable |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
@clawsweeper re-review Release-owner audit and approval for exact head
I approve the coordinated rollout in this order:
Do not release or merge the consumer before the producer is landed at this SHA. |
|
@clawsweeper re-review Maintainer decision for exact head
The ordering concern is resolved for this producer PR; no consumer merge will occur first. |
|
🦞👀 Command router queued. I will update this comment with the next step. |
|
@clawsweeper re-review Maintainer decision for exact head Kova #89 will land before OpenClaw #119121, preserving this exact signed SHA. The exact upstream source and lockfile were directly audited, and the consumer remains blocked until this producer commit is reachable from Kova |
Related: openclaw/openclaw#119121
What Problem This Solves
Fixes an issue where users running Kova with
--node-profileor--deep-profilecould get false CPU, RSS, and latency failures caused by profiler overhead. Those diagnostic runs could also be compared with normal runs as if their performance values were equivalent, producing false regressions or false resolutions.Why This Change Was Made
Kova now records a first-class performance-threshold assessment for every profiled record while preserving raw measurements. The performance owner boundary uses command and process-role provenance, so only values produced by profiled command trees are skipped; persistent Gateway readiness, health, functional behavior, cleanup, containment, malformed evidence, and safety checks remain gateable.
Required release scenarios with skipped performance evidence produce
PARTIALuntil rerun without profiling. Cross-profile report comparisons returnINCONCLUSIVE; same-profile instrumented comparisons remain comparable. Complete profiled records carry an explicit complete-zero assessment so consumers can distinguish "nothing skipped" from erased evidence.The OpenClaw consumer pins this exact producer, validates assessment and gate-card evidence one-to-one, and keeps
PARTIALandINCONCLUSIVEnon-approving. Kova's OpenClaw fixture helper now supports both current canonical config and the legacy list-shaped contract selected by the consumer workflow.This also removes duplicate command classification between evaluation and profiler attribution. Core runtime delta is +1,173/-110, primarily the provenance taxonomy and first-class assessment, gate, baseline, comparison, and rendering contracts. Fixture support is +69/-28; docs are +45/-2; self-checks and snapshots are +996/-22.
User Impact
Operators can use deep profiling to diagnose OpenClaw without profiler overhead being mistaken for a product regression. Raw profiler-influenced values remain visible, real failures still block, and release approval still requires normal user-path performance evidence.
Evidence
0f9e678e239b45db46d2bd930b7983203580df78.58654d948334033db9258cb2643e2455fad4d157.kova-260804-065059-4340fd:74d084e00c2de6279de4559ee84c481573d4fd26, mock auth, packaged local-build runtime.agent-cold-warm-messagerecord passed.PARTIAL; the strict consumer accepted it asfiltered-partial.kova-260804-065210-f02720:1064.6 MB.SKIPPEDassessments.PARTIAL, and the strict consumer accepted the evidence one-to-one.kova-260804-065327-b1705c:DO_NOT_SHIP.283070760a16655b28835061774158b8b11b4affemitted marker-freekova.report.v1reportkova-260804-065433-f6ac8d:INCONCLUSIVEin both directions, finding-only mismatches cannot returnOK, and same-profile instrumented reports remain comparable.npm run check:full: 276/276 self-checks, 21/21 snapshots, web payload check, and release-contract checks passed.9e52f321e6a3f8999249d16bb53b365759c3b33efound no package, lockfile, installer, or workflow delta; no dependency lifecycle scripts; and no added outbound-network or credential path.Compatibility Decision
Owner sign-off: accept the additive
SKIPPED,PARTIAL, andINCONCLUSIVEreport contract. The paired OpenClaw consumer validates pinned current producers strictly, retains marker-free historicalkova.report.v1compatibility, rejects mixed or erased contracts, and keeps incomplete or cross-profile evidence non-approving.