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

推荐订阅源

Stack Overflow Blog
Stack Overflow Blog
Y
Y Combinator Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
M
MIT News - Artificial intelligence
GbyAI
GbyAI
A
About on SuperTechFans
T
The Blog of Author Tim Ferriss
雷峰网
雷峰网
Blog — PlanetScale
Blog — PlanetScale
J
Java Code Geeks
IT之家
IT之家
Microsoft Azure Blog
Microsoft Azure Blog
V
V2EX
爱范儿
爱范儿
N
Netflix TechBlog - Medium
U
Unit 42
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 叶小钗
G
Google Developers Blog
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
腾讯CDC

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: tighten release check assertions · openclaw/opencla...
steipete · 2026-05-09 · via Recent Commits to openclaw:main

@@ -145,7 +145,7 @@ describe("packed CLI smoke", () => {

145145

OPENCLAW_STATE_DIR: "/tmp/smoke-state",

146146

},

147147

),

148-

).toMatchObject({

148+

).toEqual({

149149

PATH: "/usr/bin",

150150

HOME: "/tmp/smoke-home",

151151

OPENCLAW_STATE_DIR: "/tmp/smoke-state",

@@ -380,9 +380,9 @@ describe("collectForbiddenPackPaths", () => {

380380381381

it("keeps local build metadata excluded by package files", () => {

382382

const pkg = JSON.parse(readFileSync("package.json", "utf8")) as { files?: string[] };

383-

expect(pkg.files).toEqual(

384-

expect.arrayContaining(LOCAL_BUILD_METADATA_DIST_PATHS.map((entry) => `!${entry}`)),

385-

);

383+

for (const entry of LOCAL_BUILD_METADATA_DIST_PATHS) {

384+

expect(pkg.files).toContain(`!${entry}`);

385+

}

386386

});

387387388388

it("blocks legacy runtime dependency stamps from npm pack output", () => {

@@ -483,27 +483,27 @@ describe("collectMissingPackPaths", () => {

483483

"dist/build-info.json",

484484

]);

485485486-

expect(missing).toEqual(

487-

expect.arrayContaining([

488-

"dist/channel-catalog.json",

489-

PACKAGE_DIST_INVENTORY_RELATIVE_PATH,

490-

"dist/control-ui/index.html",

491-

"scripts/npm-runner.mjs",

492-

"scripts/preinstall-package-manager-warning.mjs",

493-

"scripts/lib/official-external-channel-catalog.json",

494-

"scripts/lib/official-external-plugin-catalog.json",

495-

"scripts/lib/official-external-provider-catalog.json",

496-

"scripts/lib/package-dist-imports.mjs",

497-

"scripts/postinstall-bundled-plugins.mjs",

498-

"dist/task-registry-control.runtime.js",

499-

bundledDistPluginFile("slack", "runtime-api.js"),

500-

bundledDistPluginFile("slack", "openclaw.plugin.json"),

501-

bundledDistPluginFile("slack", "package.json"),

502-

bundledDistPluginFile("telegram", "runtime-api.js"),

503-

bundledDistPluginFile("telegram", "openclaw.plugin.json"),

504-

bundledDistPluginFile("telegram", "package.json"),

505-

]),

506-

);

486+

for (const path of [

487+

"dist/channel-catalog.json",

488+

PACKAGE_DIST_INVENTORY_RELATIVE_PATH,

489+

"dist/control-ui/index.html",

490+

"scripts/npm-runner.mjs",

491+

"scripts/preinstall-package-manager-warning.mjs",

492+

"scripts/lib/official-external-channel-catalog.json",

493+

"scripts/lib/official-external-plugin-catalog.json",

494+

"scripts/lib/official-external-provider-catalog.json",

495+

"scripts/lib/package-dist-imports.mjs",

496+

"scripts/postinstall-bundled-plugins.mjs",

497+

"dist/task-registry-control.runtime.js",

498+

bundledDistPluginFile("slack", "runtime-api.js"),

499+

bundledDistPluginFile("slack", "openclaw.plugin.json"),

500+

bundledDistPluginFile("slack", "package.json"),

501+

bundledDistPluginFile("telegram", "runtime-api.js"),

502+

bundledDistPluginFile("telegram", "openclaw.plugin.json"),

503+

bundledDistPluginFile("telegram", "package.json"),

504+

]) {

505+

expect(missing).toContain(path);

506+

}

507507

});

508508509509

it("accepts the shipped upgrade surface when optional bundled metadata is present", () => {

@@ -535,11 +535,11 @@ describe("collectMissingPackPaths", () => {

535535

});

536536537537

it("requires bundled plugin runtime sidecars that dynamic plugin boundaries resolve at runtime", () => {

538-

expect(requiredBundledPluginPackPaths).toEqual(

539-

expect.arrayContaining([

540-

bundledDistPluginFile("slack", "runtime-api.js"),

541-

bundledDistPluginFile("telegram", "runtime-api.js"),

542-

]),

538+

expect(requiredBundledPluginPackPaths).toContain(

539+

bundledDistPluginFile("slack", "runtime-api.js"),

540+

);

541+

expect(requiredBundledPluginPackPaths).toContain(

542+

bundledDistPluginFile("telegram", "runtime-api.js"),

543543

);

544544

});

545545

});