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

推荐订阅源

有赞技术团队
有赞技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
InfoQ
J
Java Code Geeks
Microsoft Security Blog
Microsoft Security Blog
G
Google Developers Blog
D
DataBreaches.Net
Recent Announcements
Recent Announcements
Microsoft Azure Blog
Microsoft Azure Blog
B
Blog RSS Feed
Y
Y Combinator Blog
博客园 - 【当耐特】
博客园 - 聂微东
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
P
Proofpoint News Feed
量子位
C
Check Point Blog
F
Fortinet All Blogs
罗磊的独立博客
Last Week in AI
Last Week in AI
GbyAI
GbyAI
L
LangChain Blog
博客园 - 司徒正美

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(release): stabilize plugin prerelease checks · openc...
steipete · 2026-05-24 · via Recent Commits to openclaw:main

@@ -146,6 +146,7 @@ function sendMessageOptionsAt(index: number): Record<string, unknown> {

146146

}

147147148148

async function waitForCondition(check: () => boolean, message: string, timeoutMs = 5_000) {

149+

vi.useRealTimers();

149150

const deadline = Date.now() + timeoutMs;

150151

while (Date.now() < deadline) {

151152

if (check()) {

@@ -449,25 +450,32 @@ describe("telegramPlugin gateway startup", () => {

449450

const first = startTelegramAccount("alpha");

450451

const second = startTelegramAccount("bravo");

451452

const third = startTelegramAccount("charlie");

453+

const tasks = [first.task, second.task, third.task];

454+

try {

455+

await waitForCondition(

456+

() => probeTelegram.mock.calls.length === 2,

457+

"expected two startup probes to begin",

458+

);

459+

expect(maxActiveProbes).toBe(2);

460+

expect(releaseProbe).toHaveLength(2);

452461453-

await waitForCondition(

454-

() => probeTelegram.mock.calls.length === 2,

455-

"expected two startup probes to begin",

456-

);

457-

expect(maxActiveProbes).toBe(2);

458-

expect(releaseProbe).toHaveLength(2);

459-460-

releaseProbe.shift()?.();

461-

await waitForCondition(

462-

() => probeTelegram.mock.calls.length === 3,

463-

"expected queued startup probe to begin after a slot opens",

464-

);

465-

expect(maxActiveProbes).toBe(2);

462+

releaseProbe.shift()?.();

463+

await waitForCondition(

464+

() => probeTelegram.mock.calls.length === 3,

465+

"expected queued startup probe to begin after a slot opens",

466+

);

467+

expect(maxActiveProbes).toBe(2);

466468467-

for (const release of releaseProbe.splice(0)) {

468-

release();

469+

for (const release of releaseProbe.splice(0)) {

470+

release();

471+

}

472+

await Promise.all(tasks);

473+

} finally {

474+

for (const release of releaseProbe.splice(0)) {

475+

release();

476+

}

477+

await Promise.allSettled(tasks);

469478

}

470-

await Promise.all([first.task, second.task, third.task]);

471479

expect(monitorTelegramProvider).toHaveBeenCalledTimes(3);

472480

});

473481

@@ -495,17 +503,25 @@ describe("telegramPlugin gateway startup", () => {

495503

const second = startTelegramAccount("bravo");

496504

const abortQueued = new AbortController();

497505

const queued = startTelegramAccount("charlie", {}, abortQueued.signal);

506+

const tasks = [first.task, second.task, queued.task];

507+

try {

508+

await waitForCondition(

509+

() => probeTelegram.mock.calls.length === 2,

510+

"expected startup probe slots to fill",

511+

);

512+

abortQueued.abort();

498513499-

await waitForCondition(

500-

() => probeTelegram.mock.calls.length === 2,

501-

"expected startup probe slots to fill",

502-

);

503-

abortQueued.abort();

504-505-

for (const release of releaseProbe.splice(0)) {

506-

release();

514+

for (const release of releaseProbe.splice(0)) {

515+

release();

516+

}

517+

await Promise.all(tasks);

518+

} finally {

519+

abortQueued.abort();

520+

for (const release of releaseProbe.splice(0)) {

521+

release();

522+

}

523+

await Promise.allSettled(tasks);

507524

}

508-

await Promise.all([first.task, second.task, queued.task]);

509525

expect(probeTelegram).toHaveBeenCalledTimes(2);

510526

expect(monitorTelegramProvider).toHaveBeenCalledTimes(2);

511527

});