Repository navigation
fix(ci): unblock Performance on current source builds - #124341
Conversation
Pin OCM v0.2.32 so Performance validation uses upstream native .mts discovery and transitive workspace dependency handling instead of the local Bash/tsx trampoline.
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 15, 2026, 10:01 PM ET / August 16, 2026, 02:01 UTC. ClawSweeper reviewWhat this changesThis PR upgrades the Performance workflow’s pinned OCM binary to v0.2.32 and removes OpenClaw’s Bash/tsx workspace-package adapter. Regression provenancePossible regression — suspected (reviewed change). No predecessor PR is attributed. Merge readinessKeep open for maintainer verification: current main still uses the failing local adapter, and the PR cleanly removes that invocation, but the new executable OCM contract and release provenance could not be independently checked because GitHub network access was unavailable. Priority: P1 Review scores
Verification
How this fits togetherFull Release Validation dispatches the Performance workflow to build the selected OpenClaw source through Kova scenarios. That workflow downloads a checksum-pinned OCM binary, which prepares the local build before Kova produces artifacts and a release-gating result. flowchart LR
A[Release validation] --> B[Performance workflow]
B --> C[Download OCM binary]
C --> D[Verify SHA-256]
D --> E[Prepare local source build]
E --> F[Kova scenario plan]
F --> G[Performance artifacts]
G --> H[Release gate]
Decision needed
Why: The binary executes in release validation and replaces locally auditable workspace-pack behavior; a network outage prevented independent upstream contract and provenance inspection. Before merge
Findings
Agent review detailsSecurityNeeds attention: The checksum remains pinned, but the upgraded OCM executable and its native lifecycle behavior require upstream provenance verification before merge. PR surfaceTests -3, Config -23. Total -26 across 2 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Verify OCM v0.2.32’s upstream source and release provenance, run an exact-head mock-provider Performance lane through local-build planning, then remove the now-unreachable local adapter and its owner-specific guard if no external consumer exists. Do we have a high-confidence way to reproduce the issue? No live current-main run was available. Source confirms that current main routes OCM through the Bash/tsx adapter, but the reported tsx failure could not be replayed without the unavailable GitHub workflow environment. Is this the best way to solve the issue? Unclear; delegating workspace discovery to OCM is cleaner than retaining a local trampoline, but it needs upstream contract verification and a real mock-lane result before it is the proven best fix. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 2585edba2efd. LabelsLabel changes:
Label justifications:
EvidenceSecurity concerns:
What I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Land-ready proof for exact head
|
Land-ready verificationExact head: The ClawSweeper verification gaps are resolved:
The suggested adapter deletion is intentionally skipped: OCM v0.2.32 still discovers and invokes Proof
No OpenClaw release version, tag, or package was changed. The requested post-merge Performance validation remains pinned to release SHA |
|
Merged via squash.
|
Pin OCM v0.2.32 so Performance validation uses upstream native .mts discovery and transitive workspace dependency handling instead of the local Bash/tsx trampoline.
What Problem This Solves
Fixes an issue where OpenClaw Performance release validation stopped before running any Kova scenario when benchmarking current source builds. OCM v0.2.29 passed the repository's TypeScript npm adapter through a Bash/tsx trampoline, and tsx rejected its complex hashbang with
idx: 148.Affected runs:
Why This Change Was Made
Pin OCM v0.2.32, the first signed release containing the upstream current-OpenClaw build-local repair, and let OCM own native
.mtsadapter discovery, transitive workspace dependency closure, and trusted npm lifecycle execution. The obsolete workflow-local trampoline is removed rather than preserved as a second execution path.Upstream fix and release:
User Impact
Release and scheduled performance validation can once again exercise current OpenClaw source builds. There is no shipped OpenClaw runtime or package behavior change.
Evidence
v0.2.32points to2a283cc2756c76cb10852584a44ed8efeb5cc559and contains the upstream fix.SHA256SUMS:5b20c21b2825f69b89eb37baa657f0f0062124517e6e6828e9857c7e9bbd3070.node scripts/run-vitest.mjs test/scripts/openclaw-performance-workflow.test.ts— 34 passed.node scripts/check-changed.mjs -- .github/workflows/openclaw-performance.yml test/scripts/openclaw-performance-workflow.test.ts— passed on Blacksmith Testboxtbx_01m044a2m703h3ycrt1r15bmkz(run https://github.com/openclaw/openclaw/actions/runs/31920549610).git diff --checkandactionlint .github/workflows/openclaw-performance.yml— passed.