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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
人人都是产品经理
人人都是产品经理
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
V2EX
博客园 - 三生石上(FineUI控件)
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
D
Docker
S
SegmentFault 最新的问题
博客园 - 聂微东
美团技术团队
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Last Week in AI
Last Week in AI
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
GbyAI
GbyAI
L
LangChain Blog
Vercel News
Vercel News
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
Engineering at Meta
Engineering at Meta
T
Threat Research - Cisco Blogs
T
Threatpost
Scott Helme
Scott Helme
T
Tailwind CSS Blog
Latest news
Latest news
Stack Overflow Blog
Stack Overflow Blog
Blog — PlanetScale
Blog — PlanetScale
The Register - Security
The Register - Security
罗磊的独立博客
P
Proofpoint News Feed
腾讯CDC
S
Schneier on Security
雷峰网
雷峰网
A
About on SuperTechFans
T
Tenable Blog
F
Full Disclosure
Cyberwarzone
Cyberwarzone
博客园_首页
有赞技术团队
有赞技术团队
K
Kaspersky official blog

Recent Commits to openclaw:main

feat: move workboard to relational sqlite · openclaw/openclaw@8d6a6e9 refactor: route browser screenshot vision through shared media unders… fix(release): harden beta doctor and RTT credential deadlines feat: improve MCP operator workflows · openclaw/openclaw@38d3d11 fix(browser): allow inbound media uploads · openclaw/openclaw@8be581c fix(feishu): use full gateway channel runtime · openclaw/openclaw@d05e4a4 fix(scripts): fail gauntlet on missing qa summaries · openclaw/openclaw@0b0edcd chore: remove more unused internal helpers · openclaw/openclaw@57c88dd perf: skip idle channel shutdown enumeration perf(scripts): prebuild qa runtime assets · openclaw/openclaw@ee2b90b fix(gateway): strip spurious tool calls on non-tool stops fix(ci): ignore fenced headings in proof parser (#87390) · openclaw/openclaw@1cab722 chore: remove old unused helpers fix(cron): preserve plugin delivery targets · openclaw/openclaw@2442e9c Refactor cron migrations under doctor (#88455) · openclaw/openclaw@0ac6107 docs(changelog): refresh 2026.5.30 notes fix subagent dm completion delivery (#88182) fix(codex-supervisor): satisfy release lint test(wizard): include tokenjuice optional plugin fix(agents): preserve generated media fallback routing · openclaw/openclaw@2d23519 fix: show chat errors as visible messages fix(ui): add agent selector to dreaming tab (#78748) · openclaw/openclaw@cd3d960 perf: cache validated session prompt blobs · openclaw/openclaw@d93394e docs: trim release performance report tail · openclaw/openclaw@83dff58 chore: remove unused infra helpers · openclaw/openclaw@3402477 perf: cache serialized session prompt refs · openclaw/openclaw@71b3bc8 chore: remove unused agent helpers · openclaw/openclaw@0be3ef5 feat: add internal code mode namespaces (#88043) · openclaw/openclaw@287687d chore(release): update appcast for 2026.5.28 · openclaw/openclaw@22e4289 fix(scripts): accept forwarded otel smoke args · openclaw/openclaw@5367ef7 chore: remove unused changelog helper · openclaw/openclaw@598e177 docs: refresh release performance sweep for 2026.5.28 · openclaw/openclaw@0ed9fb4 fix: promote serialized tool calls via repair package · openclaw/openclaw@3ea9115 fix(slack): preserve assistant DM root thread context (#63840) · openclaw/openclaw@4432554 fix(scripts): accept forwarded watch regression args · openclaw/openclaw@7dde396 feat: pass structured provider error signals to hooks · openclaw/openclaw@89975ee fix(ui): filter sidebar recent sessions by selected agent ci: update remaining Testbox actions refactor: simplify sqlite cron persistence · openclaw/openclaw@a825b55 Fix /acp spawn cwd inheritance for target agent workspaces (#82415) perf(build): skip dts for runtime build profiles build: classify release dependency ownership refactor: source model catalog types from core fix(tui): surface terminal lifecycle errors · openclaw/openclaw@6532929 perf: cache manifest model suppression resolver · openclaw/openclaw@3f50485 test(scripts): require usable memory search in fd repro fix: route denied exec approval followups to sessions fix(responses): drop orphaned assistant msg_* id when reasoning is dr… · openclaw/openclaw@48980a0 fix(agents): extend payload-less session lock grace test(gateway): avoid brittle shutdown timer assertion · openclaw/openclaw@b7232db refactor: extract web content core package (#88346) · openclaw/openclaw@a20b2dc fix(mcp): bound channel bridge pending approvals · openclaw/openclaw@c6b1fed feat(cli): add sessions tail progress view · openclaw/openclaw@c80ec43 docs(changelog): restore 2026.5.28 release credits · openclaw/openclaw@b6891d2 docs(changelog): require complete release credits · openclaw/openclaw@ec78a21 perf: fast path session store json parsing · openclaw/openclaw@be3af54 refactor(agents): bind subagent threads in core (#88416) · openclaw/openclaw@3fc0df9 fix: skip browser cleanup when browser is disabled · openclaw/openclaw@4ac90a5 perf: skip unnecessary setup auth fallback · openclaw/openclaw@39e9873 ci(release): allow direct publish recovery · openclaw/openclaw@50b7a2f ci(release): checkout approval helper · openclaw/openclaw@427df01 test(scripts): expose kitchen sink command RSS · openclaw/openclaw@b93ed3f refactor(msteams): persist conversation and poll stores in sqlite · openclaw/openclaw@a2b2c4a fix(agents): dedupe subagent browser session cleanup · openclaw/openclaw@a9a86f7 fix(build): avoid stale agent-core dts warnings (#87915) · openclaw/openclaw@371a8ab Move cron persistence to SQLite (#88285) · openclaw/openclaw@005da57 fix(ui): keep selected chat model visible after session switch · openclaw/openclaw@d11e82a fix(llm): repair invalid streaming unicode escapes ci: update Blacksmith Testbox actions refactor: move model catalog normalization into core package fix(codex): keep app-server continuation turns alive · openclaw/openclaw@961691d test(agents): wait for MCP method-not-found log · openclaw/openclaw@2780f54 fix(scripts): quiet minimal runtime asset copies · openclaw/openclaw@37058ad ci: skip codeql network shard for test-only changes · openclaw/openclaw@37c6e2d fix: remove redundant unknown union ci: keep harness changes on fast checks (#88429) · openclaw/openclaw@e24a9c5 chore: remove inert skill workshop package · openclaw/openclaw@d9c0d09 fix(auth): bound oauth mirror expiry · openclaw/openclaw@0c7ab41 fix(export-html): guard msg.content and result.content filter/iterati… · openclaw/openclaw@5811693 fix(agents): bound auth health expiry · openclaw/openclaw@445ff22 ci: stabilize changed checks · openclaw/openclaw@602364f fix(agents): bound discovery auth expiry · openclaw/openclaw@c73e8ee fix: harden skill workshop proposal results · openclaw/openclaw@7d19f89 fix: preserve trusted policy checks for skill workshop · openclaw/openclaw@908fc35 fix: refresh skill workshop generated surfaces · openclaw/openclaw@77c6bee refactor: move skill research capture logic · openclaw/openclaw@6eb6730 fix: serialize skill proposal lifecycle mutations · openclaw/openclaw@41044a2 fix: keep autonomous skill capture opt-in · openclaw/openclaw@43e4b9d fix: allow concise skill update descriptions · openclaw/openclaw@28290a4 fix: preserve auto-captured skill updates · openclaw/openclaw@0b49710 fix: scan skill proposal prompt content · openclaw/openclaw@131e662 fix: refresh skill workshop CI expectations · openclaw/openclaw@515d4ff chore: keep skill workshop package manifest inert · openclaw/openclaw@dcc329a fix: align skill proposal revise validation · openclaw/openclaw@7051bf1 fix: approve final skill workshop tool params · openclaw/openclaw@3cd368e fix: serialize skill proposal creation limits · openclaw/openclaw@d6d1cc2 fix: bound skill workshop descriptions · openclaw/openclaw@3a9e7df refactor: rename skill workshop agent tool · openclaw/openclaw@2383cfd fix: enforce skill workshop proposal bounds · openclaw/openclaw@e4905ce fix(plugin-sdk): bound oauth result expiry
fix(scripts): assert lifecycle inspect output · openclaw/openclaw@7fc02d3
vincentkoc · 2026-05-31 · via Recent Commits to openclaw:main

@@ -0,0 +1,74 @@

1+

import { spawnSync } from "node:child_process";

2+

import { mkdtempSync, rmSync, writeFileSync } from "node:fs";

3+

import { tmpdir } from "node:os";

4+

import path from "node:path";

5+

import { afterEach, describe, expect, it } from "vitest";

6+7+

const probePath = "scripts/e2e/lib/plugin-lifecycle-matrix/probe.mjs";

8+

const tempDirs: string[] = [];

9+10+

function makeTempDir(): string {

11+

const dir = mkdtempSync(path.join(tmpdir(), "openclaw-plugin-lifecycle-probe-"));

12+

tempDirs.push(dir);

13+

return dir;

14+

}

15+16+

function runProbe(args: string[], home = makeTempDir()) {

17+

return spawnSync(process.execPath, [probePath, ...args], {

18+

cwd: process.cwd(),

19+

encoding: "utf8",

20+

env: {

21+

...process.env,

22+

HOME: home,

23+

OPENCLAW_CONFIG_PATH: path.join(home, ".openclaw", "openclaw.json"),

24+

USERPROFILE: home,

25+

},

26+

});

27+

}

28+29+

afterEach(() => {

30+

for (const dir of tempDirs.splice(0)) {

31+

rmSync(dir, { recursive: true, force: true });

32+

}

33+

});

34+35+

describe("plugin lifecycle matrix probe", () => {

36+

it("accepts inspect JSON for an enabled loaded plugin", () => {

37+

const dir = makeTempDir();

38+

const inspectPath = path.join(dir, "inspect.json");

39+

writeFileSync(

40+

inspectPath,

41+

`${JSON.stringify({ plugin: { enabled: true, id: "lifecycle-claw", status: "loaded" } })}\n`,

42+

"utf8",

43+

);

44+45+

const result = runProbe(["assert-inspect-loaded", "lifecycle-claw", inspectPath], dir);

46+47+

expect(result.status, result.stderr).toBe(0);

48+

});

49+50+

it("rejects inspect JSON that does not prove the runtime loaded", () => {

51+

const dir = makeTempDir();

52+

const inspectPath = path.join(dir, "inspect.json");

53+

writeFileSync(

54+

inspectPath,

55+

`${JSON.stringify({ plugin: { enabled: true, id: "lifecycle-claw", status: "pending" } })}\n`,

56+

"utf8",

57+

);

58+59+

const result = runProbe(["assert-inspect-loaded", "lifecycle-claw", inspectPath], dir);

60+61+

expect(result.status).not.toBe(0);

62+

expect(result.stderr).toContain("expected lifecycle-claw inspect status loaded, got pending");

63+

});

64+65+

it("rejects missing inspect JSON instead of treating it as an empty object", () => {

66+

const dir = makeTempDir();

67+

const inspectPath = path.join(dir, "missing.json");

68+69+

const result = runProbe(["assert-inspect-loaded", "lifecycle-claw", inspectPath], dir);

70+71+

expect(result.status).not.toBe(0);

72+

expect(result.stderr).toContain(`failed to read JSON from ${inspectPath}`);

73+

});

74+

});