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

推荐订阅源

C
Check Point Blog
罗磊的独立博客
量子位
Microsoft Azure Blog
Microsoft Azure Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
M
MIT News - Artificial intelligence
月光博客
月光博客
IT之家
IT之家
D
DataBreaches.Net
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Last Week in AI
Last Week in AI
D
Docker
The GitHub Blog
The GitHub Blog
B
Blog
V
Visual Studio Blog
博客园 - Franky
N
Netflix TechBlog - Medium
博客园 - 【当耐特】
Martin Fowler
Martin Fowler
博客园 - 聂微东
U
Unit 42

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: require matrix async callbacks · openclaw/openclaw@...
steipete · 2026-05-09 · via Recent Commits to openclaw:main

File tree

  • extensions/matrix/src/matrix

    • monitor

    • sdk

Original file line numberDiff line numberDiff line change

@@ -305,12 +305,15 @@ describe("promoteMatrixDirectRoomCandidate", () => {

305305
306306

it("serializes concurrent m.direct writes so distinct mappings are not lost", async () => {

307307

let directContent: Record<string, string[]> = {};

308-

let releaseFirstWrite!: () => void;

308+

let releaseFirstWrite: (() => void) | undefined;

309309

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

310310

releaseFirstWrite = () => {

311311

resolve();

312312

};

313313

});

314+

if (!releaseFirstWrite) {

315+

throw new Error("Expected first m.direct write release callback to be initialized");

316+

}

314317

let writeCount = 0;

315318

const setAccountData = vi.fn(async (_eventType: string, content: Record<string, string[]>) => {

316319

writeCount += 1;

Original file line numberDiff line numberDiff line change

@@ -90,10 +90,13 @@ beforeEach(() => {

9090

});

9191
9292

function deferred<T>() {

93-

let resolve!: (value: T | PromiseLike<T>) => void;

93+

let resolve: ((value: T | PromiseLike<T>) => void) | undefined;

9494

const promise = new Promise<T>((res) => {

9595

resolve = res;

9696

});

97+

if (!resolve) {

98+

throw new Error("Expected deferred resolver to be initialized");

99+

}

97100

return { promise, resolve };

98101

}

99102
Original file line numberDiff line numberDiff line change

@@ -548,10 +548,13 @@ describe("MatrixVerificationManager", () => {

548548

});

549549
550550

it("confirmVerificationSas awaits the verifier's verify promise before resolving", async () => {

551-

let resolveVerify!: () => void;

551+

let resolveVerify: (() => void) | undefined;

552552

const verifyPromise = new Promise<void>((res) => {

553553

resolveVerify = res;

554554

});

555+

if (!resolveVerify) {

556+

throw new Error("Expected verification resolver to be initialized");

557+

}

555558

const verifyImpl = vi.fn(() => verifyPromise);

556559

const { confirm, verifier } = createSasVerifierFixture({

557560

decimal: [111, 222, 333],