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

推荐订阅源

爱范儿
爱范儿
博客园_首页
U
Unit 42
Apple Machine Learning Research
Apple Machine Learning Research
云风的 BLOG
云风的 BLOG
MongoDB | Blog
MongoDB | Blog
美团技术团队
H
Help Net Security
G
Google Developers Blog
B
Blog RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
aimingoo的专栏
aimingoo的专栏
Google DeepMind News
Google DeepMind News
J
Java Code Geeks
M
MIT News - Artificial intelligence
腾讯CDC
IT之家
IT之家
Vercel News
Vercel News
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
Last Week in AI
Last Week in AI
I
InfoQ
博客园 - 司徒正美
A
About on SuperTechFans

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: stop swallowing mkdir errors in memory ensureDir (#4...
he-yufeng · 2026-05-19 · via Recent Commits to openclaw:main
Original file line numberDiff line numberDiff line change

@@ -1645,6 +1645,7 @@ Docs: https://docs.openclaw.ai

16451645

- Dependencies: bump transitive `basic-ftp` to 5.3.1 so the runtime lockfile no longer includes the vulnerable 5.3.0 build flagged by the production dependency audit. (#78637) Thanks @sallyom.

16461646

- Hooks/cron: log returned `/hooks/agent` isolated-run errors and failed cron jobs with cron diagnostic summaries, so rejected `payload.model` values are visible instead of looking like accepted-but-missing runs. Fixes #78597. (#78655) Thanks @kevinslin.

16471647

- Managed proxy/security: classify raw socket callsites and proxy runtime mutations in boundary checks so new direct egress or unmanaged proxy-state changes cannot land without explicit review. (#77126) Thanks @jesse-merhi.

1648+

- Memory indexing: propagate memory directory creation failures immediately instead of reporting an unusable directory as ready. Thanks @he-yufeng.

16481649

- Channels/iMessage: surface the silent group-allowlist drop at default log level by emitting a one-time `warn` per account at monitor startup when `channels.imessage.groupPolicy: "allowlist"` is set without a `channels.imessage.groups` block, plus a one-time `warn` per `chat_id` when the runtime gate drops a specific group, naming the exact `channels.imessage.groups[...]` key to add to allow it. Fixes #78749. (#79190) Thanks @omarshahine.

16491650

- WhatsApp: stop Gateway-originated outbound echoes from advancing inbound activity in `openclaw channels status`, so outbound self-sends no longer look like handled inbound messages. Fixes #79056. (#79057) Thanks @ai-hpc and @bittoby.

16501651

- Gateway/nodes: preserve the live node registry session and invoke ownership when an older same-node WebSocket closes after reconnecting. (#78351) Thanks @samzong.

Original file line numberDiff line numberDiff line change

@@ -1,11 +1,12 @@

11

import fsSync from "node:fs";

22

import os from "node:os";

33

import path from "node:path";

4-

import { afterAll, beforeAll, beforeEach, describe, expect, it } from "vitest";

4+

import { afterAll, afterEach, beforeAll, beforeEach, describe, expect, it, vi } from "vitest";

55

import {

66

buildFileEntry,

77

buildMultimodalChunkForIndexing,

88

chunkMarkdown,

9+

ensureDir,

910

isMemoryPath,

1011

listMemoryFiles,

1112

normalizeExtraMemoryPaths,

@@ -34,6 +35,10 @@ afterAll(() => {

3435

}

3536

});

3637
38+

afterEach(() => {

39+

vi.restoreAllMocks();

40+

});

41+
3742

function setupTempDirLifecycle(prefix: string): () => string {

3843

let tmpDir = "";

3944

beforeEach(() => {

@@ -77,6 +82,17 @@ const multimodal: MemoryMultimodalSettings = {

7782

describe("memory host SDK package internals", () => {

7883

const getTmpDir = setupTempDirLifecycle("memory-package-");

7984
85+

it("propagates directory creation failures", () => {

86+

const mkdirError = new Error("disk full");

87+

const targetDir = path.join(getTmpDir(), "blocked");

88+

const mkdirSync = vi.spyOn(fsSync, "mkdirSync").mockImplementation(() => {

89+

throw mkdirError;

90+

});

91+
92+

expect(() => ensureDir(targetDir)).toThrow(mkdirError);

93+

expect(mkdirSync).toHaveBeenCalledWith(targetDir, { recursive: true });

94+

});

95+
8096

it("normalizes additional memory paths", () => {

8197

const workspaceDir = path.join(os.tmpdir(), "memory-test-workspace");

8298

const absPath = path.resolve(path.sep, "shared-notes");

Original file line numberDiff line numberDiff line change

@@ -65,9 +65,7 @@ const DISABLED_MULTIMODAL_SETTINGS: MemoryMultimodalSettings = {

6565

};

6666
6767

export function ensureDir(dir: string): string {

68-

try {

69-

fsSync.mkdirSync(dir, { recursive: true });

70-

} catch {}

68+

fsSync.mkdirSync(dir, { recursive: true });

7169

return dir;

7270

}

7371