Skip to content

fix(ci): read Codex bindings from SQLite in live harness#103467

Merged
vincentkoc merged 1 commit into
mainfrom
fix/codex-npm-plugin-sqlite-assertion
Jul 10, 2026
Merged

fix(ci): read Codex bindings from SQLite in live harness#103467
vincentkoc merged 1 commit into
mainfrom
fix/codex-npm-plugin-sqlite-assertion

Conversation

@vincentkoc

Copy link
Copy Markdown
Member

What Problem This Solves

The Codex npm plugin live release harness still reads the retired JSONL sidecar for thread bindings. After the binding store migrated to SQLite, genuine live turns pass but the harness reports ENOENT and fails the release lane.

Fixes #103451

Why This Change Was Made

Read the canonical plugin_state_entries row from state/openclaw.sqlite, using the same session-key digest and active/expiry rules as the Codex binding store. Reject bindings owned by a different physical session generation so the assertion cannot accept stale state.

Targeted-test routing now includes this harness file.

User Impact

No runtime or product behavior changes. Release validation can correctly verify successful Codex npm plugin live turns after the SQLite migration.

Evidence

  • Reproduced in release validation job 86296271087: Codex CLI preflight and all 3 live turns passed before the stale sidecar assertion failed.
  • Blacksmith Testbox tbx_01kx5a4wcdhakjn1fdrc5pnses: 190/190 focused tests passed on exact head 37cb842d02a7a44ab7a6d35cd1278aa42d3ea4b4.
  • Path-scoped pnpm check:changed passed in the same Testbox.
  • Fresh exact-head structured autoreview: no accepted/actionable findings, confidence 0.90.
  • node --check and git diff --check passed.

@vincentkoc vincentkoc self-assigned this Jul 10, 2026
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M maintainer Maintainer-authored PR labels Jul 10, 2026
@vincentkoc
vincentkoc merged commit f11b249 into main Jul 10, 2026
104 of 106 checks passed
@vincentkoc
vincentkoc deleted the fix/codex-npm-plugin-sqlite-assertion branch July 10, 2026 06:32
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR scripts Repository scripts size: M

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Codex npm live harness reads retired binding sidecar after SQLite migration

1 participant