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

推荐订阅源

F
Full Disclosure
Recorded Future
Recorded Future
T
Tenable Blog
S
Securelist
C
CERT Recently Published Vulnerability Notes
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Hacker News
The Hacker News
C
CXSECURITY Database RSS Feed - CXSecurity.com
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The Register - Security
The Register - Security
Cisco Talos Blog
Cisco Talos Blog
AWS News Blog
AWS News Blog
K
Kaspersky official blog
T
True Tiger Recordings
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
P
Palo Alto Networks Blog
T
The Exploit Database - CXSecurity.com
小众软件
小众软件
B
Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Microsoft Azure Blog
Microsoft Azure Blog
Cyberwarzone
Cyberwarzone
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Spread Privacy
Spread Privacy
Malwarebytes
Malwarebytes
P
Proofpoint News Feed
F
Fox-IT International blog
F
Fortinet All Blogs
P
Privacy & Cybersecurity Law Blog
G
GRAHAM CLULEY
量子位
Latest news
Latest news
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
博客园 - 叶小钗
Project Zero
Project Zero
T
Tailwind CSS Blog
N
Netflix TechBlog - Medium
Martin Fowler
Martin Fowler
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
I
Intezer
博客园_首页
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
Darknet – Hacking Tools, Hacker News & Cyber Security

Recent Commits to openclaw:main

fix(filefetch): wrap fetched text as external content (#87062) · openclaw/openclaw@42b8898 fix(ci): satisfy script oxlint sort rule · openclaw/openclaw@ffe1213 ci: tolerate gateway status help probe hangs fix(gateway): bound e2e HTTP helper responses · openclaw/openclaw@6509da7 fix(agents): honor per-agent thinking defaults for ingress runs (#86689) · openclaw/openclaw@bba4298 perf: trim gateway runtime hotspots · openclaw/openclaw@2035f38 test(cli): allow mac startup memory overhead · openclaw/openclaw@978cb6a fix(sessions): avoid parsing object cache writes · openclaw/openclaw@f6599ed fix(crabbox): show broker url in auth guard fix(crabbox): require broker auth for aws proof · openclaw/openclaw@7c432d2 fix(docker): bound kitchen sink plugin commands · openclaw/openclaw@d353dc1 fix(cli): bound startup memory probes · openclaw/openclaw@2b5fba1 test: skip claude resume live proof without cli · openclaw/openclaw@049d6c9 fix(agents): force SIGKILL for stuck MCP stdio children (#86739) · openclaw/openclaw@71d24f9 fix(codex): avoid false queued terminal idle timeout (#87096) · openclaw/openclaw@1dbd9a3 fix(gateway): fail hot cpu scenario checks · openclaw/openclaw@bfddd45 fix(cron): preview no-deliver message targets · openclaw/openclaw@c9ca7fc perf: reduce gateway cpu churn · openclaw/openclaw@a43da0c fix(gateway): harden runtime smoke checks fix(docker): bound plugin sweep reads · openclaw/openclaw@86ff2cf test: make docker package timeout proof robust · openclaw/openclaw@94cd364 fix(anthropic): pass system prompt on resumed claude-cli sessions · openclaw/openclaw@84e6282 fix(skills): sync plugin skills to sandbox workspaces · openclaw/openclaw@d8f6d65 docs: show PR LOC in maintainer reviews · openclaw/openclaw@8b8e088 fix(codex): raise dynamic tool timeout · openclaw/openclaw@0f18d52 fix(cli): handle Bun launcher module misses · openclaw/openclaw@a1934e9 fix(docker): bound plugin sweep commands · openclaw/openclaw@e46b92c docs: improve PR blame provenance · openclaw/openclaw@ebfcddb fix: scrub serialized tool-call text from replies (#86924) · openclaw/openclaw@ee655f4 test: fix CI type checks · openclaw/openclaw@eac918d fix(e2e): resolve mac update smoke commands from PATH · openclaw/openclaw@b654117 test(docs): avoid URL default stringification · openclaw/openclaw@61fa2b2 test: speed up plugin runtime tests · openclaw/openclaw@9f7584c fix(docs): use Cloudflare docs search API · openclaw/openclaw@69d84d7 test: speed up run-node infra tests · openclaw/openclaw@7e913c0 fix(docker): bound e2e image builds · openclaw/openclaw@6ef0cbb fix(agents): unwrap standalone message tool JSON (#86626) · openclaw/openclaw@030861e fix(slack): fast-path wildcard open DM policy · openclaw/openclaw@9cd1d27 ci: retry corepack pnpm activation · openclaw/openclaw@d122839 test: bound gateway live model discovery · openclaw/openclaw@dc1e6fb test: speed up plugin install suites · openclaw/openclaw@75fc0bc fix(irc): use channel routes for group inbound targets · openclaw/openclaw@bf8be79 Preserve xAI usage limit errors in local TUI (#86614) · openclaw/openclaw@532494b fix: filter claude autoreview streaming · openclaw/openclaw@fa384d4 fix(cli-runner): scale Claude CLI reseed history automatically · openclaw/openclaw@474b1e0 test: speed up infra test hotspots · openclaw/openclaw@8592352 fix(e2e): keep mac smoke commands bounded without timeout · openclaw/openclaw@3e70144 fix(live): classify Z.ai plan denials as billing drift · openclaw/openclaw@693f06d fix(config): render transform-backed config schema inputs (#67328) · openclaw/openclaw@678a0ee perf: speed up test hotspots · openclaw/openclaw@980d73d feat: stream autoreview progress · openclaw/openclaw@322ceb3 test: improve full-suite failure summaries · openclaw/openclaw@8f1fb67 fix(e2e): require bounded helper timeouts · openclaw/openclaw@0028c2f fix(ui): eliminate double scrollbar on Logs view · openclaw/openclaw@068d88c test: speed up hot test fixtures · openclaw/openclaw@0f608bc fix(auto-reply): suppress repeated silent tokens (#86848) · openclaw/openclaw@8ec2b2d fix(commands): preserve async skill commands · openclaw/openclaw@1313e15 fix(docker): bound telegram npm installs · openclaw/openclaw@130464e fix(mac): use corepack pnpm for app packaging · openclaw/openclaw@728b61a fix: mark ios watch app as watchkit app · openclaw/openclaw@1600bcd docs: explain bundled plugin npm override · openclaw/openclaw@40fa750 fix: keep bundled OpenClaw plugins image-owned · openclaw/openclaw@771675e test: fix bundled install mock typing · openclaw/openclaw@669bfdd fix: preserve whatsapp inbound batch order · openclaw/openclaw@84a33c7 perf: cache npm globalconfig lookups · openclaw/openclaw@3f524a6 fix(daemon): ignore recursive Windows gateway wrapper · openclaw/openclaw@126a336 fix(docker): bound live setup commands · openclaw/openclaw@eb15c44 fix: restore ios build stability · openclaw/openclaw@1daef79 feat(plugin-sdk): add reaction approval helpers (#86735) · openclaw/openclaw@7d6b7f4 test(auto-reply): type manifest catalog harness mock · openclaw/openclaw@4f83cd6 fix(docker): bound live docker runs · openclaw/openclaw@96307ca test(auto-reply): mock manifest model catalog in trigger harness · openclaw/openclaw@989d449 fix(crabbox): scope env-wrapped macOS bootstrap · openclaw/openclaw@2f7bfdb fix(gateway): reject RPCs from invalidated device-token clients durin… · openclaw/openclaw@1e1cf14 fix(channel): handle plugin channel markdown fallback · openclaw/openclaw@6158742 fix(docker): require bounded e2e docker commands · openclaw/openclaw@3736d7b fix(codex): share native hook relay registry (#73950) · openclaw/openclaw@6729dea fix(release): stabilize plugin prerelease tests · openclaw/openclaw@5a684c4 fix(diagnostics): flush OTel trace batches · openclaw/openclaw@c4b9f54 fix(memory): reject invalid CLI numeric options · openclaw/openclaw@d569e41 fix(codex): bound app-server timeout fallout · openclaw/openclaw@5a7d5c6 fix(agents): keep model browse normalization bounded · openclaw/openclaw@9fc71e9 fix: stabilize media-related tests · openclaw/openclaw@a818556 fix(ci): preserve docker pull retry failures · openclaw/openclaw@be2213e fix(build): stabilize shrinkwrap generation · openclaw/openclaw@538b537 fix(ui): ignore stale running session rows · openclaw/openclaw@1705189 ci: support windows node download fallback · openclaw/openclaw@bb48fcf test(agents): pin native anthropic replay policy · openclaw/openclaw@acd3ce0 fix(status): surface systemd gateway hygiene (#86976) · openclaw/openclaw@0a085bf fix(ui): show failed tool results as errors (#85786) ci: allow Windows Node 22 patch range · openclaw/openclaw@ce4db4f ci: enforce Node 22 floor in setup helper · openclaw/openclaw@1d972af Fix status JSON plugin scan (#87001) · openclaw/openclaw@f3e6158 fix(telegram): preserve command slots for aliases (#85270) · openclaw/openclaw@77505da fix(agents): handle deferred maintenance drain · openclaw/openclaw@94fb547 test: keep legacy tool-result error proof ci: fix post-merge Rastermill checks · openclaw/openclaw@b546998 fix(agents): mark repaired legacy tool results errored · openclaw/openclaw@8523d32 docs(changelog): note rastermill exif fix docs(changelog): regroup 2026.5.26 release notes · openclaw/openclaw@a6973ab
fix(memory-core): close providers created during shutdown · openclaw/openclaw@e982302
spacegeologi · 2026-05-27 · via Recent Commits to openclaw:main

@@ -32,6 +32,7 @@ let embedBatchInputCalls = 0;

3232

let providerCloseCalls = 0;

3333

let providerCloseFailuresRemaining = 0;

3434

let providerCloseGate: Promise<void> | null = null;

35+

let providerInitGate: Promise<void> | null = null;

3536

let providerCalls: Array<{ provider?: string; model?: string; outputDimensionality?: number }> = [];

3637

let forceNoProvider = false;

3738

@@ -67,6 +68,7 @@ vi.mock("./embeddings.js", () => {

6768

model: options.model,

6869

outputDimensionality: options.outputDimensionality,

6970

});

71+

await providerInitGate;

7072

if (forceNoProvider) {

7173

return {

7274

provider: null,

@@ -218,6 +220,7 @@ describe("memory index", () => {

218220

providerCloseCalls = 0;

219221

providerCloseFailuresRemaining = 0;

220222

providerCloseGate = null;

223+

providerInitGate = null;

221224

providerCalls = [];

222225

forceNoProvider = false;

223226

@@ -402,7 +405,7 @@ describe("memory index", () => {

402405

expect(providerCloseCalls).toBe(1);

403406

});

404407405-

it("closes embedding providers before waiting for pending sync to settle", async () => {

408+

it("waits for pending sync before closing embedding providers", async () => {

406409

const cfg = createCfg({

407410

storePath: indexMainPath,

408411

hybrid: { enabled: true, vectorWeight: 0.5, textWeight: 0.5 },

@@ -415,18 +418,77 @@ describe("memory index", () => {

415418

});

416419417420

const closePromise = manager.close();

418-

await vi.waitFor(() => {

419-

expect(providerCloseCalls).toBe(1);

421+

try {

422+

await Promise.resolve();

423+

expect(providerCloseCalls).toBe(0);

424+425+

let closeSettled = false;

426+

void closePromise.then(() => {

427+

closeSettled = true;

428+

});

429+

await Promise.resolve();

430+431+

expect(closeSettled).toBe(false);

432+

} finally {

433+

resolveSync();

434+

}

435+

await closePromise;

436+

expect(providerCloseCalls).toBe(1);

437+

});

438+439+

it("waits for sync that attaches after provider initialization before closing providers", async () => {

440+

let releaseProviderInit: () => void = () => {};

441+

providerInitGate = new Promise<void>((resolve) => {

442+

releaseProviderInit = resolve;

420443

});

421-

let closeSettled = false;

422-

void closePromise.then(() => {

423-

closeSettled = true;

444+

const cfg = createCfg({

445+

storePath: indexMainPath,

446+

hybrid: { enabled: true, vectorWeight: 0.5, textWeight: 0.5 },

447+

});

448+

const manager = await getFreshManager(cfg);

449+

let releaseSync: () => void = () => {};

450+

const syncStarted = new Promise<void>((resolve) => {

451+

const originalRunSyncWithReadonlyRecovery = (

452+

manager as unknown as {

453+

runSyncWithReadonlyRecovery: (params?: {

454+

reason?: string;

455+

force?: boolean;

456+

sessionFiles?: string[];

457+

progress?: (update: unknown) => void;

458+

}) => Promise<void>;

459+

}

460+

).runSyncWithReadonlyRecovery.bind(manager);

461+

(

462+

manager as unknown as {

463+

runSyncWithReadonlyRecovery: typeof originalRunSyncWithReadonlyRecovery;

464+

}

465+

).runSyncWithReadonlyRecovery = async (params) => {

466+

resolve();

467+

await new Promise<void>((syncResolve) => {

468+

releaseSync = syncResolve;

469+

});

470+

await originalRunSyncWithReadonlyRecovery(params);

471+

};

424472

});

425-

await Promise.resolve();

426473427-

expect(closeSettled).toBe(false);

428-

resolveSync();

474+

const syncPromise = manager.sync({ reason: "test" });

475+

await vi.waitFor(() => {

476+

expect(providerCalls).toHaveLength(1);

477+

});

478+479+

const closePromise = manager.close();

480+

try {

481+

releaseProviderInit();

482+

await syncStarted;

483+

await Promise.resolve();

484+485+

expect(providerCloseCalls).toBe(0);

486+

} finally {

487+

releaseSync();

488+

}

489+

await syncPromise;

429490

await closePromise;

491+

expect(providerCloseCalls).toBe(1);

430492

});

431493432494

it("evicts scoped memory index managers before close settles", async () => {