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

推荐订阅源

Google DeepMind News
Google DeepMind News
L
LangChain Blog
H
Help Net Security
博客园_首页
T
Tailwind CSS Blog
Microsoft Security Blog
Microsoft Security Blog
T
The Blog of Author Tim Ferriss
雷峰网
雷峰网
Recent Announcements
Recent Announcements
D
DataBreaches.Net
U
Unit 42
Vercel News
Vercel News
I
InfoQ
Martin Fowler
Martin Fowler
Microsoft Azure Blog
Microsoft Azure Blog
Apple Machine Learning Research
Apple Machine Learning Research
S
SegmentFault 最新的问题
Jina AI
Jina AI
博客园 - 叶小钗
博客园 - 【当耐特】
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
Last Week in AI
Last Week in AI

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(onboarding): assert channel status surfaces · opencl...
vincentkoc · 2026-05-03 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -24,6 +24,7 @@ Docs: https://docs.openclaw.ai

2424

- Plugins/onboarding: trust optional official plugin and web-search installs selected from the official catalog so npm security scanning treats them like other source-linked official install paths. Thanks @vincentkoc.

2525

- Tests/plugins: expose the Discord npm onboarding Docker lane as a package script and assert planned Docker lanes point at real scripts, so external-channel onboarding coverage can actually run. Thanks @vincentkoc.

2626

- Plugins/ClawHub: explain unreleased ClawHub plugin artifacts as a rollout-state fallback to `npm:` installs instead of leaking raw archive metadata fields. Thanks @vincentkoc.

27+

- Tests/onboarding: assert packaged channel onboarding leaves `openclaw channels status --json` and plain `openclaw status` showing the configured channel, covering the empty Channels table regression path. Thanks @vincentkoc.

2728

- Microsoft Teams: persist sent-message markers across Gateway restarts so follow-up replies to recent bot messages keep resolving the original conversation instead of dropping out after restart, with marker TTLs preserved on best-effort recovery. (#75585) Thanks @amknight.

2829

- Matrix: persist pending approval reaction targets across Gateway restarts so room approvers can still approve or deny outstanding prompts after OpenClaw comes back online. (#75586) Thanks @amknight.

2930

- Channels/onboarding: map third-party official WeCom and Yuanbao catalog entries to their published plugin ids so npm installs pass expected-plugin validation. Thanks @vincentkoc.

Original file line numberDiff line numberDiff line change

@@ -95,6 +95,28 @@ function assertChannelConfig() {

9595

}

9696

}

9797
98+

function assertStatusSurfaces() {

99+

const channel = process.argv[3];

100+

const channelsStatusPath = process.argv[4];

101+

const statusTextPath = process.argv[5];

102+

const channelsStatus = readJson(channelsStatusPath);

103+

const configuredChannels = Array.isArray(channelsStatus.configuredChannels)

104+

? channelsStatus.configuredChannels

105+

: [];

106+

if (!configuredChannels.includes(channel)) {

107+

throw new Error(

108+

`channels status did not list configured channel ${channel}. Payload: ${JSON.stringify(channelsStatus)}`,

109+

);

110+

}

111+

const statusText = fs.readFileSync(statusTextPath, "utf8");

112+

if (!/channels/i.test(statusText)) {

113+

throw new Error(`plain status output did not render a Channels section. Output: ${statusText}`);

114+

}

115+

if (!statusText.toLowerCase().includes(channel.toLowerCase())) {

116+

throw new Error(`plain status output did not mention ${channel}. Output: ${statusText}`);

117+

}

118+

}

119+
98120

function assertAgentTurn() {

99121

const marker = process.argv[3];

100122

const logPath = process.argv[4];

@@ -112,6 +134,7 @@ const commands = {

112134

"assert-onboard-state": assertOnboardState,

113135

"configure-mock-model": configureMockModel,

114136

"assert-channel-config": assertChannelConfig,

137+

"assert-status-surfaces": assertStatusSurfaces,

115138

"assert-agent-turn": assertAgentTurn,

116139

};

117140
Original file line numberDiff line numberDiff line change

@@ -92,6 +92,10 @@ dump_debug_logs() {

9292

/tmp/openclaw-install.log \

9393

/tmp/openclaw-onboard.json \

9494

/tmp/openclaw-channel-add.log \

95+

/tmp/openclaw-channels-status.json \

96+

/tmp/openclaw-channels-status.err \

97+

/tmp/openclaw-status.txt \

98+

/tmp/openclaw-status.err \

9599

/tmp/openclaw-doctor.log \

96100

/tmp/openclaw-agent.combined \

97101

/tmp/openclaw-agent.err \

@@ -137,6 +141,11 @@ echo "Configuring $CHANNEL..."

137141

openclaw channels add --channel "$CHANNEL" --token "$CHANNEL_TOKEN" >/tmp/openclaw-channel-add.log 2>&1

138142

node scripts/e2e/lib/npm-onboard-channel-agent/assertions.mjs assert-channel-config "$CHANNEL" "$CHANNEL_TOKEN"

139143
144+

echo "Checking status surfaces for $CHANNEL..."

145+

openclaw channels status --json >/tmp/openclaw-channels-status.json 2>/tmp/openclaw-channels-status.err

146+

openclaw status >/tmp/openclaw-status.txt 2>/tmp/openclaw-status.err

147+

node scripts/e2e/lib/npm-onboard-channel-agent/assertions.mjs assert-status-surfaces "$CHANNEL" /tmp/openclaw-channels-status.json /tmp/openclaw-status.txt

148+
140149

echo "Running doctor after channel activation..."

141150

openclaw doctor --repair --non-interactive >/tmp/openclaw-doctor.log 2>&1

142151

if [ "$CHANNEL_PACKAGE_MODE" = "external" ]; then