Repository navigation
refactor(test): separate worker declaration metadata from compilation - #144313
Conversation
Replay the reviewed first tooling layer on the current frozen main base. Keep package activation declarations reserved for the later owning layers; preserve the inherited main build graph and test coverage.
|
🦞👀 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: blocked before merge. Reviewed September 10, 2026, 11:36 PM ET / September 11, 2026, 03:36 UTC (Revision 12). ClawSweeper reviewWhat this changesSeparates test-worker declaration metadata from compilation, fixes plugin snapshot refreezing and tooltip click interception, and stabilizes supporting test fixtures. Merge readiness⛔ Blocked before merge - 1 item remains Keep open: this maintainer-owned PR remains useful, and no blocking introduced defect was found. The previous migration prerequisite is unsupported by the actual changes. Priority: P3 Review scores
Verification
How this fits togetherWorker declarations tell OpenClaw’s build and test tools which subprocess modules to prepare. Supporting fixes preserve reusable plugin metadata and let Control UI users click controls beneath plain tooltips. flowchart LR
A[Worker declarations] --> B[Shared metadata registry]
B --> C[Build and test tools]
C --> D[Verified subprocess artifacts]
E[Retained plugin metadata] --> F[Stable immutable snapshots]
G[Tooltip content] --> H[Plain click-through or rich interaction]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +7, Tests +203, Other +6. Total +216 across 16 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Technical reviewBest possible solution: Keep build metadata dependency-light and preserve existing runtime and UI contracts without introducing migration machinery. Do we have a high-confidence way to reproduce the issue? Not applicable to the primary metadata refactor; supporting regression paths are identifiable from source and focused tests, but were not executed during this review. Is this the best way to solve the issue? Yes: the patch reuses existing owners, completes the declaration-import cutover, and preserves snapshot traversal and tooltip lifecycle behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 008a95d8059d. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (11 earlier review cycles; latest 8 shown)
|
Pair synthetic OAuth refresh with capability discovery. Retain the Android test synchronization landed upstream in commit 1237e64. No production code or timeout changes.
|
Merged via squash.
|
…openclaw#144313) * refactor(test): centralize worker declaration metadata Replay the reviewed first tooling layer on the current frozen main base. Keep package activation declarations reserved for the later owning layers; preserve the inherited main build graph and test coverage. * test: stabilize auth discovery and onboarding checks Pair synthetic OAuth refresh with capability discovery. Retain the Android test synchronization landed upstream in commit a43c067. No production code or timeout changes. * test: isolate yielded session reset runtime * test: align isolated Gateway inventory assertions * fix(ui): let plain tooltips yield pointer actions * test: preserve loose objects in Git corruption fixtures * fix: keep tooltips lean and metadata snapshots refreezable * test(android): pin approval reconciliation handler entry --------- Co-authored-by: Jason (Json) <[email protected]>
Related: #143752
Scope
Layer 1 of the eight-PR update-recovery stack. This preserves Vincent Koc's worker-metadata refactor and includes the bounded repairs needed during maintainer qualification:
This PR does not implement interrupted-update recovery or terminal retirement. The top layer is #143917. Jason Sy's (@fuller-stack-dev) retirement extraction and linked-slot custody fixes remain in their later applicable layers.
User impact
Plain tooltip overlays no longer intercept clicks on nearby controls. Plugin metadata can be finalized again after a module graph is recreated without redefining frozen collection methods. Worker declaration values and compilation behavior are preserved.
Compatibility
No stored-data migration, schema bump, protocol change or configuration conversion is introduced. The declaration registry is moved unchanged; artifact manifest structure, artifact verification and storage paths are unchanged. Adding the registry to compiler inputs participates in the existing build-artifact invalidation mechanism, not a runtime data migration. Plugin snapshots and their mutation guards are process-local objects. Tooltip changes affect DOM interaction only. No new recovery authority or persistence layout is claimed.
Evidence and remaining gates
Current prepared head:
4a2c98fca8fbec3afc3b9e64b0e3c8cef5c9578e, treef477574c2a0e830f15aaf083a2dfaaef4550cf16.Draft-skipped jobs do not qualify this head. This PR does not claim whole-stack recovery, F2 completion, installed proof, or permission to release the installed HOLD. The later PRs land only after their predecessors.