Skip to content

perf: raise gateway-performance gateway-tree CPU cap for OpenClaw 2026.9.7 - #158

Merged
steipete merged 1 commit into
mainfrom
perf/gateway-tree-cpu-2026-9-7
Sep 28, 2026
Merged

steipete merged 1 commit into
mainfrom
perf/gateway-tree-cpu-2026-9-7

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The strict OpenClaw release gate on OpenClaw main still reports gateway-performance resourceByRole.gateway-tree.maxCpuPercent as BLOCKED at the 300 % cap. The measured interval was 272–300.3 % in openclaw/openclaw Actions run 36455844495, and 281.5–300.2 % earlier in run 36377446146. That blocks the 2026.9.7 performance gate after #157.

Change

Raise the gateway-performance gateway-tree CPU cap from 300 % to 325 % (measured max plus about 8 %). Approved by Peter for 2026.9.7. Cause: the same startup provider-catalog acquisition (openclaw/openclaw#145190); follow-up in openclaw/openclaw#160501.

Evidence

  • Snapshots pass.
  • Self-check fails only on the four environmental OCM-missing checks.
  • No other resolved thresholds change.

@clawsweeper

clawsweeper Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@clawsweeper clawsweeper Bot added P1 Urgent regression or broken agent/channel workflow affecting real users now. merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 28, 2026
@clawsweeper

clawsweeper Bot commented Sep 28, 2026

Copy link
Copy Markdown

Codex review: needs maintainer review before merge. Reviewed September 28, 2026, 1:34 PM ET / 17:34 UTC.

ClawSweeper review

What this changes

The PR raises Kova’s gateway-performance gateway-tree CPU limit from 300% to 325% and updates the plan snapshot and changelog.

Merge readiness

✅ Ready for maintainer review

Current main still caps gateway-tree CPU at 300%, so the merged budget update in #157 did not address this reported release-gate failure. This focused PR remains useful.

Priority: P1
Reviewed head: e069cbd6661f4fc40b8ee431b7ee7ad1b28c795a

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The focused budget change matches the recorded measurements and updates the plan snapshot, with no discrete patch defect found.
Proof confidence 🌊 off-meta tidepool Not applicable: The gateway-performance surface feeds the role CPU evaluator; the PR cites pre-change OpenClaw Actions peaks but does not include a post-change real run. The author is a repository MEMBER, so the external-contributor proof gate does not apply, and no stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The gateway-performance surface feeds the role CPU evaluator; the PR cites pre-change OpenClaw Actions peaks but does not include a post-change real run. The author is a repository MEMBER, so the external-contributor proof gate does not apply, and no stored-data contract changes.
Evidence reviewed 6 items Current main retains the blocking cap: The pinned main revision sets gateway-tree maxCpuPercent to 300; the PR body reports measurements reaching 300.3%.
Introduced calibration: The pinned PR delta changes this one role CPU cap to 325 and updates its plan snapshot and changelog.
Threshold reaches the evaluator: The threshold resolver combines profile and surface role limits; evaluation checks measured role CPU against the resolved limit.
Findings None None.
Security None None.

How this fits together

Kova runs OpenClaw gateway scenarios in OCM-managed environments and collects CPU use by process role. Its evaluator compares those measurements with surface budgets and feeds the result into the release gate.

flowchart LR
A[OpenClaw runtime] --> B[OCM environment]
B --> C[Gateway performance scenario]
C --> D[CPU samples by role]
D --> E[Role budget comparison]
E --> F[Release gate verdict]
Loading

Before merge

None.

Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Gateway-tree CPU budget 300% → 325% (+25 points) The reported 300.3% peak would have 24.7 points of headroom under the proposed cap.

Technical review

Best possible solution:

Use the approved calibrated budget for this release, retain role-level CPU checks, and revisit the budget after the linked OpenClaw startup-cost follow-up.

Do we have a high-confidence way to reproduce the issue?

No live run was performed here. Current-main source establishes the 300% comparison, and the PR supplies OpenClaw Actions measurements above it.

Is this the best way to solve the issue?

Yes. A single role budget change with a matching snapshot is a narrow way to apply the recorded 2026.9.7 calibration.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 95a25b6bbeac.

Labels

Label changes:

  • add P1: The reported threshold exceedance blocks the OpenClaw 2026.9.7 release gate.
  • add merge-risk: 🚨 automation: The accepted 25-point relaxation changes which gateway CPU measurements the automated release gate blocks.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The gateway-performance surface feeds the role CPU evaluator; the PR cites pre-change OpenClaw Actions peaks but does not include a post-change real run. The author is a repository MEMBER, so the external-contributor proof gate does not apply, and no stored-data contract changes.

Label justifications:

  • P1: The reported threshold exceedance blocks the OpenClaw 2026.9.7 release gate.
  • merge-risk: 🚨 automation: The accepted 25-point relaxation changes which gateway CPU measurements the automated release gate blocks.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The gateway-performance surface feeds the role CPU evaluator; the PR cites pre-change OpenClaw Actions peaks but does not include a post-change real run. The author is a repository MEMBER, so the external-contributor proof gate does not apply, and no stored-data contract changes.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • RomneyDa: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit 5f2e98a into main Sep 28, 2026
15 checks passed
@steipete
steipete deleted the perf/gateway-tree-cpu-2026-9-7 branch September 28, 2026 17:36
steipete added a commit to openclaw/openclaw that referenced this pull request Sep 28, 2026
Advance to openclaw/Kova#158 (5f2e98a5): gateway-performance gateway-tree maxCpuPercent 300 -> 325, which the strict release gate reported as BLOCKED at 272-300.3 % on main (run 36455844495).
steipete added a commit to openclaw/openclaw that referenced this pull request Sep 28, 2026
* ci: advance trusted Kova pin to 2026.9.7 release budgets

Kova openclaw/Kova#157 (95a25b6b) raises five release-profile budgets that current main exceeds by design, approved by Peter for 2026.9.7: gateway-performance gateway-tree RSS and gateway CPU, bundled-plugin-startup gateway CPU, fresh-install gateway CPU, and the embedded agent CLI RSS cap. Causes: #145190 startup provider-catalog acquisition and #152840 SQLite state-worker growth; follow-up #160501.

* ci: include the gateway-tree CPU budget in the trusted Kova pin

Advance to openclaw/Kova#158 (5f2e98a5): gateway-performance gateway-tree maxCpuPercent 300 -> 325, which the strict release gate reported as BLOCKED at 272-300.3 % on main (run 36455844495).
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 29, 2026
…w#160573)

* ci: advance trusted Kova pin to 2026.9.7 release budgets

Kova openclaw/Kova#157 (95a25b6b) raises five release-profile budgets that current main exceeds by design, approved by Peter for 2026.9.7: gateway-performance gateway-tree RSS and gateway CPU, bundled-plugin-startup gateway CPU, fresh-install gateway CPU, and the embedded agent CLI RSS cap. Causes: openclaw#145190 startup provider-catalog acquisition and openclaw#152840 SQLite state-worker growth; follow-up openclaw#160501.

* ci: include the gateway-tree CPU budget in the trusted Kova pin

Advance to openclaw/Kova#158 (5f2e98a5): gateway-performance gateway-tree maxCpuPercent 300 -> 325, which the strict release gate reported as BLOCKED at 272-300.3 % on main (run 36455844495).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 automation 🚨 Merging this PR could break CI, automerge, proof capture, label sync, or automation. P1 Urgent regression or broken agent/channel workflow affecting real users now. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant