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

推荐订阅源

宝玉的分享
宝玉的分享
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
博客园 - 叶小钗
T
Tailwind CSS Blog
博客园 - Franky
WordPress大学
WordPress大学
博客园 - 司徒正美
D
DataBreaches.Net
L
LangChain Blog
G
Google Developers Blog
C
Check Point Blog
爱范儿
爱范儿
阮一峰的网络日志
阮一峰的网络日志
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
SegmentFault 最新的问题
Microsoft Security Blog
Microsoft Security Blog
J
Java Code Geeks
美团技术团队
腾讯CDC
Martin Fowler
Martin Fowler
博客园 - 聂微东
MongoDB | Blog
MongoDB | Blog
Jina AI
Jina 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
fix(release): use bundled channel in activation smoke · o...
vincentkoc · 2026-05-03 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -329,7 +329,7 @@ function runPackedBundledPluginPostinstall(packageRoot: string): void {

329329

});

330330

}

331331
332-

function writePackedBundledPluginActivationConfig(homeDir: string): void {

332+

export function writePackedBundledPluginActivationConfig(homeDir: string): void {

333333

const configPath = join(homeDir, ".openclaw", "openclaw.json");

334334

mkdirSync(join(homeDir, ".openclaw"), { recursive: true });

335335

writeFileSync(

@@ -342,7 +342,7 @@ function writePackedBundledPluginActivationConfig(homeDir: string): void {

342342

},

343343

},

344344

channels: {

345-

feishu: {

345+

matrix: {

346346

enabled: true,

347347

},

348348

},

@@ -358,7 +358,7 @@ function writePackedBundledPluginActivationConfig(homeDir: string): void {

358358

plugins: {

359359

enabled: true,

360360

entries: {

361-

feishu: {

361+

matrix: {

362362

enabled: true,

363363

},

364364

},

Original file line numberDiff line numberDiff line change

@@ -0,0 +1,27 @@

1+

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

2+

import { tmpdir } from "node:os";

3+

import { join } from "node:path";

4+

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

5+

import { writePackedBundledPluginActivationConfig } from "../../scripts/release-check.ts";

6+
7+

describe("release-check", () => {

8+

it("seeds packaged activation smoke with an included channel plugin", () => {

9+

const homeDir = mkdtempSync(join(tmpdir(), "openclaw-release-check-test-"));

10+

try {

11+

writePackedBundledPluginActivationConfig(homeDir);

12+

const config = JSON.parse(

13+

readFileSync(join(homeDir, ".openclaw", "openclaw.json"), "utf8"),

14+

) as {

15+

channels?: Record<string, unknown>;

16+

plugins?: { entries?: Record<string, unknown> };

17+

};

18+
19+

expect(config.channels).toHaveProperty("matrix");

20+

expect(config.plugins?.entries).toHaveProperty("matrix");

21+

expect(config.channels).not.toHaveProperty("feishu");

22+

expect(config.plugins?.entries).not.toHaveProperty("feishu");

23+

} finally {

24+

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

25+

}

26+

});

27+

});