Repository navigation
refactor: deslop wave-6 residues (tooling) - #174693
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 SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs maintainer review before merge. What this changesThis PR consolidates duplicated tooling helpers and applies the existing isolated environment setup to disposable child processes. Example: Run extension-memory profiling with OPENCLAW_STATE_DIR=/home/alex/.openclaw and a temporary home of /tmp/profile-42.
Review scores
ProductKind: Refactor · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-directed consolidation has clear maintenance value, and no concrete introduced defect was found; the exact-head CI gate remains pending. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherMaintainer scripts consume CLI arguments, pinned tool manifests, image metadata, and canonical schemas to run diagnostics, verify publication inputs, and generate artifacts. flowchart TD
A[Maintainer commands and workflows] --> B[Script entrypoints]
B --> C[Shared argument and metadata helpers]
B --> D[Isolated child environments]
B --> E[Pinned CLI and image verification]
B --> F[Schema artifact generation]
D --> G[Disposable runtime processes]
Technical reviewBest possible solution: Retain the shared owners and complete the existing exact-head CI gate before landing. Do we have a high-confidence way to reproduce the issue? This is a refactor rather than a reported product defect; source inspection confirms the inherited-selector isolation improvement, and no target code was executed during review. Is this the best way to solve the issue? The consolidation fits existing ownership boundaries and preserves the inspected command grammars, publication safeguards, and generated database formats. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b0679a229ced. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +284, Other -238. Total +46 across 51 files. Added test files: 1. View PR surface stats
Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed October 16, 2026, 5:42 PM ET / 21:42 UTC. |
|
Landing reviewed head 011a1fb under coordinator rule 10. Exact-head CI 38969151251 completed successfully, including PostgreSQL conformance, build, affected script tests, production/test types, lint, boundary checks, and security-fast. Both current CI gate projections and independent dependency/security-sensitive reviews are successful. The frozen independent review is scoped-clean, the published area is patch-identical, and current Codex and ClawSweeper reviews report no findings. No CI rerun or prior-head waiver is used. The bundle's native submission path already failed twice operationally: a foreign operation-lock object fetch failure, then GitHub's definitive Base branch was modified rejection followed by reconciliation refusal. The attempts and finalized reconciliation are recorded on core PR #174527. Coordinator rule 10 authorizes the guarded REST squash fallback for this shared submission path; this is not a check, security, or review waiver. Fresh same-writer authority, branch policy, security statuses, review state, and exact PR head are checked immediately before dispatch. The request is guarded by the full reviewed head SHA, and the resulting squash will be verified against freshly fetched main ancestry. No release, dependency update, schema migration, or live Gateway change is included. |
Preserve the tested pinned-P unit from 9961d25. Source lineage: #178179, #179112, #174693, #166083 and #172883. No registry or release publication. Co-authored-by: Peter Steinberger <[email protected]> Co-authored-by: RomneyDa <[email protected]>
…ici (#187306) * fix(release): pin beta ClawHub CLI to patched Undici Adapt only the ClawHub override and node_modules/undici lock metadata from the already-fixed main tree ed4c9d4 (#185194). Source author: RoboClaw <[email protected]>. The pin actually originated in f6c2aec (#182010), also authored by RoboClaw; ed4c9d retains it unchanged. Refresh only the standalone materializer's lock digest. Do not import c79071d / #174693 shared-helper refactoring, workflows, build isolation, root dependency locks, or unrelated private-export changes. The new node:test security regression is a local release-line adaptation. Source-Commit: ed4c9d4 Source-PR: #185194 Original-Pin-Commit: f6c2aec Original-Pin-PR: #182010 Co-authored-by: RoboClaw <[email protected]> Co-authored-by: RomneyDa <[email protected]> * test: register ClawHub security regression with tooling runner Keep the standalone materializer success and tamper checks under the canonical Vitest owner so bounded PR preflight can discover them. Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: roboclaw-bot <[email protected]> Co-authored-by: RoboClaw <[email protected]> Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
Removes duplicated tooling setup, parsing, and publication-verification recipes from the maintainer-requested wave-6 residue bundle.
User Impact
Tooling preserves its accepted command-line grammar, locked CLI versions, workflow outputs, release verification, and generated database artifacts. Disposable test/profiling children consistently use isolated home and state paths. This PR does not publish a release or change a dependency, protocol, schema, retention, durability, or operator configuration.
Why This Change Was Made
Parts: reuse the existing smoke-environment owner and CLI argument parser; centralize pinned CLI materialization and multi-platform Docker version inspection; consolidate equivalent publication parsers and Workboard/Logbook PostgreSQL generation; reuse canonical command/topology metadata; retain the corresponding fixture closures and boundary regressions.
51 files, +652/-606 overall; 238 net production lines removed. Added test coverage accounts for the overall 46-line increase. Main's refreshed Vercel lock hash is preserved in the entrypoint and its fixture; neither dependency pins nor generated schema artifacts change.
Best-effort tradeoffs accepted: no new publication or database tradeoff. Existing command grammar, first-platform missing-manifest handling, timeout differences, rollback checks, and effect-time write authority remain. Disposable fixture children receive consistent HOME, OPENCLAW and XDG paths rather than inheriting operator state selectors.
Credited lanes: z17, z04, z21, z16, z18, and z08/z10/z13. Related: #174325. Release-note context: remove duplicate internal tooling recipes while preserving published outputs and improving fixture isolation.
Evidence