Skip to content

perf: raise OpenClaw 2026.9.7 release budgets - #157

Merged
steipete merged 1 commit into
mainfrom
perf/openclaw-2026-9-7-budgets
Sep 28, 2026
Merged

steipete merged 1 commit into
mainfrom
perf/openclaw-2026-9-7-budgets

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

OpenClaw main fails five Kova release-profile budgets because of intentional 2026.9.x runtime changes. That blocks the strict release gate for OpenClaw 2026.9.7. Peter approved raising these budgets for 2026.9.7; publication waivers were removed in openclaw/openclaw#157864, so a waiver isn't possible.

Change

Each budget goes to the maximum value measured on OpenClaw main plus about 8% headroom:

Budget Before → after Measured max on main
gateway-performance gateway-tree RSS 1200 → 1440 MB 1,332 MB
gateway-performance gateway CPU 250 → 310 % 284 %
bundled-plugin-startup gateway CPU 250 → 360 % 330 %
fresh-install gateway CPU (onboarded-user; shared with fresh) 300 → 345 % 318 %
agent-cold-warm primary, agent-cli and agent-process RSS 1000 → 1150 MB 1,082 MB

Causes:

The real fix follows in openclaw/openclaw#160501.

Evidence

  • Resolved threshold policy compared for all 51 release entries, 2,388 values, on Node 24. Only the five approved thresholds changed. The other agent scenarios keep their existing caps through explicit overrides.
  • Snapshots: 21 pass. Linux CPU-accounting tests: 46 pass. Node 24 Linux self-check: 276 pass, with only the four environmental OCM-missing failures.
  • OpenClaw measurement runs: 36446664937, 36407939377 and 36377446146.

@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: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 28, 2026
@clawsweeper

clawsweeper Bot commented Sep 28, 2026

Copy link
Copy Markdown

Codex review: blocked before merge. Reviewed September 28, 2026, 12:57 PM ET / 16:57 UTC.

ClawSweeper review

What this changes

The branch raises five OpenClaw resource budgets in Kova's profiles, scenarios, and surfaces, then updates contract checks, CPU accounting expectations, and plan snapshots.

Regression provenance

Possible regression — suspected (reviewed change). No predecessor PR is attributed.

Merge readiness

⛔ Blocked before merge - 3 items remain

The release-gate calibration remains useful, but the shared budget changes also weaken smoke and other regression profiles. Kova has an existing release-only calibration pattern for this case, so the PR needs a scope repair before merge.

Priority: P1
Reviewed head: 6743c469fed36ec33c878d86344502d7a4a7d28b

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The release calibration has focused checks, but a definite cross-profile threshold regression blocks the current patch.
Proof confidence 🌊 off-meta tidepool Not applicable: Repository State identifies this as a MEMBER-authored calibration PR, so the contributor runtime-proof gate does not apply; the cited OpenClaw runs support the prechange motivation, and no stored-data contract changes.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: Repository State identifies this as a MEMBER-authored calibration PR, so the contributor runtime-proof gate does not apply; the cited OpenClaw runs support the prechange motivation, and no stored-data contract changes.
Evidence reviewed 8 items Stated release scope: The PR requests five budget increases for the OpenClaw 2026.9.7 release gate and cites three OpenClaw measurement runs.
Introduced shared limits: The introduced diff raises limits in shared surface and scenario contracts, in addition to one release-profile override.
Threshold precedence: The resolver applies surface defaults to every selected profile; profile calibration and scenario thresholds override them only where configured.
Findings 1 actionable finding [P1] Scope the raised resource limits to the release profile
Security None None.

How this fits together

Kova runs OpenClaw scenarios in OCM-managed environments and compares measured resource use with thresholds from the selected profile, surface, and scenario. Those resolved thresholds determine the reported pass or fail result.

flowchart LR
  A[OpenClaw runtime] --> B[Kova scenario]
  C[Selected profile] --> D[Threshold resolver]
  B --> D
  E[Surface defaults] --> D
  D --> F[Resource comparison]
  A --> F
  F --> G[Pass or fail report]
Loading

Before merge

  • Scope the raised resource limits to the release profile (P1) - The raised surface and cold/warm scenario limits also apply to smoke, diagnostic, soak, exhaustive, and web-release runs. Their existing resource regressions can therefore pass without a release-profile selection. Put the increases in release calibration and cover the non-release resolved policies; merged Kova PR fix(perf): inherit release gateway CPU calibration #122 uses that pattern.
  • Resolve merge risk (P1) - Merging the shared limits as written would let existing smoke and other non-release profiles pass OpenClaw resource use that their previous budgets rejected.
  • Complete next step (P2) - Move the shared budget increases into release-profile calibration and verify that non-release profiles retain their prior limits.

Findings

  • [P1] Scope the raised resource limits to the release profile — surfaces/agent-cli-local-turn.json:22
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Budget scope 5 requested increases; 5 other profiles consume affected scenarios The review must account for threshold changes outside the stated release gate.
Production versus test growth production/config +98, tests/snapshots +72 net lines Most production growth is scenario overrides intended to preserve unrelated agent caps.

Merge-risk options

Maintainer options:

  1. Scope budgets to release (recommended)
    Move the raised shared limits into release-profile calibration and assert that smoke and other profiles retain their prior caps.
Copy recommended automerge instruction
@clawsweeper automerge

Special instructions:
Scope the five raised budgets to release-profile calibration, retain existing non-release limits, and update focused threshold-policy assertions and snapshots.

Technical review

Best possible solution:

Apply the approved 2026.9.7 headroom through release-profile calibration while preserving the existing limits in other profiles.

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

Yes. The threshold resolver and smoke-profile entries give a deterministic path to compare the proposed non-release limits with current main, though I did not execute Kova.

Is this the best way to solve the issue?

No. The release-profile calibration mechanism already supports the narrower adjustment, as demonstrated by merged Kova PR #122.

Full review comments:

  • [P1] Scope the raised resource limits to the release profile — surfaces/agent-cli-local-turn.json:22
    The raised surface and cold/warm scenario limits also apply to smoke, diagnostic, soak, exhaustive, and web-release runs. Their existing resource regressions can therefore pass without a release-profile selection. Put the increases in release calibration and cover the non-release resolved policies; merged Kova PR fix(perf): inherit release gateway CPU calibration #122 uses that pattern.
    Confidence: 0.95

Overall correctness: patch is incorrect
Overall confidence: 0.94

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P1: The outdated budgets block a current OpenClaw release gate, while the proposed scope would weaken established regression checks.
  • add merge-risk: 🚨 compatibility: Existing non-release profile users would receive looser pass/fail thresholds without selecting a new calibration.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: Repository State identifies this as a MEMBER-authored calibration PR, so the contributor runtime-proof gate does not apply; the cited OpenClaw runs support the prechange motivation, and no stored-data contract changes.

Label justifications:

  • P1: The outdated budgets block a current OpenClaw release gate, while the proposed scope would weaken established regression checks.
  • merge-risk: 🚨 compatibility: Existing non-release profile users would receive looser pass/fail thresholds without selecting a new calibration.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action. Not applicable: Repository State identifies this as a MEMBER-authored calibration PR, so the contributor runtime-proof gate does not apply; the cited OpenClaw runs support the prechange motivation, and no stored-data contract changes.

Evidence

Acceptance criteria:

  • [P1] npm run test:snapshots.
  • [P1] npm run test:cpu-accounting.
  • [P1] node bin/kova.mjs self-check.

What I checked:

Likely related people:

  • Dallin Romney: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Vincent Koc: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Preserve the prior smoke and other non-release limits, then assert both release and non-release resolved policies.

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 95a25b6 into main Sep 28, 2026
15 checks passed
@steipete
steipete deleted the perf/openclaw-2026-9-7-budgets branch September 28, 2026 17:04
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: 🚨 compatibility 🚨 Merging this PR could break existing users, config, migrations, defaults, or upgrades. P1 Urgent regression or broken agent/channel workflow affecting real users now. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant