Skip to content

fix(ci): remove duplicate wizard recovery route - #148403

Closed
vincentkoc wants to merge 3 commits into
mainfrom
fix/wizard-recovery-db-worker-dedupe
Closed

vincentkoc wants to merge 3 commits into
mainfrom
fix/wizard-recovery-db-worker-dedupe

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

Summary

Remove the duplicate src/wizard/setup.inference-recovery.integration.test.ts database-worker route introduced when #148353 landed after equivalent PR #148337 had already merged.

Root cause

The native merge flow detected relevant mainline overlap but allowed the squash merge. Both commits added the same test to databaseWorkerCoreTestFiles, leaving two identical entries on main.

Impact

Validation

  • Recovery integration: 8/8 passed under infra
  • Routing/scoped config: 772/772 passed
  • pnpm check:changed: passed
  • git diff --check: passed
  • Autoreview P0-P2: scoped-clean

@vincentkoc vincentkoc self-assigned this Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@vincentkoc
vincentkoc marked this pull request as ready for review September 14, 2026 17:09
@openclaw-barnacle openclaw-barnacle Bot added size: XS maintainer Maintainer-authored PR labels Sep 14, 2026
@vincentkoc vincentkoc changed the title test(wizard): remove duplicate recovery routing entry fix(ci): remove duplicate wizard recovery route Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 14, 2026, 3:05 PM ET / 19:05 UTC (Revision 4).

ClawSweeper review

What this changes

Removes a duplicate wizard recovery test registration so CI can generate its test manifest while retaining broker-enabled test execution.

Merge readiness

✅ Ready for maintainer review

The repair remains necessary: current main still contains the duplicate that prevents CI manifest generation. No actionable introduced defect was found; the alternative repair was closed unmerged in favor of this PR.

Priority: P2
Reviewed head: d42171509d786eb87c76fd8b4a62bf27dfcf6844

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A minimal, source-supported repair with relevant reported validation and no introduced correctness concern.
Proof confidence 🌊 off-meta tidepool Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored test-inventory repair; reported recovery and planner validation match the changed routing owner.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored test-inventory repair; reported recovery and planner validation match the changed routing owner.
Evidence reviewed 8 items Introduced repair preserves the test: The verified merge-base-to-head patch removes only the first duplicate; the recovery test remains registered at line 11.
Current main still needs the repair: Fetched main contains the recovery test twice, surrounding setup.test.ts. This is not an already-implemented repair.
Concrete manifest failure mechanism: createInfraSplitShards spreads the inventory into core-runtime-infra-storage-state; createCompactSplitTimingGeneration rejects repeated files before emitting timing metadata.
Findings None None.
Security None None.

How this fits together

The database-worker test inventory routes SQLite-dependent tests into isolated forked workers. CI also consumes that inventory when dividing tests into shards and rejects repeated files.

flowchart LR
  A[Recovery integration test] --> B[Database-worker inventory]
  B --> C[Infra fork pool]
  B --> D[CI shard planner]
  D --> E{Unique test entries?}
  E -->|Yes| F[CI test manifest]
  E -->|No| G[Manifest generation fails]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests -1. Total -1 across 1 file.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 0 1 -1
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 0 1 -1

Review metrics

None.

Root-cause cluster

Relationship: canonical
Canonical: #148403
Summary: This is the retained repair for the duplicate database-worker inventory entry.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Technical review

Best possible solution:

Keep one recovery-test registration in the existing inventory and preserve the planner's duplicate rejection and broker-enabled routing.

Do we have a high-confidence way to reproduce the issue?

Yes, source establishes the path: main's duplicate inventory entry reaches the compact shard planner's explicit uniqueness rejection. Execution was not repeated during this read-only review.

Is this the best way to solve the issue?

Yes, removing the duplicate at its source is the narrowest repair and preserves both existing routing and the useful uniqueness guard.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 99ac7b6726a7.

Labels

Label justifications:

  • P2: This is a bounded CI inventory repair with no production runtime change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored test-inventory repair; reported recovery and planner validation match the changed routing owner.

Evidence

What I checked:

Likely related people:

  • unknown: The claimed source-line change could not be verified from bounded local history. (role: source history unknown; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (3 earlier review cycles)
  • reviewed 2026-09-14T17:30:53.803Z sha 7905ab6 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T18:23:44.995Z sha 7905ab6 :: needs maintainer review before merge. :: none
  • reviewed 2026-09-14T18:36:56.410Z sha 306bcf2 :: needs maintainer review before merge. :: none

Integrate main da8a6cd while retaining
Vincent's original recovery-routing repair and its commit ancestry. The
resulting PR delta remains one removed duplicate test registration.

The original PR CI passed, but Workflow Sanity never attached to that head.
This substantive main integration provides a fresh synchronize event for
qualifying checks. Preserve the separate hosted SDK report OOM as failed
proof; no workflow, guard, heap, or timeout policy changes are included.

Validation: actual CI manifest, all three planner profiles, all 76 planner
tests, diff sanity, and fresh independent P2 review passed.

Co-authored-by: Vincent Koc <[email protected]>
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 14, 2026
steipete added a commit that referenced this pull request Sep 14, 2026
Reuse the one-line prerequisite from #148403 so CI can validate browser paste. Preserve the single wizard recovery registration and the duplicate-detection guard.

Co-authored-by: Vincent Koc <[email protected]>
Merge inspected main cbb8472, including
the verified Custodian test repair from #148444. Preserve the previously
published signed integration and Vincent's original inventory correction.
The PR delta against main remains one removed duplicate registration.

The prior CI attempt reproduced the obsolete radio-input interaction.
Retain its failure and the separate hosted SDK report OOM as failed proof;
this merge changes no gate, heap, timeout, or runner policy.

Validation: the existing planner and Custodian owner/sibling tests pass on
the integrated tree; actual planner generation and fresh P2 review pass.

Co-authored-by: Vincent Koc <[email protected]>
@steipete

Copy link
Copy Markdown
Contributor

Thanks, @vincentkoc. #148425 merged as cc01fd8 and fixes this same duplicate registration.

Closing this PR as superseded while preserving its branch and commits. The two repairs remove opposite copies of the wizard recovery test entry. With #148425 on main, a three-way merge of this PR's current head d421715 applies without a conflict but removes the remaining registration entirely. That would lose the required database-worker fork routing.

Verified main b8de9f8 retains exactly one registration, with the existing infra fork inclusion and wizard exclusion unchanged. The source comparison was two entries in the common base, one in each repair individually, and zero after combining both repairs. This closure preserves the intended fix and your contribution.

@steipete steipete closed this Sep 14, 2026
steipete added a commit that referenced this pull request Sep 14, 2026
* fix(browser): enable paste into agent browser panels

* refactor(browser): finish input ownership cleanup

* fix(ci): remove duplicate test routing prerequisite

Reuse the one-line prerequisite from #148403 so CI can validate browser paste. Preserve the single wizard recovery registration and the duplicate-detection guard.

Co-authored-by: Vincent Koc <[email protected]>

---------

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 15, 2026
* fix(browser): enable paste into agent browser panels

* refactor(browser): finish input ownership cleanup

* fix(ci): remove duplicate test routing prerequisite

Reuse the one-line prerequisite from openclaw#148403 so CI can validate browser paste. Preserve the single wizard recovery registration and the duplicate-detection guard.

Co-authored-by: Vincent Koc <[email protected]>

---------

Co-authored-by: Vincent Koc <[email protected]>
@RomneyDa
RomneyDa deleted the fix/wizard-recovery-db-worker-dedupe branch October 22, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P2 Normal backlog priority with limited blast radius. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants