mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 18:54:48 +00:00
Remove codex-cli backend and migrate to Codex runtime
Remove the bundled codex-cli backend, migrate legacy codex-cli refs and runtime pins to the Codex app-server runtime, and update live/backend workflow coverage for the supported CLI lanes.
This commit is contained in:
committed by
GitHub
parent
66b98b7294
commit
a0f35574d0
@@ -94,8 +94,8 @@ describe("docker build helper", () => {
|
||||
expect(liveCliBackend).toContain(
|
||||
'OPENCLAW_LIVE_DOCKER_REPO_ROOT="$ROOT_DIR" "$TRUSTED_HARNESS_DIR/scripts/test-live-build-docker.sh"',
|
||||
);
|
||||
expect(liveCliBackend).toContain("direct Codex CLI probe failed before OpenClaw gateway smoke");
|
||||
expect(liveCliBackend).toContain("==> Direct Codex CLI probe ok");
|
||||
expect(liveCliBackend).toContain("codex-cli is no longer a bundled CLI backend");
|
||||
expect(liveCliBackend).not.toContain("==> Direct Codex CLI probe ok");
|
||||
expect(liveCliBackend).not.toContain(
|
||||
'echo "==> Reuse live-test image: $LIVE_IMAGE_NAME (OPENCLAW_SKIP_DOCKER_BUILD=1)"',
|
||||
);
|
||||
|
||||
@@ -115,7 +115,9 @@ describe("package acceptance workflow", () => {
|
||||
expect(workflow).toContain("update-channel-switch skill-install update-corrupt-plugin");
|
||||
expect(workflow).toContain("update-corrupt-plugin upgrade-survivor");
|
||||
expect(workflow).toContain("published-upgrade-survivor");
|
||||
expect(workflow).toContain("published-upgrade-survivor root-managed-vps-upgrade update-restart-auth");
|
||||
expect(workflow).toContain(
|
||||
"published-upgrade-survivor root-managed-vps-upgrade update-restart-auth",
|
||||
);
|
||||
expect(workflow).toContain("plugins-offline plugin-update");
|
||||
expect(workflow).toContain("include_release_path_suites=true");
|
||||
expect(workflow).not.toContain("telegram_mode requires source=npm");
|
||||
@@ -382,10 +384,12 @@ describe("package artifact reuse", () => {
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=opencode-go,openrouter");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_GATEWAY_PROVIDERS=xai,zai");
|
||||
expect(workflow).toContain("inputs.live_suite_filter == 'live-gateway-advisory-docker'");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_CLI_BACKEND_MODEL=codex-cli/gpt-5.4");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_CLI_BACKEND_MODEL=claude-cli/claude-sonnet-4-6");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_CLI_BACKEND_AUTH=api-key");
|
||||
expect(workflow).toContain("OPENCLAW_LIVE_CLI_BACKEND_USE_CI_SAFE_CODEX_CONFIG=1");
|
||||
expect((workflow.match(/service_tier=\\"fast\\"/g) ?? []).length).toBeGreaterThanOrEqual(2);
|
||||
expect(workflow).not.toContain("OPENCLAW_LIVE_CLI_BACKEND_USE_CI_SAFE_CODEX_CONFIG=1");
|
||||
expect(workflow).not.toContain('service_tier=\\"fast\\"');
|
||||
expect(workflow).not.toContain("OPENCLAW_LIVE_CLI_BACKEND_ARGS=");
|
||||
expect(workflow).not.toContain("OPENCLAW_LIVE_CLI_BACKEND_RESUME_ARGS=");
|
||||
expect(workflow).not.toContain(
|
||||
'OPENCLAW_LIVE_CLI_BACKEND_ARGS=["exec","--json","--color","never","--sandbox","danger-full-access","--skip-git-repo-check"]',
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user