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

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
云风的 BLOG
云风的 BLOG
IT之家
IT之家
C
Check Point Blog
T
The Blog of Author Tim Ferriss
S
SegmentFault 最新的问题
人人都是产品经理
人人都是产品经理
H
Hackread – Cybersecurity News, Data Breaches, AI and More
美团技术团队
M
MIT News - Artificial intelligence
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
F
Fortinet All Blogs
V
Visual Studio Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
T
Tailwind CSS Blog
Hugging Face - Blog
Hugging Face - Blog
MyScale Blog
MyScale Blog
爱范儿
爱范儿
The Cloudflare Blog
博客园 - 三生石上(FineUI控件)

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
ci: collapse built artifact test consumers · openclaw/ope...
steipete · 2026-04-23 · via Recent Commits to openclaw:main

@@ -455,7 +455,9 @@ jobs:

455455

runs-on: ${{ github.repository == 'openclaw/openclaw' && 'blacksmith-8vcpu-ubuntu-2404' || 'ubuntu-24.04' }}

456456

timeout-minutes: 20

457457

outputs:

458-

gateway-watch-result: ${{ steps.gateway_watch.outcome }}

458+

channels-result: ${{ steps.built_artifact_checks.outputs['channels-result'] }}

459+

core-support-boundary-result: ${{ steps.built_artifact_checks.outputs['core-support-boundary-result'] }}

460+

gateway-watch-result: ${{ steps.built_artifact_checks.outputs['gateway-watch-result'] }}

459461

steps:

460462

- name: Checkout

461463

shell: bash

@@ -568,11 +570,75 @@ jobs:

568570

- name: Check CLI startup memory

569571

run: pnpm test:startup:memory

570572571-

- name: Run gateway watch regression

572-

id: gateway_watch

573-

if: needs.preflight.outputs.run_check_additional == 'true'

574-

continue-on-error: true

575-

run: node scripts/check-gateway-watch-regression.mjs --skip-build

573+

- name: Run built artifact checks

574+

id: built_artifact_checks

575+

if: needs.preflight.outputs.run_checks == 'true' || needs.preflight.outputs.run_checks_node_core_dist == 'true' || needs.preflight.outputs.run_check_additional == 'true'

576+

env:

577+

RUN_CHANNELS: ${{ needs.preflight.outputs.run_checks }}

578+

RUN_CORE_SUPPORT_BOUNDARY: ${{ needs.preflight.outputs.run_checks_node_core_dist }}

579+

RUN_GATEWAY_WATCH: ${{ needs.preflight.outputs.run_check_additional }}

580+

shell: bash

581+

run: |

582+

set -uo pipefail

583+584+

names=()

585+

pids=()

586+

logs=()

587+

declare -A results=(

588+

["channels"]="skipped"

589+

["core-support-boundary"]="skipped"

590+

["gateway-watch"]="skipped"

591+

)

592+593+

start_check() {

594+

local name="$1"

595+

shift

596+

local log="${RUNNER_TEMP}/${name}.log"

597+

names+=("$name")

598+

logs+=("$log")

599+

echo "starting ${name}: $*"

600+

"$@" >"$log" 2>&1 &

601+

pids+=("$!")

602+

}

603+604+

if [ "$RUN_CHANNELS" = "true" ]; then

605+

start_check "channels" env \

606+

NODE_OPTIONS=--max-old-space-size=6144 \

607+

OPENCLAW_VITEST_MAX_WORKERS=1 \

608+

pnpm test:channels

609+

fi

610+611+

if [ "$RUN_CORE_SUPPORT_BOUNDARY" = "true" ]; then

612+

start_check "core-support-boundary" env \

613+

NODE_OPTIONS=--max-old-space-size=6144 \

614+

OPENCLAW_VITEST_MAX_WORKERS=2 \

615+

node scripts/run-vitest.mjs run --config test/vitest/vitest.full-core-support-boundary.config.ts

616+

fi

617+618+

if [ "$RUN_GATEWAY_WATCH" = "true" ]; then

619+

start_check "gateway-watch" node scripts/check-gateway-watch-regression.mjs --skip-build

620+

fi

621+622+

for index in "${!pids[@]}"; do

623+

name="${names[$index]}"

624+

log="${logs[$index]}"

625+

pid="${pids[$index]}"

626+627+

if wait "$pid"; then

628+

result="success"

629+

else

630+

result="failure"

631+

fi

632+633+

echo "::group::${name} log"

634+

cat "$log"

635+

echo "::endgroup::"

636+

results["$name"]="$result"

637+

done

638+639+

for name in channels core-support-boundary gateway-watch; do

640+

echo "${name}-result=${results[$name]}" >> "$GITHUB_OUTPUT"

641+

done

576642577643

- name: Upload gateway watch regression artifacts

578644

if: always() && needs.preflight.outputs.run_check_additional == 'true'

@@ -936,117 +1002,25 @@ jobs:

9361002

name: ${{ matrix.check_name }}

9371003

needs: [preflight, build-artifacts]

9381004

if: ${{ !cancelled() && always() && needs.preflight.outputs.run_checks == 'true' && needs.build-artifacts.result == 'success' }}

939-

runs-on: ${{ github.repository == 'openclaw/openclaw' && 'blacksmith-8vcpu-ubuntu-2404' || 'ubuntu-24.04' }}

940-

timeout-minutes: 60

1005+

runs-on: ubuntu-24.04

1006+

timeout-minutes: 5

9411007

strategy:

9421008

fail-fast: false

9431009

matrix: ${{ fromJson(needs.preflight.outputs.checks_matrix) }}

9441010

steps:

945-

- name: Checkout

946-

shell: bash

947-

env:

948-

CHECKOUT_REPO: ${{ github.repository }}

949-

CHECKOUT_SHA: ${{ github.sha }}

950-

CHECKOUT_TOKEN: ${{ github.token }}

951-

run: |

952-

set -euo pipefail

953-954-

workdir="$GITHUB_WORKSPACE"

955-

auth_header="$(printf 'x-access-token:%s' "$CHECKOUT_TOKEN" | base64 | tr -d '\n')"

956-957-

reset_checkout_dir() {

958-

mkdir -p "$workdir"

959-

find "$workdir" -mindepth 1 -maxdepth 1 -exec rm -rf {} +

960-

}

961-962-

checkout_attempt() {

963-

local attempt="$1"

964-965-

reset_checkout_dir

966-

git init "$workdir" >/dev/null

967-

git config --global --add safe.directory "$workdir"

968-

git -C "$workdir" remote add origin "https://github.com/${CHECKOUT_REPO}"

969-

git -C "$workdir" config gc.auto 0

970-971-

timeout --signal=TERM 30s git -C "$workdir" \

972-

-c protocol.version=2 \

973-

-c "http.https://github.com/.extraheader=AUTHORIZATION: basic ${auth_header}" \

974-

fetch --no-tags --prune --no-recurse-submodules --depth=1 origin \

975-

"+${CHECKOUT_SHA}:refs/remotes/origin/ci-target" || return 1

976-977-

git -C "$workdir" checkout --force --detach "$CHECKOUT_SHA" || return 1

978-

test -f "$workdir/.github/actions/setup-node-env/action.yml" || return 1

979-

echo "checkout attempt ${attempt}/2 succeeded"

980-

}

981-982-

for attempt in 1 2; do

983-

if checkout_attempt "$attempt"; then

984-

exit 0

985-

fi

986-

echo "checkout attempt ${attempt}/2 failed"

987-

sleep $((attempt * 5))

988-

done

989-990-

echo "checkout failed after 2 attempts" >&2

991-

exit 1

992-993-

- name: Setup Node environment

994-

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

995-

with:

996-

node-version: "${{ matrix.node_version || '24.x' }}"

997-

cache-key-suffix: "${{ matrix.cache_key_suffix || 'node24' }}"

998-

install-bun: "false"

999-1000-

- name: Configure Node test resources

1001-

if: matrix.runtime == 'node' && (matrix.task == 'test' || matrix.task == 'channels')

1011+

- name: Verify ${{ matrix.task }} (${{ matrix.runtime }})

10021012

env:

10031013

TASK: ${{ matrix.task }}

1004-

run: |

1005-

echo "OPENCLAW_VITEST_MAX_WORKERS=2" >> "$GITHUB_ENV"

1006-

if [ "$TASK" = "test" ]; then

1007-

echo "OPENCLAW_TEST_PROJECTS_LEAF_SHARDS=1" >> "$GITHUB_ENV"

1008-

echo "OPENCLAW_TEST_SKIP_FULL_EXTENSIONS_SHARD=1" >> "$GITHUB_ENV"

1009-

fi

1010-

if [ "$TASK" = "channels" ]; then

1011-

echo "OPENCLAW_VITEST_MAX_WORKERS=1" >> "$GITHUB_ENV"

1012-

fi

1013-1014-

- name: Restore dist cache

1015-

if: matrix.task == 'test'

1016-

id: checks-dist-cache

1017-

uses: actions/cache@v5

1018-

with:

1019-

path: |

1020-

dist/

1021-

dist-runtime/

1022-

key: ${{ runner.os }}-dist-build-${{ github.sha }}

1023-1024-

- name: Verify dist cache

1025-

if: matrix.task == 'test' && steps.checks-dist-cache.outputs.cache-hit != 'true'

1026-

run: |

1027-

echo "Missing same-run dist cache for ${RUNNER_OS}-dist-build-${GITHUB_SHA}" >&2

1028-

exit 1

1029-1030-

- name: Download A2UI bundle artifact

1031-

if: matrix.task == 'test' || matrix.task == 'channels'

1032-

uses: actions/download-artifact@v8

1033-

with:

1034-

name: canvas-a2ui-bundle

1035-

path: src/canvas-host/a2ui/

1036-1037-

- name: Run ${{ matrix.task }} (${{ matrix.runtime }})

1038-

env:

1039-

TASK: ${{ matrix.task }}

1040-

NODE_OPTIONS: --max-old-space-size=6144

1014+

CHANNELS_RESULT: ${{ needs.build-artifacts.outputs['channels-result'] }}

10411015

shell: bash

10421016

run: |

10431017

set -euo pipefail

10441018

case "$TASK" in

1045-

test)

1046-

pnpm test

1047-

;;

10481019

channels)

1049-

pnpm test:channels

1020+

if [ "$CHANNELS_RESULT" != "success" ]; then

1021+

echo "Channel tests failed in build-artifacts: $CHANNELS_RESULT" >&2

1022+

exit 1

1023+

fi

10501024

;;

10511025

*)

10521026

echo "Unsupported checks task: $TASK" >&2

@@ -1261,144 +1235,31 @@ jobs:

12611235

name: ${{ matrix.check_name }}

12621236

needs: [preflight, build-artifacts]

12631237

if: ${{ !cancelled() && always() && needs.preflight.outputs.run_checks_node_core_dist == 'true' && needs.build-artifacts.result == 'success' }}

1264-

runs-on: ${{ github.repository == 'openclaw/openclaw' && 'blacksmith-8vcpu-ubuntu-2404' || 'ubuntu-24.04' }}

1265-

timeout-minutes: 60

1238+

runs-on: ubuntu-24.04

1239+

timeout-minutes: 5

12661240

strategy:

12671241

fail-fast: false

12681242

matrix: ${{ fromJson(needs.preflight.outputs.checks_node_core_dist_matrix) }}

12691243

steps:

1270-

- name: Checkout

1271-

shell: bash

1272-

env:

1273-

CHECKOUT_REPO: ${{ github.repository }}

1274-

CHECKOUT_SHA: ${{ github.sha }}

1275-

CHECKOUT_TOKEN: ${{ github.token }}

1276-

run: |

1277-

set -euo pipefail

1278-1279-

workdir="$GITHUB_WORKSPACE"

1280-

auth_header="$(printf 'x-access-token:%s' "$CHECKOUT_TOKEN" | base64 | tr -d '\n')"

1281-1282-

reset_checkout_dir() {

1283-

mkdir -p "$workdir"

1284-

find "$workdir" -mindepth 1 -maxdepth 1 -exec rm -rf {} +

1285-

}

1286-1287-

checkout_attempt() {

1288-

local attempt="$1"

1289-1290-

reset_checkout_dir

1291-

git init "$workdir" >/dev/null

1292-

git config --global --add safe.directory "$workdir"

1293-

git -C "$workdir" remote add origin "https://github.com/${CHECKOUT_REPO}"

1294-

git -C "$workdir" config gc.auto 0

1295-1296-

timeout --signal=TERM 30s git -C "$workdir" \

1297-

-c protocol.version=2 \

1298-

-c "http.https://github.com/.extraheader=AUTHORIZATION: basic ${auth_header}" \

1299-

fetch --no-tags --prune --no-recurse-submodules --depth=1 origin \

1300-

"+${CHECKOUT_SHA}:refs/remotes/origin/ci-target" || return 1

1301-1302-

git -C "$workdir" checkout --force --detach "$CHECKOUT_SHA" || return 1

1303-

test -f "$workdir/.github/actions/setup-node-env/action.yml" || return 1

1304-

echo "checkout attempt ${attempt}/2 succeeded"

1305-

}

1306-1307-

for attempt in 1 2; do

1308-

if checkout_attempt "$attempt"; then

1309-

exit 0

1310-

fi

1311-

echo "checkout attempt ${attempt}/2 failed"

1312-

sleep $((attempt * 5))

1313-

done

1314-1315-

echo "checkout failed after 2 attempts" >&2

1316-

exit 1

1317-1318-

- name: Setup Node environment

1319-

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

1320-

with:

1321-

node-version: "${{ matrix.node_version || '24.x' }}"

1322-

cache-key-suffix: "${{ matrix.cache_key_suffix || 'node24' }}"

1323-

install-bun: "false"

1324-1325-

- name: Configure Node test resources

1326-

run: echo "OPENCLAW_VITEST_MAX_WORKERS=2" >> "$GITHUB_ENV"

1327-1328-

- name: Restore dist cache

1329-

id: dist-cache

1330-

uses: actions/cache@v5

1331-

with:

1332-

path: |

1333-

dist/

1334-

dist-runtime/

1335-

key: ${{ runner.os }}-dist-build-${{ github.sha }}

1336-1337-

- name: Verify dist cache

1338-

if: steps.dist-cache.outputs.cache-hit != 'true'

1339-

run: |

1340-

echo "Missing same-run dist cache for ${RUNNER_OS}-dist-build-${GITHUB_SHA}" >&2

1341-

exit 1

1342-1343-

- name: Download A2UI bundle artifact

1344-

uses: actions/download-artifact@v8

1345-

with:

1346-

name: canvas-a2ui-bundle

1347-

path: src/canvas-host/a2ui/

1348-1349-

- name: Run Node test shard

1244+

- name: Verify Node test shard

13501245

env:

1351-

NODE_OPTIONS: --max-old-space-size=6144

1352-

OPENCLAW_NODE_TEST_CONFIGS_JSON: ${{ toJson(matrix.configs) }}

1353-

OPENCLAW_NODE_TEST_INCLUDE_PATTERNS_JSON: ${{ toJson(matrix.includePatterns) }}

1246+

CORE_SUPPORT_BOUNDARY_RESULT: ${{ needs.build-artifacts.outputs['core-support-boundary-result'] }}

1247+

SHARD_NAME: ${{ matrix.shard_name }}

13541248

shell: bash

13551249

run: |

13561250

set -euo pipefail

1357-

node --input-type=module <<'EOF'

1358-

import { spawnSync } from "node:child_process";

1359-

import { writeFileSync } from "node:fs";

1360-

import { join } from "node:path";

1361-

import { resolveVitestCliEntry, resolveVitestNodeArgs } from "./scripts/run-vitest.mjs";

1362-1363-

const configs = JSON.parse(process.env.OPENCLAW_NODE_TEST_CONFIGS_JSON ?? "[]");

1364-

if (!Array.isArray(configs) || configs.length === 0) {

1365-

console.error("Missing node test shard configs");

1366-

process.exit(1);

1367-

}

1368-

const includePatterns = JSON.parse(process.env.OPENCLAW_NODE_TEST_INCLUDE_PATTERNS_JSON ?? "null");

1369-

const childEnv = { ...process.env };

1370-

if (Array.isArray(includePatterns) && includePatterns.length > 0) {

1371-

const includeFile = join(

1372-

process.env.RUNNER_TEMP ?? ".",

1373-

`node-test-include-${process.env.GITHUB_JOB ?? "local"}-${Date.now()}.json`,

1374-

);

1375-

writeFileSync(includeFile, JSON.stringify(includePatterns), "utf8");

1376-

childEnv.OPENCLAW_VITEST_INCLUDE_FILE = includeFile;

1377-

}

1378-1379-

for (const config of configs) {

1380-

console.error(`[test] starting ${config}`);

1381-

const result = spawnSync(

1382-

"pnpm",

1383-

[

1384-

"exec",

1385-

"node",

1386-

...resolveVitestNodeArgs(process.env),

1387-

resolveVitestCliEntry(),

1388-

"run",

1389-

"--config",

1390-

config,

1391-

],

1392-

{

1393-

env: childEnv,

1394-

stdio: "inherit",

1395-

},

1396-

);

1397-

if ((result.status ?? 1) !== 0) {

1398-

process.exit(result.status ?? 1);

1399-

}

1400-

}

1401-

EOF

1251+

case "$SHARD_NAME" in

1252+

core-support-boundary)

1253+

if [ "$CORE_SUPPORT_BOUNDARY_RESULT" != "success" ]; then

1254+

echo "Core support boundary shard failed in build-artifacts: $CORE_SUPPORT_BOUNDARY_RESULT" >&2

1255+

exit 1

1256+

fi

1257+

;;

1258+

*)

1259+

echo "Unsupported built-artifact shard: $SHARD_NAME" >&2

1260+

exit 1

1261+

;;

1262+

esac

1402126314031264

checks-node-core-test:

14041265

permissions: