test(release): expect cheap docker preflight · openclaw/openclaw@57ea5af
steipete
·
2026-06-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -325,14 +325,15 @@ describe("Dockerfile", () => {
|
325 | 325 | expect(workflow).toContain('test -f "${temp_root}/home/.openclaw/workspace/HEARTBEAT.md"'); |
326 | 326 | }); |
327 | 327 | |
328 | | -it("keeps runtime workspace template smoke in full release validation", async () => { |
| 328 | +it("keeps only the runtime-assets prune proof in full release validation", async () => { |
329 | 329 | const workflow = await readFile(fullReleaseValidationWorkflowPath, "utf8"); |
330 | 330 | |
331 | | -expect(workflow).toContain("Build and smoke test final Docker runtime image"); |
332 | | -expect(workflow).toContain('-t "${image_ref}"'); |
333 | | -expect(workflow).toContain("test -f /app/src/agents/templates/HEARTBEAT.md"); |
334 | | -expect(workflow).toContain('grep -F "Missing workspace template:"'); |
335 | | -expect(workflow).toContain('test -f "${temp_root}/home/.openclaw/workspace/HEARTBEAT.md"'); |
| 331 | +expect(workflow).toContain("Verify Docker runtime-assets prune path"); |
| 332 | +expect(workflow).toContain("--target runtime-assets"); |
| 333 | +expect(workflow).not.toContain("Build and smoke test final Docker runtime image"); |
| 334 | +expect(workflow).not.toContain("test -f /app/src/agents/templates/HEARTBEAT.md"); |
| 335 | +expect(workflow).not.toContain('grep -F "Missing workspace template:"'); |
| 336 | +expect(workflow).not.toContain('test -f "${temp_root}/home/.openclaw/workspace/HEARTBEAT.md"'); |
336 | 337 | expect(workflow).not.toContain("scripts/docker/runtime-workspace-template-smoke.sh"); |
337 | 338 | }); |
338 | 339 | |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。