feat(migration): add lock heartbeats, predictive dry-run planning, and stricter ledger option validation

This commit is contained in:
2026-04-14 12:31:34 +00:00
parent 19ebdee31a
commit 1b4358aca5
17 changed files with 695 additions and 180 deletions
+1 -4
View File
@@ -102,8 +102,5 @@ function extractS3Client(
bucket: plugins.smartbucket.Bucket | undefined,
): plugins.TRawS3Client | undefined {
if (!bucket) return undefined;
// `getStorageClient` is typed as the actual S3Client, but it lives behind
// an optional peer dep type so we cast through unknown to keep this file
// compiling when smartbucket isn't installed by the consumer.
return (bucket as any).getStorageClient() as plugins.TRawS3Client | undefined;
return bucket.getStorageClient();
}