mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-14 13:56:04 +00:00
refactor(state): split migration modules (#106356)
* refactor(state): split migration modules * fix(state): relocate migration guard baselines
This commit is contained in:
committed by
GitHub
parent
3e21c2f256
commit
8aab4ff94d
@@ -60,7 +60,7 @@ const rawSqliteAllowPathGroups = {
|
||||
"src/commands/doctor-session-sqlite-readers.ts",
|
||||
"src/commands/doctor-session-sqlite-recover-report.ts",
|
||||
"src/commands/doctor-state-sqlite-compact.ts",
|
||||
"src/infra/state-migrations.ts",
|
||||
"src/infra/state-migrations.storage.ts",
|
||||
"src/infra/state-migrations.debug-proxy.ts",
|
||||
],
|
||||
"shared database stores with direct DatabaseSync access": ["src/proxy-capture/store.sqlite.ts"],
|
||||
|
||||
@@ -2650,6 +2650,7 @@ export const KNIP_UNUSED_EXPORT_BASELINE = [
|
||||
"src/infra/stale-lock-file.ts: LockFileOwnerPayload",
|
||||
"src/infra/state-migrations.debug-proxy.ts: LegacyDebugProxyCaptureDetection",
|
||||
"src/infra/state-migrations.fs.ts: isLegacyWhatsAppAuthFile",
|
||||
"src/infra/state-migrations.session-store.ts: sessionStoreTextMayNeedCanonicalization",
|
||||
"src/infra/state-migrations.ts: sessionStoreTextMayNeedCanonicalization",
|
||||
"src/infra/supervisor-markers.ts: DetectRespawnSupervisorOptions",
|
||||
"src/infra/system-run-approval-binding.ts: matchSystemRunApprovalEnvHash",
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
"src/commands/doctor-state-integrity.ts": 2,
|
||||
"src/commands/doctor/shared/codex-route-warnings.ts": 2,
|
||||
"src/gateway/test-helpers.mocks.ts": 1,
|
||||
"src/infra/state-migrations.ts": 2,
|
||||
"src/infra/state-migrations.session-store.ts": 2,
|
||||
"src/plugins/registry-runtime.ts": 1
|
||||
},
|
||||
"sessionCompactManualTrim": {},
|
||||
|
||||
Reference in New Issue
Block a user