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

推荐订阅源

大猫的无限游戏
大猫的无限游戏
阮一峰的网络日志
阮一峰的网络日志
T
Tailwind CSS Blog
WordPress大学
WordPress大学
小众软件
小众软件
Engineering at Meta
Engineering at Meta
有赞技术团队
有赞技术团队
博客园 - 聂微东
GbyAI
GbyAI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Stack Overflow Blog
Stack Overflow Blog
罗磊的独立博客
腾讯CDC
The Cloudflare Blog
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
Martin Fowler
Martin Fowler
G
Google Developers Blog
博客园 - 三生石上(FineUI控件)
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知

Recent Commits to openclaw:main

fix(release): run npm shims on Windows · openclaw/openclaw@1f32a48 feat(auth): support named model login profiles fix(gateway): restore WebChat image understanding routing · openclaw/openclaw@55a0c9b fix(anthropic): migrate 1M context to GA handling fix(scripts): resolve Crabbox shims on Windows · openclaw/openclaw@5c535df test(ci): harden installer smoke coverage · openclaw/openclaw@68bcd4e fix(status): bound deep docker audit probes (#85476) · openclaw/openclaw@f7c05dc docs: expand meeting notes docs · openclaw/openclaw@a7e0fa0 fix(cli): validate tasks audit limit (#84901) · openclaw/openclaw@44d470f fix(twitch): preserve newer message handler during cleanup (#85425) · openclaw/openclaw@71ddc01 fix(ci): require live docker credentials by resource · openclaw/openclaw@1e21121 fix(diagnostics): drop snake case otel ids (#72645) · openclaw/openclaw@e0bafc5 fix(ci): clear signal and docs guard blockers (#85693) · openclaw/openclaw@3a1d4dd fix(ci): require factory auth for droid live docker · openclaw/openclaw@cc6c372 fix: honor disabled synthetic auth lookup · openclaw/openclaw@a4a1abb fix(scripts): repair live docker auth shellcheck · openclaw/openclaw@4e34ac4 fix(docker): avoid printing gateway token · openclaw/openclaw@5db773f fix(cli): keep logs follow on live gateway state · openclaw/openclaw@6e3b318 fix(e2e): prefer x64 MinGit on Windows · openclaw/openclaw@15d9134 feat: add meeting notes plugin docs: update changelog for memory artifacts (#85060) (thanks @brokema… · openclaw/openclaw@9e55383 fix(memory-lancedb): expose public memory artifacts · openclaw/openclaw@aac1abe fix(memory): preserve sidecar capability hooks · openclaw/openclaw@e6288ca fix(e2e): scrub Windows update config on PowerShell 5.1 · openclaw/openclaw@6657b49 docs: absorb documentation PR sweep · openclaw/openclaw@2c536a8 fix(agents): stabilize Linux fallback tests · openclaw/openclaw@6b04170 fix(codex): preserve native web search action metadata (#85378) · openclaw/openclaw@bcf756c test: refresh Codex prompt snapshots · openclaw/openclaw@492d656 docs: absorb hook and subagent guidance PRs fix(agents): audit tool policy blocks (#85673) · openclaw/openclaw@09dd051 ci: fix plugin npm bundled dependency install · openclaw/openclaw@d485464 feat(diagnostics): classify skill and tool usage (#80370) docs(skills): clarify control ui recording proof (#85568) · openclaw/openclaw@0b476b9 test(agents): repair main failure fixtures · openclaw/openclaw@c29967b feat(diagnostics): trace gateway secret preparation (#83019) · openclaw/openclaw@4f0c902 fix(diagnostics): harden observability exports and smokes (#85371) · openclaw/openclaw@7f05be0 fix(stepfun): drop stale auth choice metadata · openclaw/openclaw@0b2ab6c test(e2e): sample kitchen sink RSS on Windows · openclaw/openclaw@73c1e37 test(plugins): fail gauntlet on load diagnostics fix(build): preserve tsdown heap floor · openclaw/openclaw@9ff1a43 fix(tools): honor config apiKey in media tool preflight (#85570) · openclaw/openclaw@31c269f fix(e2e): support macOS script wrappers fix(ci): scope changed shrinkwrap checks · openclaw/openclaw@743fd4c chore(ui): refresh fa control ui locale chore(ui): refresh nl control ui locale · openclaw/openclaw@908464b chore(ui): refresh vi control ui locale · openclaw/openclaw@62b75f4 chore(ui): refresh th control ui locale · openclaw/openclaw@fc4ba31 chore(ui): refresh id control ui locale · openclaw/openclaw@5b1bdd1 chore(ui): refresh pl control ui locale · openclaw/openclaw@534d4b1 chore(ui): refresh uk control ui locale · openclaw/openclaw@055c3bd chore(ui): refresh ar control ui locale · openclaw/openclaw@89c5a68 chore(ui): refresh it control ui locale · openclaw/openclaw@44ca805 chore(ui): refresh tr control ui locale chore(ui): refresh fr control ui locale · openclaw/openclaw@2240b0e chore(ui): refresh ko control ui locale · openclaw/openclaw@5fa250b chore(ui): refresh ja-JP control ui locale · openclaw/openclaw@f4ea401 chore(ui): refresh es control ui locale · openclaw/openclaw@751dde0 chore(ui): refresh de control ui locale · openclaw/openclaw@72a9b5b chore(ui): refresh pt-BR control ui locale · openclaw/openclaw@501b6e0 chore(ui): refresh zh-CN control ui locale chore(ui): refresh zh-TW control ui locale · openclaw/openclaw@88dee79 Add Slack approval QA checkpoints (#85141) fix(agents): mirror internal ui message tool replies (#85564) perf(whatsapp): narrow runtime setter entry (#85589) · openclaw/openclaw@463929d fix: smooth chat focus mode layout · openclaw/openclaw@bb5abef Fix Telegram missing harness spool poison (#85605) · openclaw/openclaw@b745082 fix(session): surface previous-transcript archive failures on /new ro… · openclaw/openclaw@679a46d Policy: add agent workspace conformance checks (#85096) · openclaw/openclaw@a94f344 fix(installer): fail failed Windows git builds · openclaw/openclaw@2edd6e2 fix(codex): honor node exec policy for native surfaces (#85534) · openclaw/openclaw@e0405ec fix(qa-lab): stabilize codex runtime parity fixtures fix(github): preserve sufficient proof against negative relabel (#85567) · openclaw/openclaw@6b52dff docs: add changelog for context pressure preflight · openclaw/openclaw@5ca734f Fix context pressure preflight for tool-heavy sessions (#85541) · openclaw/openclaw@c08400e fix(doctor): classify codex asset notice as info (#85119) · openclaw/openclaw@959b935 fix(ui): keep chat picker search current (#85547) fix: preserve message-tool delivery evidence · openclaw/openclaw@f022b05 fix(codex): add API key paste auth (#85533) fix: satisfy openai video test typecheck · openclaw/openclaw@743caed fix: route openai video edits to edits endpoint · openclaw/openclaw@6c3fcb8 fix(qmd): normalize direct file collection paths (#65212) · openclaw/openclaw@227b4bf fix(testbox): preserve clean sparse checkouts · openclaw/openclaw@58e9628 fix(ui): run ui script through junction paths (#85525) · openclaw/openclaw@ad19dd8 docs: fix troubleshooting logs link (#85545) · openclaw/openclaw@60582b6 Revert chat session picker inline search (#85527) · openclaw/openclaw@d69bcfd fix: preserve guarded video operation cleanup · openclaw/openclaw@ed7d99a fix: honor openai video provider request network policy fix: retry guarded video downloads · openclaw/openclaw@efbf9f3 fix: thread openai video request policy · openclaw/openclaw@31b5145 docs(changelog): note heartbeat message-tool fix · openclaw/openclaw@c127334 fix: use fs-safe trash for agent delete (#84394) · openclaw/openclaw@951bbe6 Fix heartbeat message-tool delivery policy (#85357) · openclaw/openclaw@bd9c78f Scope config preflight note suppression (#84439) · openclaw/openclaw@91d85e7 fix(cron): document best-effort edit delivery mode (#84526) fix(dreaming): open report cards from memory palace (#85144) · openclaw/openclaw@2e15830 fix(openai-codex): preserve image input capability (#85393) · openclaw/openclaw@49ce171 fix(codex): stabilize heartbeat dynamic tool schema (#84681) · openclaw/openclaw@c52daa4 docs: absorb small documentation PRs · openclaw/openclaw@658be7f fix(scripts): preserve bws resolver parse errors (#85528) · openclaw/openclaw@13a4c57 fix(telegram): honor outbound media max bytes (#83478) · openclaw/openclaw@f2d4f93
fix(ci): repair crabbox hydrate replay (#85706) · openclaw/openclaw@0d7d99b
vincentkoc · 2026-05-23 · via Recent Commits to openclaw:main

@@ -41,6 +41,232 @@ env:

4141

jobs:

4242

hydrate:

4343

name: hydrate

44+

if: ${{ inputs.crabbox_job != 'hydrate-github' }}

45+

runs-on: [self-hosted, "${{ inputs.crabbox_runner_label }}"]

46+

timeout-minutes: 120

47+

steps:

48+

- uses: actions/checkout@v6

49+

with:

50+

ref: ${{ inputs.ref || github.ref }}

51+52+

- name: Setup Node.js

53+

uses: actions/setup-node@v6

54+

with:

55+

node-version: "24"

56+57+

- name: Setup pnpm and dependencies

58+

shell: bash

59+

env:

60+

CI: "true"

61+

run: |

62+

set -euo pipefail

63+64+

export XDG_CACHE_HOME="${XDG_CACHE_HOME:-$RUNNER_TEMP/cache}"

65+

export COREPACK_HOME="${COREPACK_HOME:-$XDG_CACHE_HOME/corepack}"

66+

export PNPM_HOME="${PNPM_HOME:-$RUNNER_TEMP/pnpm-home}"

67+

mkdir -p "$XDG_CACHE_HOME" "$COREPACK_HOME" "$PNPM_HOME"

68+

export PATH="$PNPM_HOME:$PATH"

69+

{

70+

echo "XDG_CACHE_HOME=$XDG_CACHE_HOME"

71+

echo "COREPACK_HOME=$COREPACK_HOME"

72+

echo "PNPM_HOME=$PNPM_HOME"

73+

} >> "$GITHUB_ENV"

74+75+

corepack enable

76+

node_bin="$(dirname "$(node -p 'process.execPath')")"

77+

echo "NODE_BIN=$node_bin" >> "$GITHUB_ENV"

78+

echo "$node_bin" >> "$GITHUB_PATH"

79+

export PATH="$node_bin:$PATH"

80+81+

node -v

82+

npm -v

83+

pnpm -v

84+85+

install_args=(

86+

install

87+

--prefer-offline

88+

--ignore-scripts=false

89+

--config.engine-strict=false

90+

--config.enable-pre-post-scripts=true

91+

--config.side-effects-cache=true

92+

--frozen-lockfile

93+

)

94+

append_pnpm_option_arg() {

95+

local env_name="$1"

96+

local option_name="$2"

97+

local value="${!env_name-}"

98+

if [ -n "$value" ]; then

99+

install_args+=("--${option_name}=${value}")

100+

fi

101+

}

102+

append_pnpm_option_arg PNPM_CONFIG_CHILD_CONCURRENCY child-concurrency

103+

append_pnpm_option_arg PNPM_CONFIG_MODULES_DIR modules-dir

104+

append_pnpm_option_arg PNPM_CONFIG_NETWORK_CONCURRENCY network-concurrency

105+

append_pnpm_option_arg PNPM_CONFIG_VIRTUAL_STORE_DIR virtual-store-dir

106+

if [ -n "${PNPM_CONFIG_MODULES_DIR:-}" ]; then

107+

mkdir -p "$PNPM_CONFIG_MODULES_DIR"

108+

ln -sfn . "$PNPM_CONFIG_MODULES_DIR/node_modules"

109+

fi

110+

pnpm "${install_args[@]}" || pnpm "${install_args[@]}"

111+

if [ -n "${PNPM_CONFIG_MODULES_DIR:-}" ]; then

112+

rm -rf node_modules

113+

ln -sfn "$PNPM_CONFIG_MODULES_DIR" node_modules

114+

ln -sfn . "$PNPM_CONFIG_MODULES_DIR/node_modules"

115+

fi

116+117+

- name: Prepare Crabbox shell

118+

shell: bash

119+

run: |

120+

set -euo pipefail

121+122+

if git rev-parse --is-inside-work-tree >/dev/null 2>&1; then

123+

git fetch --no-tags --depth=50 origin "+refs/heads/main:refs/remotes/origin/main"

124+

fi

125+126+

node_bin="$(dirname "$(node -p 'process.execPath')")"

127+

sudo ln -sf "$node_bin/node" /usr/local/bin/node

128+

sudo ln -sf "$node_bin/npm" /usr/local/bin/npm

129+

sudo ln -sf "$node_bin/npx" /usr/local/bin/npx

130+

sudo ln -sf "$node_bin/corepack" /usr/local/bin/corepack

131+

sudo tee /usr/local/bin/pnpm >/dev/null <<'PNPM'

132+

#!/usr/bin/env bash

133+

exec /usr/local/bin/corepack pnpm "$@"

134+

PNPM

135+

sudo chmod 0755 /usr/local/bin/pnpm

136+137+

- name: Ensure Docker is running

138+

shell: bash

139+

run: |

140+

set -euo pipefail

141+142+

if ! command -v docker >/dev/null 2>&1; then

143+

echo "docker not found; installing fallback engine"

144+

curl -fsSL https://get.docker.com | sudo sh

145+

fi

146+147+

if command -v systemctl >/dev/null 2>&1; then

148+

sudo systemctl start docker || true

149+

elif command -v service >/dev/null 2>&1; then

150+

sudo service docker start || true

151+

fi

152+153+

if [ -S /var/run/docker.sock ]; then

154+

sudo usermod -aG docker "$USER" || true

155+

# The runner process keeps its original groups; grant this

156+

# ephemeral runner session access without requiring a relogin.

157+

sudo chmod 666 /var/run/docker.sock

158+

fi

159+160+

if ! docker buildx version >/dev/null 2>&1; then

161+

arch="$(uname -m)"

162+

case "$arch" in

163+

aarch64|arm64) buildx_arch=arm64 ;;

164+

x86_64|amd64) buildx_arch=amd64 ;;

165+

*) echo "unsupported buildx arch: $arch" >&2; exit 2 ;;

166+

esac

167+

buildx_version="${DOCKER_BUILDX_VERSION:-v0.15.1}"

168+

mkdir -p "$HOME/.docker/cli-plugins"

169+

curl -fsSL \

170+

"https://github.com/docker/buildx/releases/download/${buildx_version}/buildx-${buildx_version}.linux-${buildx_arch}" \

171+

-o "$HOME/.docker/cli-plugins/docker-buildx"

172+

chmod 0755 "$HOME/.docker/cli-plugins/docker-buildx"

173+

fi

174+175+

docker version

176+

docker buildx version

177+

docker compose version || true

178+179+

- name: Ensure SSH is available

180+

shell: bash

181+

run: |

182+

set -euo pipefail

183+

if command -v systemctl >/dev/null 2>&1; then

184+

sudo systemctl start ssh || sudo systemctl start sshd || true

185+

elif command -v service >/dev/null 2>&1; then

186+

sudo service ssh start || sudo service sshd start || true

187+

fi

188+189+

- name: Hydrate provider env helper

190+

shell: bash

191+

run: bash scripts/ci-hydrate-testbox-env.sh

192+193+

- name: Mark Crabbox ready

194+

shell: bash

195+

env:

196+

CRABBOX_ID: ${{ inputs.crabbox_id }}

197+

CRABBOX_JOB: ${{ inputs.crabbox_job }}

198+

run: |

199+

set -euo pipefail

200+

job="${CRABBOX_JOB}"

201+

if [ -z "$job" ]; then job=hydrate; fi

202+

case "$CRABBOX_ID" in

203+

''|*[!A-Za-z0-9._-]*)

204+

echo "Invalid crabbox_id" >&2

205+

exit 2

206+

;;

207+

esac

208+

mkdir -p "$HOME/.crabbox/actions"

209+

state="$HOME/.crabbox/actions/${CRABBOX_ID}.env"

210+

env_file="$HOME/.crabbox/actions/${CRABBOX_ID}.env.sh"

211+

services_file="$HOME/.crabbox/actions/${CRABBOX_ID}.services"

212+

write_export() {

213+

key="$1"

214+

value="${!key-}"

215+

if [ -n "$value" ]; then

216+

printf 'export %s=%q\n' "$key" "$value"

217+

fi

218+

}

219+

{

220+

for key in CI GITHUB_ACTIONS GITHUB_WORKSPACE GITHUB_REPOSITORY GITHUB_RUN_ID GITHUB_RUN_NUMBER GITHUB_RUN_ATTEMPT GITHUB_REF GITHUB_REF_NAME GITHUB_SHA GITHUB_EVENT_NAME GITHUB_ACTOR RUNNER_OS RUNNER_ARCH RUNNER_TEMP RUNNER_TOOL_CACHE XDG_CACHE_HOME COREPACK_HOME PNPM_HOME PNPM_CONFIG_CHILD_CONCURRENCY PNPM_CONFIG_MODULES_DIR PNPM_CONFIG_NETWORK_CONCURRENCY PNPM_CONFIG_STORE_DIR PNPM_CONFIG_VERIFY_DEPS_BEFORE_RUN PNPM_CONFIG_VIRTUAL_STORE_DIR; do

221+

write_export "$key"

222+

done

223+

} > "${env_file}.tmp"

224+

mv "${env_file}.tmp" "$env_file"

225+

{

226+

echo "# Docker containers visible from the hydrated runner"

227+

docker ps --format '{{.Names}}\t{{.Image}}\t{{.Ports}}' 2>/dev/null || true

228+

} > "${services_file}.tmp"

229+

mv "${services_file}.tmp" "$services_file"

230+

tmp="${state}.tmp"

231+

{

232+

echo "WORKSPACE=${GITHUB_WORKSPACE}"

233+

echo "RUN_ID=${GITHUB_RUN_ID}"

234+

echo "JOB=${job}"

235+

echo "ENV_FILE=${env_file}"

236+

echo "SERVICES_FILE=${services_file}"

237+

echo "READY_AT=$(date -u +%Y-%m-%dT%H:%M:%SZ)"

238+

} > "$tmp"

239+

mv "$tmp" "$state"

240+241+

- name: Keep Crabbox job alive

242+

shell: bash

243+

env:

244+

CRABBOX_ID: ${{ inputs.crabbox_id }}

245+

CRABBOX_KEEP_ALIVE_MINUTES: ${{ inputs.crabbox_keep_alive_minutes }}

246+

run: |

247+

set -euo pipefail

248+

case "$CRABBOX_ID" in

249+

''|*[!A-Za-z0-9._-]*)

250+

echo "Invalid crabbox_id" >&2

251+

exit 2

252+

;;

253+

esac

254+

minutes="${CRABBOX_KEEP_ALIVE_MINUTES}"

255+

case "$minutes" in

256+

''|*[!0-9]*) minutes=90 ;;

257+

esac

258+

stop="$HOME/.crabbox/actions/${CRABBOX_ID}.stop"

259+

deadline=$(( $(date +%s) + minutes * 60 ))

260+

while [ "$(date +%s)" -lt "$deadline" ]; do

261+

if [ -f "$stop" ]; then

262+

exit 0

263+

fi

264+

sleep 15

265+

done

266+267+

hydrate-github:

268+

name: hydrate-github

269+

if: ${{ inputs.crabbox_job == 'hydrate-github' }}

44270

runs-on: [self-hosted, "${{ inputs.crabbox_runner_label }}"]

45271

timeout-minutes: 120

46272

steps:

@@ -161,7 +387,7 @@ jobs:

161387

run: |

162388

set -euo pipefail

163389

job="${CRABBOX_JOB}"

164-

if [ -z "$job" ]; then job=hydrate; fi

390+

if [ -z "$job" ]; then job=hydrate-github; fi

165391

case "$CRABBOX_ID" in

166392

''|*[!A-Za-z0-9._-]*)

167393

echo "Invalid crabbox_id" >&2