惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

A
About on SuperTechFans
GbyAI
GbyAI
I
InfoQ
C
Cisco Blogs
T
Tor Project blog
NISL@THU
NISL@THU
N
Netflix TechBlog - Medium
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
T
The Exploit Database - CXSecurity.com
H
Help Net Security
Cisco Talos Blog
Cisco Talos Blog
The Register - Security
The Register - Security
Microsoft Azure Blog
Microsoft Azure Blog
G
Google Developers Blog
A
Arctic Wolf
Stack Overflow Blog
Stack Overflow Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
P
Palo Alto Networks Blog
aimingoo的专栏
aimingoo的专栏
Microsoft Security Blog
Microsoft Security Blog
P
Privacy International News Feed
L
LINUX DO - 热门话题
Know Your Adversary
Know Your Adversary
L
LangChain Blog
AWS News Blog
AWS News Blog
Security Latest
Security Latest
T
Threat Research - Cisco Blogs
U
Unit 42
P
Privacy & Cybersecurity Law Blog
Spread Privacy
Spread Privacy
WordPress大学
WordPress大学
Latest news
Latest news
L
Lohrmann on Cybersecurity
小众软件
小众软件
阮一峰的网络日志
阮一峰的网络日志
Simon Willison's Weblog
Simon Willison's Weblog
雷峰网
雷峰网
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Y
Y Combinator Blog
S
SegmentFault 最新的问题
Recent Announcements
Recent Announcements
C
Cybersecurity and Infrastructure Security Agency CISA
Martin Fowler
Martin Fowler
S
Schneier on Security
C
CERT Recently Published Vulnerability Notes
B
Blog
Project Zero
Project Zero
Recorded Future
Recorded Future

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
ci: derive docker e2e artifacts from plan · openclaw/openclaw@cd417f3
steipete · 2026-04-27 · via Recent Commits to openclaw:main

@@ -466,56 +466,54 @@ jobs:

466466

- name: Hydrate live auth/profile inputs

467467

run: bash scripts/ci-hydrate-live-auth.sh

468468469+

- name: Plan Docker E2E chunk

470+

id: plan

471+

shell: bash

472+

run: |

473+

set -euo pipefail

474+

mkdir -p .artifacts/docker-tests

475+

export OPENCLAW_DOCKER_ALL_PROFILE=release-path

476+

export OPENCLAW_DOCKER_ALL_CHUNK="${DOCKER_E2E_CHUNK}"

477+

export OPENCLAW_DOCKER_ALL_INCLUDE_OPENWEBUI="${INCLUDE_OPENWEBUI}"

478+

node scripts/test-docker-all.mjs --plan-json > ".artifacts/docker-tests/release-${DOCKER_E2E_CHUNK}-plan.json"

479+

node scripts/docker-e2e.mjs github-outputs ".artifacts/docker-tests/release-${DOCKER_E2E_CHUNK}-plan.json" >> "$GITHUB_OUTPUT"

480+469481

- name: Download OpenClaw Docker E2E package

482+

if: steps.plan.outputs.needs_package == '1'

470483

uses: actions/download-artifact@v8

471484

with:

472485

name: docker-e2e-package

473486

path: .artifacts/docker-e2e-package

474487475-

- name: Pull shared Docker E2E image

488+

- name: Pull shared bare Docker E2E image

489+

if: steps.plan.outputs.needs_bare_image == '1'

476490

shell: bash

477491

run: |

478492

set -euo pipefail

479-

case "${DOCKER_E2E_CHUNK}" in

480-

core)

481-

docker pull "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"

482-

;;

483-

package-update)

484-

docker pull "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"

485-

;;

486-

plugins-integrations)

487-

docker pull "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"

488-

docker pull "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"

489-

;;

490-

*)

491-

docker pull "${OPENCLAW_DOCKER_E2E_IMAGE}"

492-

;;

493-

esac

493+

docker pull "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"

494+495+

- name: Pull shared functional Docker E2E image

496+

if: steps.plan.outputs.needs_functional_image == '1'

497+

shell: bash

498+

run: |

499+

set -euo pipefail

500+

docker pull "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"

494501495502

- name: Validate chunk credentials

496503

shell: bash

497504

run: |

498505

set -euo pipefail

499-

case "${DOCKER_E2E_CHUNK}" in

500-

package-update)

501-

[[ -n "${OPENAI_API_KEY:-}" ]] || {

502-

echo "OPENAI_API_KEY is required for installer Docker E2E." >&2

503-

exit 1

504-

}

505-

if [[ -z "${ANTHROPIC_API_TOKEN:-}" && -z "${ANTHROPIC_API_KEY:-}" ]]; then

506-

echo "ANTHROPIC_API_TOKEN or ANTHROPIC_API_KEY is required for installer Docker E2E." >&2

507-

exit 1

508-

fi

509-

;;

510-

plugins-integrations)

511-

if [[ "${INCLUDE_OPENWEBUI}" == "true" ]]; then

512-

[[ -n "${OPENAI_API_KEY:-}" ]] || {

513-

echo "OPENAI_API_KEY is required for the Open WebUI Docker smoke." >&2

514-

exit 1

515-

}

516-

fi

517-

;;

518-

esac

506+

credentials=",${{ steps.plan.outputs.credentials }},"

507+

if [[ "$credentials" == *",openai,"* ]]; then

508+

[[ -n "${OPENAI_API_KEY:-}" ]] || {

509+

echo "OPENAI_API_KEY is required for selected Docker E2E lanes." >&2

510+

exit 1

511+

}

512+

fi

513+

if [[ "$credentials" == *",anthropic,"* && -z "${ANTHROPIC_API_TOKEN:-}" && -z "${ANTHROPIC_API_KEY:-}" ]]; then

514+

echo "ANTHROPIC_API_TOKEN or ANTHROPIC_API_KEY is required for selected Docker E2E lanes." >&2

515+

exit 1

516+

fi

519517520518

- name: Run Docker E2E chunk

521519

shell: bash

@@ -542,31 +540,7 @@ jobs:

542540

echo "Docker chunk summary missing: \`$summary\`" >> "$GITHUB_STEP_SUMMARY"

543541

exit 0

544542

fi

545-

node --input-type=module - "$summary" <<'NODE' >> "$GITHUB_STEP_SUMMARY"

546-

import fs from "node:fs";

547-

const summary = JSON.parse(fs.readFileSync(process.argv[2], "utf8"));

548-

const lanes = Array.isArray(summary.lanes) ? summary.lanes : [];

549-

console.log(`### Docker E2E chunk: ${summary.chunk ?? "unknown"}`);

550-

console.log("");

551-

console.log(`Status: \`${summary.status}\``);

552-

console.log("");

553-

console.log("| Lane | Status | Seconds | Timed out | Rerun |");

554-

console.log("| --- | ---: | ---: | --- | --- |");

555-

for (const lane of lanes) {

556-

const status = lane.status === 0 ? "pass" : `fail ${lane.status}`;

557-

const rerun = String(lane.rerunCommand ?? "").replaceAll("`", "\\`");

558-

console.log(`| \`${lane.name}\` | ${status} | ${lane.elapsedSeconds ?? ""} | ${lane.timedOut ? "yes" : "no"} | \`${rerun}\` |`);

559-

}

560-

const phases = Array.isArray(summary.phases) ? summary.phases : [];

561-

if (phases.length > 0) {

562-

console.log("");

563-

console.log("| Phase | Seconds | Status | Image kind |");

564-

console.log("| --- | ---: | --- | --- |");

565-

for (const phase of phases) {

566-

console.log(`| \`${phase.name}\` | ${phase.elapsedSeconds ?? ""} | ${phase.status ?? ""} | ${phase.imageKind ?? ""} |`);

567-

}

568-

}

569-

NODE

543+

node scripts/docker-e2e.mjs summary "$summary" "Docker E2E chunk: ${DOCKER_E2E_CHUNK:-unknown}" >> "$GITHUB_STEP_SUMMARY"

570544571545

- name: Upload Docker E2E chunk artifacts

572546

if: always()

@@ -658,71 +632,65 @@ jobs:

658632

- name: Hydrate live auth/profile inputs

659633

run: bash scripts/ci-hydrate-live-auth.sh

660634661-

- name: Detect targeted Docker lane image needs

662-

id: lane_class

635+

- name: Plan targeted Docker E2E lanes

636+

id: plan

663637

shell: bash

664638

run: |

665639

set -euo pipefail

666-

needs_e2e=0

667-

IFS=', ' read -r -a lanes <<< "${DOCKER_E2E_LANES}"

668-

for lane in "${lanes[@]}"; do

669-

[[ -z "$lane" ]] && continue

670-

if [[ "$lane" != live-* ]]; then

671-

needs_e2e=1

672-

break

673-

fi

674-

done

675-

echo "needs_e2e=${needs_e2e}" >> "$GITHUB_OUTPUT"

640+

mkdir -p .artifacts/docker-tests

641+

export OPENCLAW_DOCKER_ALL_LANES="${DOCKER_E2E_LANES}"

642+

export OPENCLAW_DOCKER_ALL_INCLUDE_OPENWEBUI="${INCLUDE_OPENWEBUI}"

643+

node scripts/test-docker-all.mjs --plan-json > .artifacts/docker-tests/targeted-plan.json

644+

node scripts/docker-e2e.mjs github-outputs .artifacts/docker-tests/targeted-plan.json >> "$GITHUB_OUTPUT"

676645677646

- name: Download OpenClaw Docker E2E package

678-

if: steps.lane_class.outputs.needs_e2e == '1'

647+

if: steps.plan.outputs.needs_package == '1'

679648

uses: actions/download-artifact@v8

680649

with:

681650

name: docker-e2e-package

682651

path: .artifacts/docker-e2e-package

683652684-

- name: Pull shared Docker E2E images

685-

if: steps.lane_class.outputs.needs_e2e == '1'

653+

- name: Pull shared bare Docker E2E image

654+

if: steps.plan.outputs.needs_bare_image == '1'

686655

shell: bash

687656

run: |

688657

set -euo pipefail

689658

docker pull "${OPENCLAW_DOCKER_E2E_BARE_IMAGE}"

659+660+

- name: Pull shared functional Docker E2E image

661+

if: steps.plan.outputs.needs_functional_image == '1'

662+

shell: bash

663+

run: |

664+

set -euo pipefail

690665

docker pull "${OPENCLAW_DOCKER_E2E_FUNCTIONAL_IMAGE}"

691666692667

- name: Validate targeted lane credentials

693668

shell: bash

694669

run: |

695670

set -euo pipefail

696-

lanes=" ${DOCKER_E2E_LANES//,/ } "

697-

if [[ "$lanes" == *" install-e2e "* ]]; then

671+

credentials=",${{ steps.plan.outputs.credentials }},"

672+

if [[ "$credentials" == *",openai,"* ]]; then

698673

[[ -n "${OPENAI_API_KEY:-}" ]] || {

699-

echo "OPENAI_API_KEY is required for installer Docker E2E." >&2

674+

echo "OPENAI_API_KEY is required for selected Docker E2E lanes." >&2

700675

exit 1

701676

}

702-

if [[ -z "${ANTHROPIC_API_TOKEN:-}" && -z "${ANTHROPIC_API_KEY:-}" ]]; then

703-

echo "ANTHROPIC_API_TOKEN or ANTHROPIC_API_KEY is required for installer Docker E2E." >&2

704-

exit 1

705-

fi

706677

fi

707-

if [[ "$lanes" == *" openwebui "* || "$lanes" == *" openai-web-search-minimal "* ]]; then

708-

[[ -n "${OPENAI_API_KEY:-}" ]] || {

709-

echo "OPENAI_API_KEY is required for selected OpenAI Docker lanes." >&2

710-

exit 1

711-

}

678+

if [[ "$credentials" == *",anthropic,"* && -z "${ANTHROPIC_API_TOKEN:-}" && -z "${ANTHROPIC_API_KEY:-}" ]]; then

679+

echo "ANTHROPIC_API_TOKEN or ANTHROPIC_API_KEY is required for selected Docker E2E lanes." >&2

680+

exit 1

712681

fi

713682714683

- name: Run targeted Docker E2E lanes

715684

shell: bash

716685

run: |

717686

set -euo pipefail

718-

lanes=" ${DOCKER_E2E_LANES//,/ } "

719687

export OPENCLAW_DOCKER_ALL_LANES="${DOCKER_E2E_LANES}"

720688

export OPENCLAW_DOCKER_ALL_PREFLIGHT=0

721689

export OPENCLAW_DOCKER_ALL_FAIL_FAST=0

722690

export OPENCLAW_DOCKER_ALL_INCLUDE_OPENWEBUI="${INCLUDE_OPENWEBUI}"

723691

export OPENCLAW_DOCKER_ALL_LOG_DIR=".artifacts/docker-tests/targeted"

724692

export OPENCLAW_DOCKER_ALL_TIMINGS_FILE=".artifacts/docker-tests/targeted-timings.json"

725-

if [[ "$lanes" == *" live-"* ]]; then

693+

if [[ "${{ steps.plan.outputs.needs_live_image }}" == "1" ]]; then

726694

pnpm test:docker:live-build

727695

fi

728696

export OPENCLAW_DOCKER_ALL_BUILD=0

@@ -739,31 +707,7 @@ jobs:

739707

echo "Docker targeted summary missing: \`$summary\`" >> "$GITHUB_STEP_SUMMARY"

740708

exit 0

741709

fi

742-

node --input-type=module - "$summary" <<'NODE' >> "$GITHUB_STEP_SUMMARY"

743-

import fs from "node:fs";

744-

const summary = JSON.parse(fs.readFileSync(process.argv[2], "utf8"));

745-

const lanes = Array.isArray(summary.lanes) ? summary.lanes : [];

746-

console.log("### Docker E2E targeted lanes");

747-

console.log("");

748-

console.log(`Status: \`${summary.status}\``);

749-

console.log("");

750-

console.log("| Lane | Status | Seconds | Timed out | Rerun |");

751-

console.log("| --- | ---: | ---: | --- | --- |");

752-

for (const lane of lanes) {

753-

const status = lane.status === 0 ? "pass" : `fail ${lane.status}`;

754-

const rerun = String(lane.rerunCommand ?? "").replaceAll("`", "\\`");

755-

console.log(`| \`${lane.name}\` | ${status} | ${lane.elapsedSeconds ?? ""} | ${lane.timedOut ? "yes" : "no"} | \`${rerun}\` |`);

756-

}

757-

const phases = Array.isArray(summary.phases) ? summary.phases : [];

758-

if (phases.length > 0) {

759-

console.log("");

760-

console.log("| Phase | Seconds | Status | Image kind |");

761-

console.log("| --- | ---: | --- | --- |");

762-

for (const phase of phases) {

763-

console.log(`| \`${phase.name}\` | ${phase.elapsedSeconds ?? ""} | ${phase.status ?? ""} | ${phase.imageKind ?? ""} |`);

764-

}

765-

}

766-

NODE

710+

node scripts/docker-e2e.mjs summary "$summary" "Docker E2E targeted lanes" >> "$GITHUB_STEP_SUMMARY"

767711768712

- name: Upload targeted Docker E2E artifacts

769713

if: always()

@@ -829,6 +773,11 @@ jobs:

829773

image: ${{ steps.image.outputs.image }}

830774

bare_image: ${{ steps.image.outputs.bare_image }}

831775

functional_image: ${{ steps.image.outputs.functional_image }}

776+

needs_bare_image: ${{ steps.plan.outputs.needs_bare_image }}

777+

needs_e2e_image: ${{ steps.plan.outputs.needs_e2e_image }}

778+

needs_functional_image: ${{ steps.plan.outputs.needs_functional_image }}

779+

needs_live_image: ${{ steps.plan.outputs.needs_live_image }}

780+

needs_package: ${{ steps.plan.outputs.needs_package }}

832781

env:

833782

DOCKER_BUILD_SUMMARY: "false"

834783

DOCKER_BUILD_RECORD_UPLOAD: "false"

@@ -856,72 +805,68 @@ jobs:

856805

echo "Shared Docker E2E bare image: \`$bare_image\`" >> "$GITHUB_STEP_SUMMARY"

857806

echo "Shared Docker E2E functional image: \`$functional_image\`" >> "$GITHUB_STEP_SUMMARY"

858807859-

- name: Classify selected Docker lanes

860-

id: lane_class

808+

- name: Plan Docker E2E images

809+

id: plan

861810

shell: bash

862811

env:

863812

DOCKER_E2E_LANES: ${{ inputs.docker_lanes }}

864813

INCLUDE_RELEASE_PATH_SUITES: ${{ inputs.include_release_path_suites }}

865814

INCLUDE_OPENWEBUI: ${{ inputs.include_openwebui }}

866815

run: |

867816

set -euo pipefail

868-

needs_e2e=0

869-

if [[ "${INCLUDE_RELEASE_PATH_SUITES}" == "true" || "${INCLUDE_OPENWEBUI}" == "true" ]]; then

870-

needs_e2e=1

817+

mkdir -p .artifacts/docker-tests

818+

if [[ "${INCLUDE_RELEASE_PATH_SUITES}" == "true" ]]; then

819+

export OPENCLAW_DOCKER_ALL_PROFILE=release-path

820+

export OPENCLAW_DOCKER_ALL_PLAN_RELEASE_ALL=1

871821

elif [[ -n "${DOCKER_E2E_LANES}" ]]; then

872-

IFS=', ' read -r -a lanes <<< "${DOCKER_E2E_LANES}"

873-

for lane in "${lanes[@]}"; do

874-

[[ -z "$lane" ]] && continue

875-

if [[ "$lane" != live-* ]]; then

876-

needs_e2e=1

877-

break

878-

fi

879-

done

822+

export OPENCLAW_DOCKER_ALL_LANES="${DOCKER_E2E_LANES}"

823+

elif [[ "${INCLUDE_OPENWEBUI}" == "true" ]]; then

824+

export OPENCLAW_DOCKER_ALL_LANES=openwebui

880825

fi

881-

echo "needs_e2e=${needs_e2e}" >> "$GITHUB_OUTPUT"

826+

export OPENCLAW_DOCKER_ALL_INCLUDE_OPENWEBUI="${INCLUDE_OPENWEBUI}"

827+

node scripts/test-docker-all.mjs --plan-json > .artifacts/docker-tests/plan.json

828+

node scripts/docker-e2e.mjs github-outputs .artifacts/docker-tests/plan.json >> "$GITHUB_OUTPUT"

882829883830

- name: Setup Node environment

884-

if: steps.lane_class.outputs.needs_e2e == '1'

831+

if: steps.plan.outputs.needs_package == '1'

885832

uses: ./.github/actions/setup-node-env

886833

with:

887834

node-version: ${{ env.NODE_VERSION }}

888835

pnpm-version: ${{ env.PNPM_VERSION }}

889836

install-bun: "true"

890837891838

- name: Pack OpenClaw package for Docker E2E

892-

if: steps.lane_class.outputs.needs_e2e == '1'

839+

if: steps.plan.outputs.needs_package == '1'

893840

shell: bash

894841

run: |

895842

set -euo pipefail

896843

mkdir -p .artifacts/docker-e2e-package

897-

pnpm build

898-

node --import tsx --input-type=module -e 'const { writePackageDistInventory } = await import("./src/infra/package-dist-inventory.ts"); await writePackageDistInventory(process.cwd());'

899-

npm pack --silent --ignore-scripts --pack-destination .artifacts/docker-e2e-package >/tmp/openclaw-docker-e2e-pack.out

900-

packed="$(tail -n 1 /tmp/openclaw-docker-e2e-pack.out | tr -d '\r')"

901-

mv ".artifacts/docker-e2e-package/$packed" .artifacts/docker-e2e-package/openclaw-current.tgz

844+

node scripts/package-openclaw-for-docker.mjs \

845+

--output-dir .artifacts/docker-e2e-package \

846+

--output-name openclaw-current.tgz

902847903848

- name: Upload OpenClaw Docker E2E package

904-

if: steps.lane_class.outputs.needs_e2e == '1'

849+

if: steps.plan.outputs.needs_package == '1'

905850

uses: actions/upload-artifact@v7

906851

with:

907852

name: docker-e2e-package

908853

path: .artifacts/docker-e2e-package/openclaw-current.tgz

909854

if-no-files-found: error

910855911856

- name: Log in to GHCR

912-

if: steps.lane_class.outputs.needs_e2e == '1'

857+

if: steps.plan.outputs.needs_e2e_image == '1'

913858

uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4

914859

with:

915860

registry: ghcr.io

916861

username: ${{ github.actor }}

917862

password: ${{ github.token }}

918863919864

- name: Setup Docker builder

920-

if: steps.lane_class.outputs.needs_e2e == '1'

865+

if: steps.plan.outputs.needs_e2e_image == '1'

921866

uses: useblacksmith/setup-docker-builder@ac083cc84672d01c60d5e8561d0a939b697de542 # v1

922867923868

- name: Build and push bare Docker E2E image

924-

if: steps.lane_class.outputs.needs_e2e == '1' && (inputs.include_release_path_suites || inputs.docker_lanes != '')

869+

if: steps.plan.outputs.needs_bare_image == '1'

925870

uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0

926871

with:

927872

context: .

@@ -936,7 +881,7 @@ jobs:

936881

push: true

937882938883

- name: Build and push functional Docker E2E image

939-

if: steps.lane_class.outputs.needs_e2e == '1'

884+

if: steps.plan.outputs.needs_functional_image == '1'

940885

uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7.1.0

941886

with:

942887

context: .