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

推荐订阅源

WordPress大学
WordPress大学
L
LangChain Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 叶小钗
小众软件
小众软件
博客园 - Franky
D
Docker
Google DeepMind News
Google DeepMind News
Microsoft Azure Blog
Microsoft Azure Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
宝玉的分享
宝玉的分享
C
Check Point Blog
B
Blog
V
V2EX
博客园 - 三生石上(FineUI控件)
MyScale Blog
MyScale Blog
The Cloudflare Blog
博客园 - 聂微东
博客园_首页
Engineering at Meta
Engineering at Meta

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
fix: stabilize Parallels update restart checks · openclaw...
steipete · 2026-04-30 · via Recent Commits to openclaw:main

@@ -39,12 +39,34 @@ stop_openclaw_gateway_processes() {

3939

OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 /opt/homebrew/bin/openclaw gateway stop || true

4040

pkill -f 'openclaw.*gateway' >/dev/null 2>&1 || true

4141

}

42+

start_openclaw_gateway() {

43+

if /opt/homebrew/bin/openclaw gateway restart; then

44+

return

45+

fi

46+

pkill -f 'openclaw.*gateway' >/dev/null 2>&1 || true

47+

rm -f /tmp/openclaw-parallels-macos-gateway.log

48+

nohup env OPENCLAW_HOME="$HOME" OPENCLAW_STATE_DIR="$HOME/.openclaw" OPENCLAW_CONFIG_PATH="$HOME/.openclaw/openclaw.json" ${input.auth.apiKeyEnv}=${shellQuote(

49+

input.auth.apiKeyValue,

50+

)} /opt/homebrew/bin/openclaw gateway run --bind loopback --port 18789 --force >/tmp/openclaw-parallels-macos-gateway.log 2>&1 </dev/null &

51+

}

52+

wait_for_gateway() {

53+

deadline=$((SECONDS + 240))

54+

while [ "$SECONDS" -lt "$deadline" ]; do

55+

if /opt/homebrew/bin/openclaw gateway status --deep --require-rpc --timeout 15000; then

56+

return

57+

fi

58+

sleep 2

59+

done

60+

cat /tmp/openclaw-parallels-macos-gateway.log >&2 || true

61+

echo "gateway did not become ready after update" >&2

62+

exit 1

63+

}

4264

scrub_future_plugin_entries

4365

stop_openclaw_gateway_processes

4466

OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 /opt/homebrew/bin/openclaw update --tag ${shellQuote(input.updateTarget)} --yes --json

4567

${posixVersionCheck("/opt/homebrew/bin/openclaw", input.expectedNeedle)}

46-

/opt/homebrew/bin/openclaw gateway restart

47-

/opt/homebrew/bin/openclaw gateway status --deep --require-rpc

68+

start_openclaw_gateway

69+

wait_for_gateway

4870

/opt/homebrew/bin/openclaw models set ${shellQuote(input.auth.modelId)}

4971

/opt/homebrew/bin/openclaw config set agents.defaults.skipBootstrap true --strict-json

5072

${posixAgentWorkspaceScript("Parallels npm update smoke test assistant.")}

@@ -122,12 +144,33 @@ stop_openclaw_gateway_processes() {

122144

OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 openclaw gateway stop || true

123145

pkill -f 'openclaw.*gateway' >/dev/null 2>&1 || true

124146

}

147+

start_openclaw_gateway() {

148+

pkill -f "openclaw gateway run" >/dev/null 2>&1 || true

149+

rm -f /tmp/openclaw-parallels-linux-gateway.log

150+

setsid sh -lc ${shellQuote(

151+

`exec env OPENCLAW_HOME=/root OPENCLAW_STATE_DIR=/root/.openclaw OPENCLAW_CONFIG_PATH=/root/.openclaw/openclaw.json OPENCLAW_DISABLE_BONJOUR=1 ${input.auth.apiKeyEnv}=${shellQuote(

152+

input.auth.apiKeyValue,

153+

)} openclaw gateway run --bind loopback --port 18789 --force >/tmp/openclaw-parallels-linux-gateway.log 2>&1`,

154+

)} >/dev/null 2>&1 < /dev/null &

155+

}

156+

wait_for_gateway() {

157+

deadline=$((SECONDS + 240))

158+

while [ "$SECONDS" -lt "$deadline" ]; do

159+

if openclaw gateway status --deep --require-rpc --timeout 15000; then

160+

return

161+

fi

162+

sleep 2

163+

done

164+

cat /tmp/openclaw-parallels-linux-gateway.log >&2 || true

165+

echo "gateway did not become ready after update" >&2

166+

exit 1

167+

}

125168

scrub_future_plugin_entries

126169

stop_openclaw_gateway_processes

127170

OPENCLAW_DISABLE_BUNDLED_PLUGINS=1 openclaw update --tag ${shellQuote(input.updateTarget)} --yes --json

128171

${posixVersionCheck("openclaw", input.expectedNeedle)}

129-

openclaw gateway restart

130-

openclaw gateway status --deep --require-rpc

172+

start_openclaw_gateway

173+

wait_for_gateway

131174

openclaw models set ${shellQuote(input.auth.modelId)}

132175

openclaw config set agents.defaults.skipBootstrap true --strict-json

133176

${posixAgentWorkspaceScript("Parallels npm update smoke test assistant.")}