Repository navigation
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. |
|
@clawsweeper review Please review exact head cd3346e. Redirected Doctor evidence and the fixed-name Doctor lint capture/reset are repaired with before/after shell-boundary proof, 19 onboarding cases, and 41 capture cases. The known inherited catalog script unused export is documented; no production ignore or baseline expansion. Original FRV Doctor/update timeouts remain unresolved. No merge requested. |
|
🦞👀 Re-review progress:
|
|
Codex review: blocked before merge. Reviewed October 7, 2026, 9:58 PM ET / October 8, 2026, 01:58 UTC (Revision 4). ClawSweeper reviewWhat this changesThe branch preserves redirected Doctor failure output and includes Doctor lint logs in existing bounded, redacted capture and attempt cleanup. Example: Release validation encounters a Doctor failure with exit status 37.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains This PR is a useful, focused diagnostic repair with no actionable functional or security findings. Current main still has the diagnostic gaps, and the earlier data-model concern does not apply to these log artifacts. Priority: P2 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherRelease-validation scripts install and exercise prepared OpenClaw packages in Docker. Their diagnostic helpers collect failed-command output and publish bounded, redacted evidence for maintainers. flowchart TD
A[Prepared OpenClaw package] --> B[Docker validation scenario]
B --> C[Doctor command]
C --> D{Command fails}
D --> E[Reserved stderr handler]
D --> F[Fixed-name diagnostic logs]
F --> G[Bounded capture and host redaction]
E --> H[Maintainer failure evidence]
G --> H
Technical reviewBest possible solution: Retain one shared failure-diagnostics owner and its existing redaction, limits, and attempt cleanup while investigating the original release stalls separately. Do we have a high-confidence way to reproduce the issue? Yes: the existing redirected ERR trap and omitted fixed-name lint logs establish the diagnostic defects in source; the supplied before/after regression preserves exit 37 and demonstrates visible failure output. This review did not execute code. Is this the best way to solve the issue? Yes: adopting the existing stderr owner and extending its capture/reset allowlist is the narrowest repair and preserves existing failure semantics. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 109bd4791099. Provenance checked
TestingProof path: in-process harness. Added test files: 2. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +20, Other +3. Total +23 across 5 files. View PR surface stats
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. LabelsLabel changes: No label 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 HistoryReview history (3 earlier review cycles) |
|
@clawsweeper re-review Please reconsider the persistent-data-model classification on exact unchanged head cd3346e using the updated artifact compatibility boundary and full Docker evidence in the PR body. The named upgrade-survivor files only capture/reset diagnostic logs; no production schema, config, migration, backfill, or installed updater changes. Existing report structure and optional-log behavior are unchanged. The original Doctor/update timeouts remain unresolved. Full existing Slack Docker onboarding now passed locally with the exact sealed candidate and registry, unchanged 300-second Doctor budget, agent turn, and Gateway restart checks; diagnostic-only, not frozen C/Q qualification. No merge or repair requested. |
|
🦞👀 Re-review progress:
|
cd3346e to
1f0fad5
Compare
Repair update — November 25, 2026
Main already contains the original onboarding failure-log reporting and Doctor lint capture. After resolving conflicts, this PR retains only the remaining attempt-isolation fix: clear
doctor-lint.jsonanddoctor-lint.errbeside other attempt-owned diagnostics so an early failure cannot publish a previous attempt's Doctor failure as current evidence.node scripts/run-vitest.mjs test/scripts/upgrade-survivor-migration-diagnostics.test.ts --maxWorkers=1: 42 passed.git diff --checkpass.ba6d94ec1771..1f0fad517328fwith no findings (high confidence).Original PR context (before main integration)
What Problem This Solves
Doctor failures in release validation can lose their diagnostic output: npm onboarding emits failure logs into the failing command's redirected log, and legacy-operator upgrade capture omits Doctor lint output entirely.
User Impact
No production runtime or configuration changes. Maintainers receive bounded, redacted failure evidence without changing the original command's exit status. The original FRV Doctor/update timeouts remain unresolved; this PR does not claim to fix them or qualify the frozen release candidate.
Why This Change Was Made
Use the existing failure-diagnostics owner, which preserves stderr across inherited ERR traps. Admit the two existing Doctor lint output artifacts through the existing capture, redaction, limits, and stale-attempt reset. The onboarding test adapter now delegates real registry PIDs to the existing process cleanup owner instead of recording them as fake Gateway stops.
Evidence
pnpm test test/scripts/npm-onboard-channel-agent-shell.test.ts --maxWorkers=1, 31.21 s wrapper / 28.88 s Vitest. No new serial configuration or timers.pnpm test test/scripts/upgrade-survivor-migration-diagnostics.test.ts --maxWorkers=1, 19.17 s wrapper / 15.64 s Vitest, including bounded/redacted Doctor lint artifacts and stale-attempt reset. The prior capture omitted the same synthetic Doctor lint error; the repaired capture retains it.scripts/publish-model-catalog.mts:readRecommendedModelsunused export; its blob is identical on this base and current main (2a1d4aacda88ab892ab31ac8286ac21e94f5cec8), with package/Knip configuration unchanged. No export was ignored or baseline expanded. Bash syntax andgit diff --checkpassed.ca071413b2eff971ffab6cd1b65c34e1afe38f7575438ad2b95a9dcb3c79c15f) and sealed plugin registry (manifest SHA-256c49e5511de4310767558399b11db6448e2c159104b8502ccfc23597d933f8b42). Doctor completed within the unchanged 300-second command budget; the subsequent agent turn and Gateway restart checks passed. This is local diagnostic replay, not original hosted-lane qualification and not evidence of repairing the original timeout.e4c6c8714da4. Exact-payload local Docker investigation is diagnostic-only, not replacement release qualification.Applicability: the same diagnostic faults and shared helper exist on both
release/2026.10.1andrelease/2026.9.9; this is source-reviewed applicability, not execution proof on those branches. No version or changelog change, release recut, or merge.Artifact compatibility boundary
The two
upgrade-survivorpaths are diagnostic capture/reset owners, not persistent data-model migrations. The patch changes no production database, schema, config, migration, backfill, or installed updater. It adds two already-produced fixed-name log files to the existing bounded/redacted artifact allowlist and removes those same files during attempt reset. Existing failure-report structure and prior artifact readers remain unchanged; absent logs remain optional. The 41 capture/reset cases cover stale files, redaction, bounds, and unchanged phase/exit behavior, and the exact clean release-branch cherry-pick passed all 60 focused cases. The source-reviewed applicability on both older branches concerns the same artifact-only contract, not an upgrade schema change.Completed root-managed diagnostic replay
The existing published 2026.9.8-to-frozen-C Docker entrypoint exited 124 at
update-candidateunder its unchanged 900-second command cap. Both captured candidate Doctor invocations exited 0 with statusok; post-update config validation passed and the installed version was 2026.10.2-beta.1. The update result remained incomplete/empty, and restart/survivor coverage was not reached. Live observation attributed roughly 12 minutes to repeated full package-tree hashing by the immutable published driver, followed by candidate finalization/npm work; the captured terminal artifacts do not establish the original hosted root cause or a new backportable repair. Existing main/C integrity optimizations cannot retroactively patch that published updater. This is local Linux ARM64 diagnostic evidence, not frozen-C FRV qualification. Automatic failure collection completed and the owned container was removed by the entrypoint.Drained-parent timeout attribution
The terminal diagnostic manifest for parent
37694088337isblocked_complete, with no active children, collector errors, or requested child cancellations. The parent verifier fails on the selected failed child jobs, not a new orchestration error.Legacy-operator artifacts distinguish process and container status: the retained phase is
legacy-operator-doctor-clean, with exitStatus 143 / SIGTERM, while the Docker lane reports 124, after 2318 seconds wall time against its 2280-second whole-container cap (including host setup/cleanup). Three earlier captured candidate Doctor invocations exited 0/status ok; they do not prove the finaldoctor --lint --jsoncompleted. Its redirected lint files were omitted by the old capture owner, so the reason the final command failed to finish remains unestablished.Update-auth reached
recovery-update-restartafter the first-hop migration, Doctor/config checks, survival, pairing, and auth preparation. It reports 137, after 3470 seconds wall time, with a configured 3420-second whole-container cap andtimeout --kill-after=30s. That timing and the exact timeout owner make deadline enforcement a concrete explanation to investigate, rather than treating 137 alone as proof of OOM. There is no retained timeout signal receipt or kernel OOM record, and DockerOOMKilled=falsedoes not exclude a killed child. The underlying second-hop stall and precise kill attribution remain unresolved; no budget, assertion, candidate, or timeout policy was changed.These are diagnostic refinements, not repairs or release qualification. Original failures and all source/backport holds remain.