chore: remove obsolete OCM-98 reproduction tools - #239
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. |
|
Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 6:49 AM ET / 10:49 UTC. ClawSweeper reviewWhat this changesRemoves the historical runtime-install reproduction script and its SQLite metadata helper while preserving runtime behavior and regression tests. Merge readiness✅ Ready for maintainer review This is a focused, useful cleanup with no actionable defects found. The tools remain on main and in the latest release, so the removal is still necessary; the earlier workflow deletion did not complete this work. Priority: P3 Review scores
Verification
How this fits togetherOCM installs OpenClaw runtimes while isolating package installation scripts from the caller’s state. These historical tools compared legacy and fixed installers; ordinary runtime tests now maintain the regression coverage. flowchart LR
A[Legacy and current installers] --> B[Historical reproduction tools removed]
B --> C[Historical comparison reports]
D[Runtime installation code] --> E[Retained isolation regression tests]
E --> F[Normal Linux and macOS CI]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Keep runtime-isolation protection in the maintained implementation and ordinary tests, with historical reproduction tooling recoverable from Git history. Do we have a high-confidence way to reproduce the issue? Not applicable: this is deletion-only maintenance, and static inspection establishes the unused-tool boundary without rerunning the historical incident. Is this the best way to solve the issue? Yes. Removing the reproducer and its sole helper together is a narrow cleanup that preserves the actual repair and independent regression coverage. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a898020dccc9. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: chore: remove obsolete OCM-98 reproduction tools This is item 1/1 in the current shard. Shard 0/1. This placeholder means the worker is alive and reading the current context. I will edit this same comment with the actual review when the claws are done clicking. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
|
Simplified: OCM's source tree no longer includes the obsolete OCM-98 reproduction tools. |
What Problem This Solves
The standalone OCM-98 reproduction workflow was removed in #235, but its incident-specific shell script and SQLite metadata helper remained in the repository.
The reproducer requires a legacy OCM v0.2.32 binary and fixed OpenClaw beta fixtures, and neither tool is used by the current runtime, CI, release, packaging, or documented development workflow.
Keeping these obsolete entry points alongside maintained tooling leaves an unnecessary historical workflow in the source tree.
User Impact
This removes
scripts/reproduce-ocm-98.shandscripts/ocm-98-db-meta.mjstogether.The historical investigation remains available in Git history.
OCM's runtime-install behavior, caller-state isolation, npm configuration handling, and normal test workflow remain unchanged.
The runtime-isolation fix from #131 stays in
src/store/runtimes.rs, together with the active regression tests and their support probes.README and CONTRIBUTING guidance, normal CI, and all release, signing, installer, and npm tooling are preserved.
Why This Change Was Made
The database helper is used only by the obsolete reproducer, so deleting the pair removes the complete unused tooling without leaving another orphaned helper.
Current source and discovery paths have no other caller for either file.
The actual protection against the original regression belongs to the runtime implementation and its ordinary tests, which do not depend on these historical tools.
Evidence
The static preflight verified an exact two-file deletion: every remaining tracked object and mode matches the current base, and no retained source reference points to either removed file.
Independent review also checked indirect discovery, explicit release fixture lists, and native/npm package contents and found no dependency on the pair.
The preserved
official_runtime_install_isolates_npm_lifecycle_from_caller_openclaw_statetest covers caller state and service-path isolation through host and managed npm paths.The preserved
official_runtime_install_preserves_real_npm_configurationtest covers script policy and normal or explicit npm configuration.Both remain in the existing Linux/macOS
cargo test --lockedCI path.The obsolete reproducer and legacy binaries were not executed, and no local Rust build or dependency installation was needed for this deletion-only check.
CI run 35086808704 passed all nine jobs for commit
4a4a508, including both complete test suites andcargo installsmoke checks.All four CodeQL analysis jobs passed.
The completed automated review records Platinum (4/6) with no findings for the same commit.