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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
V2EX
WordPress大学
WordPress大学
U
Unit 42
I
InfoQ
A
About on SuperTechFans
宝玉的分享
宝玉的分享
J
Java Code Geeks
博客园 - 司徒正美
爱范儿
爱范儿
Engineering at Meta
Engineering at Meta
G
Google Developers Blog
人人都是产品经理
人人都是产品经理
小众软件
小众软件
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Hugging Face - Blog
Hugging Face - Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
aimingoo的专栏
aimingoo的专栏
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
腾讯CDC
Recent Announcements
Recent Announcements

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(e2e): make npm telegram harness configurable · openc...
obviyus · 2026-05-01 · via Recent Commits to openclaw:main

@@ -145,11 +145,14 @@ for key in \

145145

OPENCLAW_QA_ALLOW_INSECURE_HTTP \

146146

OPENCLAW_QA_REDACT_PUBLIC_METADATA \

147147

OPENCLAW_QA_TELEGRAM_CAPTURE_CONTENT \

148+

OPENCLAW_QA_TELEGRAM_CANARY_TIMEOUT_MS \

149+

OPENCLAW_QA_TELEGRAM_SCENARIO_TIMEOUT_MS \

148150

OPENCLAW_QA_SUITE_PROGRESS \

149151

OPENCLAW_NPM_TELEGRAM_PROVIDER_MODE \

150152

OPENCLAW_NPM_TELEGRAM_MODEL \

151153

OPENCLAW_NPM_TELEGRAM_ALT_MODEL \

152154

OPENCLAW_NPM_TELEGRAM_SCENARIOS \

155+

OPENCLAW_NPM_TELEGRAM_SKIP_HOTPATH \

153156

OPENCLAW_NPM_TELEGRAM_SUT_ACCOUNT \

154157

OPENCLAW_NPM_TELEGRAM_ALLOW_FAILURES; do

155158

forward_env_if_set "$key"

@@ -169,7 +172,7 @@ run_logged docker run --rm \

169172

-e COREPACK_ENABLE_DOWNLOAD_PROMPT=0 \

170173

-e OPENCLAW_NPM_TELEGRAM_INSTALL_SOURCE="$package_install_source" \

171174

-e OPENCLAW_NPM_TELEGRAM_PACKAGE_LABEL="$PACKAGE_LABEL" \

172-

"${package_mount_args[@]}" \

175+

${package_mount_args[@]+"${package_mount_args[@]}"} \

173176

-v "$npm_prefix_host:/npm-global" \

174177

-i "$IMAGE_NAME" bash -s <<'EOF'

175178

set -euo pipefail

@@ -284,27 +287,29 @@ for dependency in \

284287

link_installed_package_dependency "$dependency"

285288

done

286289287-

echo "Running installed-package onboarding recovery hot path..."

288-

OPENAI_API_KEY="${OPENAI_API_KEY:-sk-openclaw-npm-telegram-hotpath}" openclaw onboard --non-interactive --accept-risk \

289-

--mode local \

290-

--auth-choice openai-api-key \

291-

--secret-input-mode ref \

292-

--gateway-port 18789 \

293-

--gateway-bind loopback \

294-

--skip-daemon \

295-

--skip-ui \

296-

--skip-skills \

297-

--skip-health \

298-

--json >/tmp/openclaw-npm-telegram-onboard.json </dev/null

290+

if [ "${OPENCLAW_NPM_TELEGRAM_SKIP_HOTPATH:-0}" != "1" ]; then

291+

echo "Running installed-package onboarding recovery hot path..."

292+

OPENAI_API_KEY="${OPENAI_API_KEY:-sk-openclaw-npm-telegram-hotpath}" openclaw onboard --non-interactive --accept-risk \

293+

--mode local \

294+

--auth-choice openai-api-key \

295+

--secret-input-mode ref \

296+

--gateway-port 18789 \

297+

--gateway-bind loopback \

298+

--skip-daemon \

299+

--skip-ui \

300+

--skip-skills \

301+

--skip-health \

302+

--json >/tmp/openclaw-npm-telegram-onboard.json </dev/null

299303300-

openclaw channels add --channel telegram --token "123456:openclaw-npm-telegram-hotpath" >/tmp/openclaw-npm-telegram-channel-add.log 2>&1 </dev/null

301-

openclaw doctor --fix --non-interactive >/tmp/openclaw-npm-telegram-doctor-fix.log 2>&1 </dev/null

302-

openclaw doctor --non-interactive >/tmp/openclaw-npm-telegram-doctor-check.log 2>&1 </dev/null

303-

if grep -F -q "Bundled plugin runtime deps are missing." /tmp/openclaw-npm-telegram-doctor-check.log; then

304-

exit 1

305-

fi

306-

if grep -F -q "Failed to install bundled plugin runtime deps" /tmp/openclaw-npm-telegram-doctor-fix.log; then

307-

exit 1

304+

openclaw channels add --channel telegram --token "123456:openclaw-npm-telegram-hotpath" >/tmp/openclaw-npm-telegram-channel-add.log 2>&1 </dev/null

305+

openclaw doctor --fix --non-interactive >/tmp/openclaw-npm-telegram-doctor-fix.log 2>&1 </dev/null

306+

openclaw doctor --non-interactive >/tmp/openclaw-npm-telegram-doctor-check.log 2>&1 </dev/null

307+

if grep -F -q "Bundled plugin runtime deps are missing." /tmp/openclaw-npm-telegram-doctor-check.log; then

308+

exit 1

309+

fi

310+

if grep -F -q "Failed to install bundled plugin runtime deps" /tmp/openclaw-npm-telegram-doctor-fix.log; then

311+

exit 1

312+

fi

308313

fi

309314310315

export OPENCLAW_NPM_TELEGRAM_SUT_COMMAND="$(command -v openclaw)"