fix(docker): keep codex plugin in release images · openclaw/openclaw@d0f7c8f
YuanHanzhong
·
2026-05-19
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -155,7 +155,7 @@ jobs:
|
155 | 155 | cache-from: type=gha,scope=docker-release-amd64 |
156 | 156 | cache-to: type=gha,mode=max,scope=docker-release-amd64 |
157 | 157 | build-args: | |
158 | | - OPENCLAW_EXTENSIONS=diagnostics-otel |
| 158 | + OPENCLAW_EXTENSIONS=diagnostics-otel,codex |
159 | 159 | tags: ${{ steps.tags.outputs.value }} |
160 | 160 | labels: ${{ steps.labels.outputs.value }} |
161 | 161 | sbom: true |
@@ -253,7 +253,7 @@ jobs:
|
253 | 253 | cache-from: type=gha,scope=docker-release-arm64 |
254 | 254 | cache-to: type=gha,mode=max,scope=docker-release-arm64 |
255 | 255 | build-args: | |
256 | | - OPENCLAW_EXTENSIONS=diagnostics-otel |
| 256 | + OPENCLAW_EXTENSIONS=diagnostics-otel,codex |
257 | 257 | tags: ${{ steps.tags.outputs.value }} |
258 | 258 | labels: ${{ steps.labels.outputs.value }} |
259 | 259 | sbom: true |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -11,6 +11,7 @@ Docs: https://docs.openclaw.ai
|
11 | 11 | |
12 | 12 | ### Fixes |
13 | 13 | |
| 14 | +- Docker: keep the bundled Codex plugin in official release image keep lists so the default OpenAI agent harness remains available after Docker pruning. Fixes #83613. (#83626) Thanks @YuanHanzhong. |
14 | 15 | - CLI/channels: preserve the first line of `openclaw channels logs` output when the rolling tail window starts exactly on a line boundary, mirroring the already-fixed `readLogSlice` behavior in `src/logging/log-tail.ts`. |
15 | 16 | - Control UI: treat terminal session status as authoritative over stale active-run flags so completed terminal runs stop showing abort/live UI. (#84057) |
16 | 17 | - CLI: preserve embedded equals signs in inline root option values instead of truncating after the second separator. (#83995) Thanks @ThiagoCAltoe. |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -7,6 +7,7 @@ import YAML from "yaml";
|
7 | 7 | |
8 | 8 | const repoRoot = resolve(fileURLToPath(new URL(".", import.meta.url)), ".."); |
9 | 9 | const dockerfilePath = join(repoRoot, "Dockerfile"); |
| 10 | +const dockerReleaseWorkflowPath = join(repoRoot, ".github/workflows/docker-release.yml"); |
10 | 11 | const dockerSetupDockerfilePaths = ["Dockerfile", "scripts/docker/sandbox/Dockerfile"] as const; |
11 | 12 | const pnpmWorkspacePath = join(repoRoot, "pnpm-workspace.yaml"); |
12 | 13 | |
@@ -223,6 +224,14 @@ describe("Dockerfile", () => {
|
223 | 224 | ); |
224 | 225 | }); |
225 | 226 | |
| 227 | +it("keeps the Codex plugin in official Docker release images", async () => { |
| 228 | +const workflow = await readFile(dockerReleaseWorkflowPath, "utf8"); |
| 229 | +const releaseKeepList = "OPENCLAW_EXTENSIONS=diagnostics-otel,codex"; |
| 230 | + |
| 231 | +expect(workflow.match(new RegExp(releaseKeepList, "g"))).toHaveLength(2); |
| 232 | +expect(workflow).not.toContain("OPENCLAW_EXTENSIONS=diagnostics-otel\n"); |
| 233 | +}); |
| 234 | + |
226 | 235 | it("does not override bundled plugin discovery in runtime images", async () => { |
227 | 236 | const dockerfile = collapseDockerContinuations(await readFile(dockerfilePath, "utf8")); |
228 | 237 | expect(dockerfile).toContain(`ARG OPENCLAW_BUNDLED_PLUGIN_DIR=${BUNDLED_PLUGIN_ROOT_DIR}`); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。