Repository navigation
chore: remove duplicate startup corpus runs - #204932
Conversation
Keep source-config preservation assertions on the operator-container case. The removed alias has loaded byte-identical operator-container input since #184375, so it repeats one config startup and two prior-release state startup cases.
|
🦞👀 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. What this changesThis PR removes the synthetic hamverbot.json corpus alias and moves its source-config preservation assertions to operator-container.json. Example: Run the operator-container configuration through startup and both historical-state releases.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR removes genuinely duplicate test executions while retaining the distinct assertions; no introduced defect was found. Priority: P3 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherA shared test-only reader supplies configuration fixtures to the config-startup suite and the partitioned historical-state startup suite, which exercise existing production owners and assert startup and preservation behavior. flowchart LR
A[Configuration fixtures] --> B[Shared corpus reader]
B --> C[Config startup suite]
B --> D[Historical state suite]
E[Two release snapshots] --> D
C --> F[Startup and preservation assertions]
D --> F
Technical reviewBest possible solution: Retain the direct fixture inventory and transferred assertions, then complete the existing corpus validation and normal CI gates. Do we have a high-confidence way to reproduce the issue? Source establishes the duplication conclusively: both names resolve to the same file and enter the same parameterized test bodies without distinct name-dependent handling. Is this the best way to solve the issue? This is the smallest complete cleanup: remove the redundant alias at the shared inventory owner and retain its stronger assertions on the existing fixture. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 1a15f8948efd. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests -3. Total -3 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
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 November 24, 2026, 5:19 PM ET / 22:19 UTC. |
|
Merged via squash auto-merge.
|
Keep source-config preservation assertions on the operator-container case. The removed alias has loaded byte-identical operator-container input since openclaw#184375, so it repeats one config startup and two prior-release state startup cases.
What Problem This Solves
The startup corpus runs the same operator configuration twice. Since #184375,
hamverbot.jsonhas been an alias for the byte-identicaloperator-container.jsoninput, adding one duplicate config-startup run and two duplicate prior-release state-startup runs.User Impact
No user-visible behavior change. Developers retain the same startup and source-config preservation coverage with three fewer duplicate executions.
Why This Change Was Made
Remove the synthetic alias and move its unchanged source-config assertions to
operator-container.json. The keeper still checks the authored model policy and both OAuth profile records. All 16 on-disk configuration fixtures and both historical state releases remain covered. Production code and fixture bytes are unchanged; test/support code shrinks by three lines.Evidence
All 53 retained cases passed across the config-startup suite and all eight state-startup partitions (476.28 seconds). Every remaining configuration ran against both historical releases.
A temporary startup mutation that drops authored OAuth profiles makes both the original
hamverbot.jsoncase and the retainedoperator-container.jsoncase fail at the same source-config assertion. All temporary edits were restored byte-for-byte.Targeted type-aware lint, config/CLI test typechecking, formatting, and all three dead-code scans passed. Pinned local ClawSweeper review found no correctness or security findings. No production behavior or fixture bytes change.