Skip to content

fix(ci): run Codex adoption recovery with the database broker - #161276

Merged
steipete merged 1 commit into
mainfrom
deslop/l73-ci-codex-recovery-broker
Sep 29, 2026
Merged

steipete merged 1 commit into
mainfrom
deslop/l73-ci-codex-recovery-broker

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes the Codex recovery CI shard failing when the existing binding-conflict test rolls back a newly created session.

User Impact

No user-visible behavior changes. This repairs the test environment for the existing rollback contract.

Why This Change Was Made

The session runtime removes publication receipts during rollback, which requires the host SQLite worker broker. The recovery file was still selected by the generic threaded Codex suite. Add it to the canonical database-worker file list, which also excludes it from that generic suite. Production code, assertions, fixtures, and execution limits are unchanged.

Evidence

Blacksmith Testbox run 36588618529, source 95d4489f6fb7d34fce5e08f36d04cb09db83a1dc; candidate tree 0c5c1bb6aa359f483b6a467605c7bd5c954ec274. The repository wrapper completed with exit 0. The owned lease was stopped after all 13 proof artifacts were downloaded and hash-verified. Its detached comparison used a frozen workspace install and Node 24.21.0.

Check Result Wall time
Original 23-file CI shard on clean main Expected natural failure: 407 passed, one rollback case failed 119.75s
Recovery file through the default test wrapper, --maxWorkers=1 12 passed in the database-worker project 58.95s
Remaining original generic shard 396 passed across 22 files 160.59s
Three existing routing/planner suites 160 passed 39.49s
Explicit changed-file gate Passed 173.13s

A temporary diagnostic retained every original assertion and rethrew the same error. It captured the expected binding-conflict error plus a nested SqliteWorkerError (unavailable, Shared-state admission requires the host broker) from publication-receipt deletion. The diagnostic was removed before positive proof. An earlier comparison linked only root dependencies and failed during imports; that invalid negative was corrected with the frozen comparison install and is excluded from regression evidence.

Fresh independent review through P2 found no actionable findings. No new tests were added. Hosted CI is not claimed as complete; this pure-CI follow-up uses the maintainer-authorized immediate admin squash route after Testbox proof and review. The separate runtime and native-assignment feature PRs remain unmerged with auto-merge off.

The existing rollback test reaches publication-receipt deletion, which
requires the host SQLite broker. Route it through the canonical database
worker list while preserving its assertions and generic-suite exclusion.

Testbox reproduced the original missing-broker error, then passed all
12 recovery cases, 396 remaining shard cases, 160 planner cases, and the
changed-file gate. Fresh independent review found no actionable findings.
@steipete
steipete marked this pull request as ready for review September 29, 2026 16:19
@clawsweeper

clawsweeper Bot commented Sep 29, 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.

@steipete
steipete merged commit 5ce2978 into main Sep 29, 2026
156 of 158 checks passed
@steipete
steipete deleted the deslop/l73-ci-codex-recovery-broker branch September 29, 2026 16:23
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 30, 2026
…aw#161276)

The existing rollback test reaches publication-receipt deletion, which
requires the host SQLite broker. Route it through the canonical database
worker list while preserving its assertions and generic-suite exclusion.

Testbox reproduced the original missing-broker error, then passed all
12 recovery cases, 396 remaining shard cases, 160 planner cases, and the
changed-file gate. Fresh independent review found no actionable findings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant