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

推荐订阅源

S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
博客园 - 【当耐特】
月光博客
月光博客
Vercel News
Vercel News
D
Docker
I
InfoQ
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 叶小钗
MongoDB | Blog
MongoDB | Blog
GbyAI
GbyAI
有赞技术团队
有赞技术团队
雷峰网
雷峰网
博客园 - 聂微东
小众软件
小众软件
Y
Y Combinator Blog
腾讯CDC
L
LangChain Blog
The GitHub Blog
The GitHub Blog
宝玉的分享
宝玉的分享
Stack Overflow Blog
Stack Overflow Blog
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss

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: tolerate degraded live transport state · openclaw/o...
steipete · 2026-05-17 · via Recent Commits to openclaw:main

@@ -74,6 +74,10 @@ type MatrixQaCliVerificationStatus = {

7474

};

7575

backupVersion?: string | null;

7676

crossSigningVerified?: boolean;

77+

encryptionEnabled?: boolean;

78+

pendingVerifications?: number;

79+

recoveryKeyStored?: boolean;

80+

serverDeviceKnown?: boolean;

7781

verified?: boolean;

7882

signedByOwner?: boolean;

7983

deviceId?: string | null;

@@ -1785,6 +1789,39 @@ function assertMatrixQaCliE2eeStatus(

17851789

}

17861790

}

178717911792+

function assertMatrixQaCliAccountAddBootstrapStatus(params: {

1793+

expectedBackupVersion?: string | null;

1794+

expectedUserId: string;

1795+

status: MatrixQaCliVerificationStatus;

1796+

}) {

1797+

const { expectedBackupVersion, expectedUserId, status } = params;

1798+

if (status.encryptionEnabled !== true || status.recoveryKeyStored !== true) {

1799+

throw new Error(

1800+

"Matrix CLI account add --enable-e2ee degraded status did not keep encryption and recovery key state",

1801+

);

1802+

}

1803+

if (status.userId !== expectedUserId) {

1804+

throw new Error(

1805+

`Matrix CLI account add --enable-e2ee status user mismatch: expected ${expectedUserId}, got ${status.userId ?? "<none>"}`,

1806+

);

1807+

}

1808+

if (!status.deviceId || status.serverDeviceKnown !== true) {

1809+

throw new Error(

1810+

"Matrix CLI account add --enable-e2ee degraded status did not resolve the current server-known device",

1811+

);

1812+

}

1813+

if (expectedBackupVersion && status.backupVersion !== expectedBackupVersion) {

1814+

throw new Error(

1815+

`Matrix CLI account add --enable-e2ee backup version mismatch: expected ${expectedBackupVersion}, got ${status.backupVersion ?? "<none>"}`,

1816+

);

1817+

}

1818+

if (status.backup?.keyLoadError) {

1819+

throw new Error(

1820+

`Matrix CLI account add --enable-e2ee degraded status reported backup key error: ${status.backup.keyLoadError}`,

1821+

);

1822+

}

1823+

}

1824+17881825

async function runMatrixQaCliExpectedFailure(params: {

17891826

args: string[];

17901827

start: (args: string[], timeoutMs?: number) => MatrixQaCliSession;

@@ -1940,7 +1977,11 @@ export async function runMatrixQaE2eeCliAccountAddEnableE2eeScenario(

19401977

rootDir: cli.rootDir,

19411978

});

19421979

const status = parseMatrixQaCliJson(statusResult) as MatrixQaCliVerificationStatus;

1943-

assertMatrixQaCliE2eeStatus("Matrix CLI account add --enable-e2ee", status);

1980+

assertMatrixQaCliAccountAddBootstrapStatus({

1981+

expectedBackupVersion: added.verificationBootstrap.backupVersion,

1982+

expectedUserId: account.userId,

1983+

status,

1984+

});

19441985

const cliDeviceId = status.deviceId ?? null;

1945198619461987

return {

@@ -1953,7 +1994,7 @@ export async function runMatrixQaE2eeCliAccountAddEnableE2eeScenario(

19531994

verificationBootstrapSuccess: added.verificationBootstrap.success,

19541995

},

19551996

details: [

1956-

"Matrix CLI account add --enable-e2ee created an encrypted, verified account",

1997+

"Matrix CLI account add --enable-e2ee created an encrypted account and bootstrapped recovery state",

19571998

`account add stdout: ${addArtifacts.stdoutPath}`,

19581999

`account add stderr: ${addArtifacts.stderrPath}`,

19592000

`verify status stdout: ${statusArtifacts.stdoutPath}`,