fix(ci): repair zalouser CI failures

This commit is contained in:
Peter Steinberger
2026-03-08 05:09:03 +00:00
parent c6a8ab69c6
commit 06ffef8465
2 changed files with 29 additions and 4 deletions

View File

@@ -179,6 +179,29 @@
"line_number": 15
}
],
"appcast.xml": [
{
"type": "Base64 High Entropy String",
"filename": "appcast.xml",
"hashed_secret": "abb0380989460de3f211d60628b439de7ebcd482",
"is_verified": false,
"line_number": 364
},
{
"type": "Base64 High Entropy String",
"filename": "appcast.xml",
"hashed_secret": "6e1ba26139ac4e73427e68a7eec2abf96bcf1fd4",
"is_verified": false,
"line_number": 583
},
{
"type": "Base64 High Entropy String",
"filename": "appcast.xml",
"hashed_secret": "c0baa9660a8d3b11874c63a535d8369f4a8fa8fa",
"is_verified": false,
"line_number": 722
}
],
"apps/android/app/src/test/java/ai/openclaw/android/node/AppUpdateHandlerTest.kt": [
{
"type": "Hex High Entropy String",
@@ -13011,5 +13034,5 @@
}
]
},
"generated_at": "2026-03-08T03:31:44Z"
"generated_at": "2026-03-08T05:05:36Z"
}

View File

@@ -83,7 +83,9 @@ function installRuntime(params: {
};
});
const readAllowFromStore = vi.fn(async () => []);
const readSessionUpdatedAt = vi.fn(() => undefined);
const readSessionUpdatedAt = vi.fn(
(_params?: { storePath: string; sessionKey: string }): number | undefined => undefined,
);
const buildAgentSessionKey = vi.fn(
(input: {
agentId: string;
@@ -452,8 +454,8 @@ describe("zalouser monitor group mention gating", () => {
const { dispatchReplyWithBufferedBlockDispatcher, readSessionUpdatedAt } = installRuntime({
commandAuthorized: false,
});
readSessionUpdatedAt.mockImplementation(({ sessionKey }: { sessionKey: string }) =>
sessionKey === "agent:main:zalouser:group:321" ? 123 : undefined,
readSessionUpdatedAt.mockImplementation((input?: { storePath: string; sessionKey: string }) =>
input?.sessionKey === "agent:main:zalouser:group:321" ? 123 : undefined,
);
const account = createAccount();
await __testing.processMessage({