Repository navigation
fix(ci): route noncanonical performance runs through isolation - #127240
vincentkoc wants to merge 13 commits into
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. |
7c78645 to
a10865b
Compare
|
Codex review: needs real behavior proof before merge. Reviewed September 11, 2026, 9:16 AM ET / 13:16 UTC (Revision 21). ClawSweeper reviewWhat this changesRoutes noncanonical performance benchmarks through disposable AWS guests, separates candidate execution from trusted evaluation, and validates collected artifacts before upload. Merge readiness⛔ Blocked before merge - 7 items remain The activation remains necessary despite merged prerequisites. One dependency-pin defect is source-proven, and the previously requested cross-user isolation proof remains outstanding. Priority: P2 Review scores
Verification
How this fits togetherThe performance workflow takes selected OpenClaw and evaluator revisions and produces benchmark reports. This change moves noncanonical execution outside GitHub Actions while retaining trusted report evaluation and cleanup checks. flowchart TD
A[Requested revisions] --> B[Resolve immutable commits]
B --> C{Canonical trusted run?}
C -->|Yes| D[Existing Actions benchmarks]
C -->|No| E[Disposable AWS guest]
E --> F[Separate evaluator and candidate users]
F --> G[Verify cleanup and artifacts]
G --> H[Upload benchmark evidence]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests +2607, Docs +8, Config +438, Other +1082. Total +4135 across 12 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Activate the merged isolation stack with a shutdown-aware evaluator, demonstrated confinement and cleanup, and verified canonical, historical, and custom dispatch compatibility. Do we have a high-confidence way to reproduce the issue? Yes, by source: a gateway taking longer than OCM's three-second stop observation can return exit zero while still running, which the selected Kova revision treats as stopped. No runtime reproduction was executed. Is this the best way to solve the issue? No, not with the current evaluator pin: the merged Kova dependency already provides the required shutdown-confirmation ordering and should be reused. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5ff5dcefeb47. LabelsLabel justifications:
EvidenceWhat 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
HistoryReview history (20 earlier review cycles; latest 8 shown)
|
a10865b to
453d7f2
Compare
64ec6c9 to
9b99a4d
Compare
9b99a4d to
c658117
Compare
c658117 to
656db1d
Compare
7cfa75d to
7210d76
Compare
Merge fixed main while preserving the external performance route and its evidence contract. Require dual-stack metadata denial before SUT handoff and align the planner test with membership-dependent runner capacity. Retain main's Kova pins, planner implementation, and CI docs index. The eleven-path net delta does not change package dependencies or the job cap. Focused integration, IMDS, and planner evidence is retained separately. Broader native/hosted and actual guest acceptance remain outstanding. Punchcard-Session: coral-orchard-orchard-d4
Integrate current main while preserving performance isolation, complete timing families, and the existing hosted tooling admission contracts. Punchcard-Session: coral-orchard-orchard-d4
Restore the exact OpenClaw 2026.7.33 Kova default through the existing bounded immutable Contents reader. Preserve explicit refs and contracts, ordinary version defaults, and candidate trust isolation. Punchcard-Session: coral-orchard-orchard-d4
Preserve the reviewed candidate isolation and release-specific Kova selection while integrating main. Punchcard-Session: coral-orchard-orchard-d4
Integrate pinned main 253f76a while preserving the reviewed image-cache and canonical bootstrap behavior. Reuse Vincent Koc's bounded hosted-tooling packing repair from #127240, commit 0ebe79c: five production hunks and the combined-growth fixture only. The broader PR remains unchanged. Planner and timing suites pass 149 tests. Local declaration isolation blocks the shared-install typecheck; exact-head hosted CI is still required. Punchcard-Session: calm-lantern-orchard-dn
Punchcard-Session: coral-orchard-orchard-d4
Reconcile the isolated performance workflow with main while preserving the historical calibrated evaluator as diagnostic-only. Admit requested exact-main cleanup probes without enabling unrelated external lanes. Retain native runtime-RSS measurement and reject transported runtime-RSS before candidate execution. Pin the isolated Kova evaluator to ca0705a20f4d5a1f09dfcc59ce0e5de921b89a2b. Punchcard-Session: coral-orchard-orchard-d4
Run transported CLI samples and their temporary state through the explicit SUT transport while preserving native measurements. Reject unsupported transported runtime RSS and profiles before launching candidate code. Punchcard-Session: coral-orchard-orchard-d4
Add the standalone off-Actions harness with separate runner and candidate identities, bounded collection, and preserved workload receipts. Retain custom evaluator diagnostics without granting gate authority; leave workflow activation to the dependent change. Punchcard-Session: coral-orchard-orchard-d4
Separate the benchmark transport and standalone harness from workflow activation. Defer the new cleanup probe and supplemental diagnostic outputs, consolidate boundary tests, and remove the unrelated planner test delta while preserving native and external-ref coverage. Use the published isolated Kova dependency and preserve source failure receipts alongside required cleanup and evidence checks. Punchcard-Session: coral-orchard-orchard-d4
Merge the signed benchmark transport and standalone harness prerequisites as ancestors without changing the reviewed activation tree or rewriting the existing author branch. Punchcard-Session: coral-orchard-orchard-d4
|
Closing this activation follow-up at the maintainer's request. The prerequisite changes are merged; workflow activation is deferred. Real Linux isolation and failure-path qualification, plus compatible performance calibration, remain required before enabling it. |
Related: https://github.com/openclaw/openclaw/security/code-scanning/745
Related: https://github.com/openclaw/openclaw/security/code-scanning/837
What Problem This Solves
Noncanonical performance refs must execute outside the Actions coordinator
without weakening evaluator admission, evidence validation or cleanup.
Why This Change Was Made
This six-file activation unit connects immutable ref resolution and trusted
evaluator admission to the isolated backend while preserving native, deep,
source and custom lanes plus historical calibration.
Base:
fix/performance-isolation-harness-20260910(#144162).Dependencies: openclaw/Kova#125 followed by
openclaw/Kova#123, and openclaw/ocm#171.
The new public
cleanup_probe, supplemental diagnostic summary and unrelatedplanner repair are deferred. Disposable evidence JSON is not a database migration.
User Impact
Capabilities remain available, not restricted to canonical refs. Custom Kova
remains untrusted and cannot authorize its own gate.
Evidence
a77014865b0d4c886ed0a8cec83ccd8d29b20ee3;six files, +1868/-132 relative to the harness.
Earlier 376 owner/sibling passes predate the final harness receipt fix.
findings.
Linux/timing/cleanup acceptance remain unrun.
Punchcard-Session: coral-orchard-orchard-d4