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 re-review. Removes the shell-only retired agents.list downgrade; existing real shell regression fails before and passes after. No updater or timeout policy changes. Review exact head f13af59. |
|
🦞👀 I queued a lightweight read-only assist pass. It will post a separate answer comment and will not edit the durable ClawSweeper review comment or trigger close, merge, repair, label, or branch changes. Request: re-review. Removes the shell-only retired agents.list downgrade; existing real shell regression fails before and passes after. No updater or timeout policy changes. Review exact head f13af59. |
|
ClawSweeper assist: The requested head matches Evidence:
Suggested next action: Complete and record the pending proof/checks in the PR body, then request Source: #166802 (comment) |
|
Codex review: needs maintainer review before merge. Reviewed October 7, 2026, 9:23 PM ET / October 8, 2026, 01:23 UTC (Revision 2). ClawSweeper reviewWhat this changesThe PR makes the upgrade-survivor shell fixture generate keyed agent entries and extends its existing Bash regression. Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this is a focused fixture repair that current main still needs. No actionable patch defect or additional before-merge blocker was found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherRelease verification creates isolated OpenClaw configuration before exercising package updates. The shared test-state generator supplies that configuration; published-release tests separately adapt their configuration to the baseline version. flowchart TD
A[Test-state command] --> B[Shared configuration generator]
B --> C[Reusable Bash function]
C --> D[Same-package survivor fixture]
D --> E[Package update verification]
F[Published baseline version] --> G[Version-aware configuration recipe]
G --> E
Technical reviewBest possible solution: Use canonical configuration for same-package fixtures and leave historical roster adaptation with the published-baseline recipe. Do we have a high-confidence way to reproduce the issue? Yes: current main explicitly converts the canonical roster to agents.list only for shell-function, and the existing Bash regression directly exposes that difference; no reviewer-side execution was performed. Is this the best way to solve the issue? Yes: removing the shell-only conversion repairs the producer while preserving the separate version-aware baseline adapter. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b27f3f32eb9d. Provenance checked
TestingProof path: shipped entry point. Added test files: 1. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +3, Other -10. Total -7 across 2 files. View PR surface stats
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 (1 earlier review cycle)
|
What Problem This Solves
The same-package
upgrade-survivorDocker fixture generatedagents.listonly throughshell-function, despite the canonical test-state producer'screateandshellcommands already usingagents.entries. In beta FRV 37694088337 at candidatee4c6c8714da4f3d910c81c673ba8863ded3d7892, candidate admission timed out and the installed updater then rejected that retired roster before package replacement.User Impact
No user-visible change. The source-package upgrade fixture starts with its supported keyed agent roster; published-baseline migration coverage and updater refusal policies remain unchanged.
Why This Change Was Made
Remove the shell-only downgrade. All test-state transports now render the canonical keyed roster. Published-baseline upgrade proofs retain their existing baseline-aware config recipe; no updater admission, migration, schema, timeout, or refusal policy is changed.
Evidence
invalid-config, affected keyagents.list; post-update validation says the list moved to keyed entries.agents.entriesis absent. After the fix it proves keyedmain/opsentries and no retiredlist.pnpm test test/scripts/openclaw-test-state.test.ts --maxWorkers=1: 4 tests passed; wrapper wall time 14.23 s, Vitest duration 7.19 s, test logic 1.223 s. Before-fix run fails the new roster assertion (18.38 s wrapper wall time on its first cold invocation); that timing difference is initialization, not a performance claim. Hosted CI seconds are pending.git diff --checkpassed; changed-file gate passed formatting, guard/ratchet/dependency checks, script types, and all root-test type shards. Its script dead-export scan reports inheritedscripts/publish-model-catalog.mts: readRecommendedModels, byte-identical to the main base and outside this diff; remaining scans/lint are in progress.Backports
The same shell-only downgrade exists on
release/2026.10.2,release/2026.10.1(b882e76384748485669517a8b28a866acabbf718), andrelease/2026.9.9(76cfa7f7734ce80e4d9046651c04c6a60e5f4002). The canonical keyed roster is already supported on those lines. This PR targets main; the 10.2 backport follows separately. Older lines are applicability analysis only.The admission timeout preceding the fallback and Discord/Slack Doctor timeouts remain unresolved. Canonicalizing this fixture removes the confirmed retired-config refusal; it does not establish a timeout root cause or waive any failing release lane.
Current source gates
Exact-head CI 37701611846 completed successfully on
f13af5968f4514a6e828b475dd66a14996574958; the required CI gate passed. ClawSweeper has no findings and no before-merge blocker for this head. GitHub reports mergeable/clean. Full fixed-package survivor Docker coverage remains pending and is not inferred from source CI. No merge or candidate mutation.