mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 23:01:35 +00:00
* refactor: migrate runtime JSONL state to SQLite * chore: refresh SQLite migration validation * fix: preserve safe audit migration order * fix: sanitize retired audit archives safely * fix: satisfy SQLite storage architecture gates * fix: serialize plugin doctor state migrations * fix: bound memory event SQLite projections * fix: rotate memory event projections safely * fix: preserve imported event retention age * fix: harden memory event export projection * fix: canonicalize memory event migrations * fix: harden legacy journal migrations * fix: report unsafe legacy journal paths * fix: preserve journal ownership during migration * fix: keep legacy file imports doctor-only * fix: align SQLite audit CI coverage * refactor: keep state helpers module-private * fix: harden legacy state migration recovery * fix: reconcile SQLite state audit migration * test: use neutral audit redaction fixtures * fix: close SQLite migration recovery gaps * refactor: split audit migration recovery helpers * test: prove completed audit pads stay out of backups * fix: preserve audit record ordinals across blank lines * fix: align SQLite audit CI contracts * build: package SQLite audit E2E entries * fix: preserve audit ordinals in backup snapshots
36 lines
1.7 KiB
TypeScript
36 lines
1.7 KiB
TypeScript
/**
|
|
* Test SDK subpath for plugin state stores, ingress queues, and state DB helpers.
|
|
*/
|
|
export {
|
|
createPluginStateKeyedStore as createPluginStateKeyedStoreForTests,
|
|
createPluginStateSyncKeyedStore as createPluginStateSyncKeyedStoreForTests,
|
|
getPluginStateCapacity as getPluginStateCapacityForTests,
|
|
importPluginStateEntriesForDoctor as importPluginStateEntriesForDoctorForTests,
|
|
resetPluginStateStoreForTests,
|
|
} from "../plugin-state/plugin-state-store.js";
|
|
export { setMaxMemoryHostEventsForTests } from "../memory-host-sdk/event-store.js";
|
|
export {
|
|
createPluginBlobStoreForTests,
|
|
resetPluginBlobStoreForTests,
|
|
} from "../plugin-state/plugin-blob-store.js";
|
|
export { createChannelIngressQueue as createChannelIngressQueueForTests } from "../channels/message/ingress-queue.js";
|
|
export { executeSqliteQuerySync, getNodeSqliteKysely } from "../infra/kysely-sync.js";
|
|
export type { DB as OpenClawStateKyselyDatabaseForTests } from "../state/openclaw-state-db.generated.js";
|
|
export {
|
|
closeOpenClawStateDatabaseForTest,
|
|
openOpenClawStateDatabase,
|
|
} from "../state/openclaw-state-db.js";
|
|
// Test-only ingress reliability helpers: core predicates polling/webhook tests
|
|
// assert directly; excluded from the public SDK surface (private-local subpath).
|
|
export {
|
|
INGRESS_CLAIM_LEASE_MS,
|
|
isIngressClaimOwnedByOtherLiveProcess,
|
|
} from "../channels/message/ingress-claim-owner.js";
|
|
export {
|
|
resolveIngressRetryDelayMs,
|
|
shouldDeadLetterRetryableIngressEvent,
|
|
} from "../channels/message/ingress-retry-policy.js";
|
|
// Test-only pairing-store seeding so channel tests exercise the real
|
|
// store-backed authorization path instead of injecting fake readers.
|
|
export { addChannelAllowFromStoreEntry } from "../pairing/pairing-store.js";
|