mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:40:44 +00:00
test(core): refresh write lock config fixtures
This commit is contained in:
@@ -354,6 +354,7 @@ vi.mock("../session-manager-init.js", () => ({
|
||||
vi.mock("../../session-write-lock.js", () => ({
|
||||
acquireSessionWriteLock: (params: Parameters<AcquireSessionWriteLockFn>[0]) =>
|
||||
hoisted.acquireSessionWriteLockMock(params),
|
||||
resolveSessionWriteLockAcquireTimeoutMs: () => 60000,
|
||||
resolveSessionLockMaxHoldFromTimeout: () => 1,
|
||||
}));
|
||||
|
||||
|
||||
@@ -20816,6 +20816,23 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
|
||||
description:
|
||||
"Controls cross-session send permissions using allow/deny rules evaluated against channel, chatType, and key prefixes. Use this to fence where session tools can deliver messages in complex environments.",
|
||||
},
|
||||
writeLock: {
|
||||
type: "object",
|
||||
properties: {
|
||||
acquireTimeoutMs: {
|
||||
type: "integer",
|
||||
exclusiveMinimum: 0,
|
||||
maximum: 9007199254740991,
|
||||
title: "Session Write Lock Acquire Timeout",
|
||||
description:
|
||||
"Milliseconds to wait while acquiring a session transcript write lock before reporting the session as busy. Default: 60000; raise for slow disks or long prep/cleanup, lower only when quick failure is preferred.",
|
||||
},
|
||||
},
|
||||
additionalProperties: false,
|
||||
title: "Session Write Lock",
|
||||
description:
|
||||
"Groups session transcript write-lock acquisition controls. Tune only when legitimate transcript prep, cleanup, compaction, or mirror work contends longer than the default wait.",
|
||||
},
|
||||
agentToAgent: {
|
||||
type: "object",
|
||||
properties: {
|
||||
@@ -27899,6 +27916,16 @@ export const GENERATED_BASE_CONFIG_SCHEMA: BaseConfigSchemaResponse = {
|
||||
help: "Matches the raw, unnormalized session-key prefix for exact full-key policy targeting. Use this when normalized keyPrefix is too broad and you need agent-prefixed or transport-specific precision.",
|
||||
tags: ["access", "storage"],
|
||||
},
|
||||
"session.writeLock": {
|
||||
label: "Session Write Lock",
|
||||
help: "Groups session transcript write-lock acquisition controls. Tune only when legitimate transcript prep, cleanup, compaction, or mirror work contends longer than the default wait.",
|
||||
tags: ["storage"],
|
||||
},
|
||||
"session.writeLock.acquireTimeoutMs": {
|
||||
label: "Session Write Lock Acquire Timeout",
|
||||
help: "Milliseconds to wait while acquiring a session transcript write lock before reporting the session as busy. Default: 60000; raise for slow disks or long prep/cleanup, lower only when quick failure is preferred.",
|
||||
tags: ["performance", "storage"],
|
||||
},
|
||||
"session.agentToAgent": {
|
||||
label: "Session Agent-to-Agent",
|
||||
help: "Groups controls for inter-agent session exchanges, including loop prevention limits on reply chaining. Keep defaults unless you run advanced agent-to-agent automation with strict turn caps.",
|
||||
|
||||
Reference in New Issue
Block a user