Repository navigation
fix(perf): inherit release gateway CPU calibration - #122
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
@clawsweeper review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Codex review: needs maintainer review before merge. Reviewed September 8, 2026, 4:41 PM ET / 20:41 UTC (Revision 2). ClawSweeper reviewWhat this changesSets Kova’s release-only fresh-install gateway CPU limit to 300%, preserves the shared 250% limit, and adds calibration checks and a plan snapshot update. Merge readiness✅ Ready for maintainer review The prior non-release enforcement finding is resolved, and no blocking defect remains in the revised patch. This maintainer-authored change is still needed: the reviewed main and latest release lack the release-specific override. Priority: P2 Review scores
Verification
How this fits togetherKova evaluates OpenClaw runtime measurements against scenario, surface, and profile thresholds. The resolved CPU limit determines whether fresh-install measurements pass the release gate. flowchart TD
A[OpenClaw CPU measurements] --> E[Threshold evaluation]
B[Shared surface limit 250 percent] --> D[Resolve selected profile]
C[Release override 300 percent] --> D
D --> E
E --> F[Pass or threshold violation]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep release calibration in the existing profile override mechanism while preserving shared limits and evaluator enforcement for other runs. Do we have a high-confidence way to reproduce the issue? Yes, from source: on pinned main, the fresh-install surface’s 250% cap overrides the release profile’s general 300% calibration. No runtime reproduction or tests were executed during this read-only review. Is this the best way to solve the issue? Yes. The revision uses the existing profile surface override and preserves the shared default; its resolution assertions and existing evaluator coverage address the earlier enforcement concern. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against cf6e26f0ca12. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
9bf1bd9 to
9ed0e44
Compare
9ed0e44 to
9cd35ff
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
Summary
Root cause
Kova #120 corrected late gateway CPU census undercounting. Two consecutive OpenClaw full validations then each produced one noisy fresh-install sample above 250% while the other two repeats passed. The latest samples were 162.4%, 270%, and 176.7%; the aggregate was classified unstable with a 176.7% median.
The release profile already calibrates general gateway CPU at 300%, but fresh-install's shared 250% surface cap shadowed it. This patch scopes the adjustment through
profiles/release.json; it does not weaken smoke or unprofiled checks.Verification
npm run check:fullrunning after exact-head correction; prior 280/280 self-check greenLOC
Production/config: +7. Tests/snapshot: +18 net.