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

推荐订阅源

WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
aimingoo的专栏
aimingoo的专栏
Vercel News
Vercel News
U
Unit 42
L
LangChain Blog
J
Java Code Geeks
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Cloudflare Blog
F
Fortinet All Blogs
小众软件
小众软件
I
InfoQ
P
Proofpoint News Feed
D
DataBreaches.Net
Martin Fowler
Martin Fowler
H
Help Net Security
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
有赞技术团队
有赞技术团队
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
B
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(e2e): stop probing ClawHub for npm installs · opencl...
vincentkoc · 2026-05-03 · via Recent Commits to openclaw:main

@@ -40,8 +40,6 @@ CURRENT_PHASE="setup"

4040

FAILURE_PHASE=""

4141

FAILURE_MESSAGE=""

4242

gateway_pid=""

43-

clawhub_fixture_pid=""

44-

configured_plugin_installs_clawhub_fixture_owned=""

4543

baseline_spec=""

4644

baseline_version=""

4745

baseline_version_expected="0"

@@ -193,10 +191,6 @@ NODE

193191

}

194192195193

cleanup() {

196-

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

197-

kill "$clawhub_fixture_pid" 2>/dev/null || true

198-

wait "$clawhub_fixture_pid" 2>/dev/null || true

199-

fi

200194

openclaw_e2e_terminate_gateways "${gateway_pid:-}"

201195

}

202196

@@ -287,61 +281,6 @@ configured_plugin_installs_enabled() {

287281

[ "$SCENARIO" = "configured-plugin-installs" ]

288282

}

289283290-

start_configured_plugin_installs_clawhub_fixture() {

291-

configured_plugin_installs_enabled || return 0

292-

configured_plugin_installs_clawhub_fixture_owned=""

293-

if [ -n "${OPENCLAW_CLAWHUB_URL:-}" ] || [ -n "${CLAWHUB_URL:-}" ]; then

294-

return 0

295-

fi

296-297-

local port_file="$ARTIFACT_ROOT/clawhub-not-found.port"

298-

local requests_file="$ARTIFACT_ROOT/clawhub-not-found-requests.jsonl"

299-

rm -f "$port_file" "$requests_file"

300-

node - "$port_file" "$requests_file" <<'NODE' &

301-

const fs = require("node:fs");

302-

const http = require("node:http");

303-

const portFile = process.argv[2];

304-

const requestsFile = process.argv[3];

305-

const server = http.createServer((request, response) => {

306-

fs.appendFileSync(

307-

requestsFile,

308-

`${JSON.stringify({ method: request.method, url: request.url, at: new Date().toISOString() })}\n`,

309-

);

310-

response.writeHead(404, { "content-type": "application/json" });

311-

response.end('{"error":"fixture package not found"}\n');

312-

});

313-

server.listen(0, "127.0.0.1", () => {

314-

fs.writeFileSync(portFile, String(server.address().port));

315-

});

316-

process.on("SIGTERM", () => server.close(() => process.exit(0)));

317-

process.on("SIGINT", () => server.close(() => process.exit(0)));

318-

NODE

319-

clawhub_fixture_pid="$!"

320-

for _ in $(seq 1 100); do

321-

if [ -s "$port_file" ]; then

322-

export OPENCLAW_CLAWHUB_URL="http://127.0.0.1:$(cat "$port_file")"

323-

configured_plugin_installs_clawhub_fixture_owned="1"

324-

echo "Configured plugin install scenario using ClawHub 404 fixture: $OPENCLAW_CLAWHUB_URL"

325-

return 0

326-

fi

327-

sleep 0.1

328-

done

329-

echo "timed out starting ClawHub 404 fixture" >&2

330-

return 1

331-

}

332-333-

assert_configured_plugin_installs_clawhub_attempted() {

334-

configured_plugin_installs_enabled || return 0

335-

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

336-

return 0

337-

fi

338-

local requests_file="$ARTIFACT_ROOT/clawhub-not-found-requests.jsonl"

339-

# The install catalog may prefer npm; assertions.mjs validates the installed source.

340-

if grep -q '/api/v1/packages/%40openclaw%2Fmatrix' "$requests_file" 2>/dev/null; then

341-

echo "configured plugin install scenario attempted ClawHub for @openclaw/matrix"

342-

fi

343-

}

344-345284

legacy_plugin_dependency_probe_paths() {

346285

local plugin="$1"

347286

local plugin_dir

@@ -757,11 +696,9 @@ phase assert-legacy-plugin-dependency-debris assert_legacy_plugin_dependency_deb

757696

phase assert-baseline assert_baseline_state

758697

phase seed-legacy-runtime-deps-symlink seed_legacy_runtime_deps_symlink

759698

phase resolve-candidate resolve_candidate_version

760-

phase configured-plugin-installs-clawhub-fixture start_configured_plugin_installs_clawhub_fixture

761699

phase update-candidate update_candidate

762700

phase assert-legacy-plugin-dependency-debris-before-doctor assert_legacy_plugin_dependency_debris_before_doctor

763701

phase doctor run_doctor

764-

phase configured-plugin-installs-clawhub-attempted assert_configured_plugin_installs_clawhub_attempted

765702

phase assert-legacy-plugin-dependency-debris-cleaned assert_legacy_plugin_dependency_debris_cleaned

766703

phase assert-legacy-runtime-deps-symlink-repaired assert_legacy_runtime_deps_symlink_repaired

767704

phase validate-post-doctor-config validate_post_doctor_config