From 08ba5f90c8f443d4e0de4c992f662df883e7b08f Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Thu, 16 Jul 2026 15:46:32 -0700 Subject: [PATCH] fix(ci): detect frozen Codex binding stores (#109377) --- scripts/e2e/codex-npm-plugin-live-docker.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/scripts/e2e/codex-npm-plugin-live-docker.sh b/scripts/e2e/codex-npm-plugin-live-docker.sh index 597fcd1bcee4..a09d796cd267 100644 --- a/scripts/e2e/codex-npm-plugin-live-docker.sh +++ b/scripts/e2e/codex-npm-plugin-live-docker.sh @@ -47,7 +47,15 @@ if [[ -z "$SESSION_STORE_CONTRACT" ]]; then SESSION_STORE_CONTRACT="legacy-json" fi fi -BINDING_STORE_CONTRACT="${OPENCLAW_CODEX_NPM_PLUGIN_BINDING_STORE_CONTRACT:-plugin-kv}" +BINDING_STORE_CONTRACT="${OPENCLAW_CODEX_NPM_PLUGIN_BINDING_STORE_CONTRACT:-}" +if [[ -z "$BINDING_STORE_CONTRACT" ]]; then + if [[ -f "$CANDIDATE_ROOT/extensions/codex/src/app-server/session-binding-meta.ts" ]]; then + BINDING_STORE_CONTRACT="plugin-kv" + else + # Frozen targets before the binding-store migration persist a session sidecar. + BINDING_STORE_CONTRACT="legacy-sidecar" + fi +fi run_log="" cleanup() {