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

推荐订阅源

S
SegmentFault 最新的问题
J
Java Code Geeks
V
V2EX
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
F
Fortinet All Blogs
aimingoo的专栏
aimingoo的专栏
B
Blog
A
About on SuperTechFans
有赞技术团队
有赞技术团队
月光博客
月光博客
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
美团技术团队
大猫的无限游戏
大猫的无限游戏
爱范儿
爱范儿
N
Netflix TechBlog - Medium
C
Check Point Blog
Recent Announcements
Recent Announcements
博客园 - Franky
博客园 - 叶小钗
T
Tailwind CSS Blog

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(parallels): retry stale post-update cli imports · op...
steipete · 2026-05-01 · via Recent Commits to openclaw:main

@@ -111,8 +111,6 @@ Stop-OpenClawGatewayProcesses

111111

$env:OPENCLAW_DISABLE_BUNDLED_PLUGINS = '1'

112112

Invoke-OpenClaw update --tag ${psSingleQuote(input.updateTarget)} --yes --json --no-restart

113113

if ($LASTEXITCODE -ne 0) { throw "openclaw update failed with exit code $LASTEXITCODE" }

114-

$version = Invoke-OpenClaw --version

115-

$version

116114

${windowsVersionCheck(input.expectedNeedle)}

117115

Invoke-OpenClaw gateway restart

118116

Invoke-OpenClaw gateway status --deep --require-rpc

@@ -189,13 +187,13 @@ function posixVersionCheck(command: string, expectedNeedle: string): string {

189187

return `hash -r || true

190188

version_deadline=$((SECONDS + 60))

191189

while true; do

192-

set +e

193-

version="$(${command} --version 2>&1)"

194-

version_status=$?

195-

set -e

196-

printf '%s\\n' "$version"

197-

if [ "$version_status" -eq 0 ]; then

190+

if version="$(${command} --version 2>&1)"; then

191+

version_status=0

192+

printf '%s\\n' "$version"

198193

break

194+

else

195+

version_status=$?

196+

printf '%s\\n' "$version"

199197

fi

200198

if [ "$SECONDS" -ge "$version_deadline" ]; then

201199

exit "$version_status"

@@ -206,13 +204,13 @@ done`;

206204

return `hash -r || true

207205

version_deadline=$((SECONDS + 60))

208206

while true; do

209-

set +e

210-

version="$(${command} --version 2>&1)"

211-

version_status=$?

212-

set -e

213-

printf '%s\\n' "$version"

214-

if [ "$version_status" -eq 0 ]; then

207+

if version="$(${command} --version 2>&1)"; then

208+

version_status=0

209+

printf '%s\\n' "$version"

215210

case "$version" in *${quotedNeedle}*) break ;; esac

211+

else

212+

version_status=$?

213+

printf '%s\\n' "$version"

216214

fi

217215

if [ "$SECONDS" -ge "$version_deadline" ]; then

218216

if [ "$version_status" -ne 0 ]; then

@@ -227,7 +225,26 @@ done`;

227225228226

function windowsVersionCheck(expectedNeedle: string): string {

229227

if (!expectedNeedle) {

230-

return "";

228+

return `$versionDeadline = (Get-Date).AddSeconds(60)

229+

while ($true) {

230+

$version = Invoke-OpenClaw --version

231+

$version

232+

if ($LASTEXITCODE -eq 0) { break }

233+

if ((Get-Date) -ge $versionDeadline) { throw "openclaw --version failed with exit code $LASTEXITCODE" }

234+

Start-Sleep -Seconds 2

235+

}`;

236+

}

237+

const expectedPattern = psSingleQuote(`*${expectedNeedle}*`);

238+

const mismatch = psSingleQuote(`version mismatch: expected ${expectedNeedle}`);

239+

return `$versionDeadline = (Get-Date).AddSeconds(60)

240+

while ($true) {

241+

$version = Invoke-OpenClaw --version

242+

$version

243+

if ($LASTEXITCODE -eq 0 -and (($version | Out-String) -like ${expectedPattern})) { break }

244+

if ((Get-Date) -ge $versionDeadline) {

245+

if ($LASTEXITCODE -ne 0) { throw "openclaw --version failed with exit code $LASTEXITCODE" }

246+

throw ${mismatch}

231247

}

232-

return `if (($version | Out-String) -notlike ${psSingleQuote(`*${expectedNeedle}*`)}) { throw ${psSingleQuote(`version mismatch: expected ${expectedNeedle}`)} }`;

248+

Start-Sleep -Seconds 2

249+

}`;

233250

}