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

推荐订阅源

罗磊的独立博客
G
Google Developers Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
有赞技术团队
有赞技术团队
Vercel News
Vercel News
MongoDB | Blog
MongoDB | Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog RSS Feed
I
InfoQ
Blog — PlanetScale
Blog — PlanetScale
博客园_首页
The Cloudflare Blog
B
Blog
C
Check Point Blog
Stack Overflow Blog
Stack Overflow Blog
IT之家
IT之家
U
Unit 42
D
Docker
月光博客
月光博客
aimingoo的专栏
aimingoo的专栏
博客园 - Franky
A
About on SuperTechFans

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
perf(ci): unblock node compat and trim runtime compat tes...
steipete · 2026-04-22 · via Recent Commits to openclaw:main

@@ -244,17 +244,6 @@ jobs:

244244

runNode

245245

? [

246246

{ check_name: "checks-node-channels", runtime: "node", task: "channels" },

247-

...(isPush

248-

? [

249-

{

250-

check_name: "checks-node-compat-node22",

251-

runtime: "node",

252-

task: "compat-node22",

253-

node_version: "22.18.0",

254-

cache_key_suffix: "node22",

255-

},

256-

]

257-

: []),

258247

]

259248

: [],

260249

),

@@ -914,12 +903,7 @@ jobs:

914903

fail-fast: false

915904

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

916905

steps:

917-

- name: Skip compatibility lanes on pull requests

918-

if: github.event_name == 'pull_request' && matrix.task == 'compat-node22'

919-

run: echo "Skipping push-only lane on pull requests."

920-921906

- name: Checkout

922-

if: github.event_name != 'pull_request' || matrix.task != 'compat-node22'

923907

shell: bash

924908

env:

925909

CHECKOUT_REPO: ${{ github.repository }}

@@ -968,15 +952,14 @@ jobs:

968952

exit 1

969953970954

- name: Setup Node environment

971-

if: github.event_name != 'pull_request' || matrix.task != 'compat-node22'

972955

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

973956

with:

974957

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

975958

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

976959

install-bun: "false"

977960978961

- name: Configure Node test resources

979-

if: (github.event_name != 'pull_request' || matrix.task != 'compat-node22') && matrix.runtime == 'node' && (matrix.task == 'test' || matrix.task == 'channels' || matrix.task == 'compat-node22')

962+

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

980963

env:

981964

TASK: ${{ matrix.task }}

982965

run: |

@@ -1004,7 +987,6 @@ jobs:

1004987

path: src/canvas-host/a2ui/

10059881006989

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

1007-

if: github.event_name != 'pull_request' || matrix.task != 'compat-node22'

1008990

env:

1009991

TASK: ${{ matrix.task }}

1010992

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

@@ -1018,19 +1000,89 @@ jobs:

10181000

channels)

10191001

pnpm test:channels

10201002

;;

1021-

compat-node22)

1022-

pnpm build

1023-

pnpm ui:build

1024-

node openclaw.mjs --help

1025-

node openclaw.mjs status --json --timeout 1

1026-

pnpm test:build:singleton

1027-

;;

10281003

*)

10291004

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

10301005

exit 1

10311006

;;

10321007

esac

103310081009+

checks-node-compat:

1010+

permissions:

1011+

contents: read

1012+

name: checks-node-compat-node22

1013+

needs: [preflight]

1014+

if: needs.preflight.outputs.run_node == 'true' && github.event_name == 'push'

1015+

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

1016+

timeout-minutes: 60

1017+

steps:

1018+

- name: Checkout

1019+

shell: bash

1020+

env:

1021+

CHECKOUT_REPO: ${{ github.repository }}

1022+

CHECKOUT_SHA: ${{ github.sha }}

1023+

CHECKOUT_TOKEN: ${{ github.token }}

1024+

run: |

1025+

set -euo pipefail

1026+1027+

workdir="$GITHUB_WORKSPACE"

1028+

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

1029+1030+

reset_checkout_dir() {

1031+

mkdir -p "$workdir"

1032+

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

1033+

}

1034+1035+

checkout_attempt() {

1036+

local attempt="$1"

1037+1038+

reset_checkout_dir

1039+

git init "$workdir" >/dev/null

1040+

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

1041+

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

1042+

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

1043+1044+

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

1045+

-c protocol.version=2 \

1046+

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

1047+

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

1048+

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

1049+1050+

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

1051+

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

1052+

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

1053+

}

1054+1055+

for attempt in 1 2; do

1056+

if checkout_attempt "$attempt"; then

1057+

exit 0

1058+

fi

1059+

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

1060+

sleep $((attempt * 5))

1061+

done

1062+1063+

echo "checkout failed after 2 attempts" >&2

1064+

exit 1

1065+1066+

- name: Setup Node environment

1067+

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

1068+

with:

1069+

node-version: "22.18.0"

1070+

cache-key-suffix: "node22"

1071+

install-bun: "false"

1072+1073+

- name: Configure Node test resources

1074+

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

1075+1076+

- name: Run Node 22 compatibility

1077+

env:

1078+

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

1079+

run: |

1080+

pnpm build

1081+

pnpm ui:build

1082+

node openclaw.mjs --help

1083+

node openclaw.mjs status --json --timeout 1

1084+

pnpm test:build:singleton

1085+10341086

checks-node-core-test-nondist-shard:

10351087

permissions:

10361088

contents: read