From 1cc3838261968d3afb14b2a8fecd09c3be1da61b Mon Sep 17 00:00:00 2001 From: Dotta Date: Thu, 30 Apr 2026 09:31:06 -0500 Subject: [PATCH] Fix PR validation follow-ups Co-Authored-By: Paperclip --- packages/db/src/backup-lib.ts | 8 ++++++-- server/src/services/recovery/service.ts | 2 +- ui/package.json | 1 - 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/packages/db/src/backup-lib.ts b/packages/db/src/backup-lib.ts index 10b0a77a195..6355251f6bb 100644 --- a/packages/db/src/backup-lib.ts +++ b/packages/db/src/backup-lib.ts @@ -19,6 +19,11 @@ export type RunDatabaseBackupOptions = { retention: BackupRetentionPolicy; filenamePrefix?: string; connectTimeoutSeconds?: number; + /** + * @deprecated Migration-journal schemas are included with the normal backup + * scope. This option is kept for compatibility and no longer changes backup + * engine selection. + */ includeMigrationJournal?: boolean; excludeTables?: string[]; nullifyColumns?: Record; @@ -235,8 +240,7 @@ function nonSystemSchemaPredicate(identifier: string): string { } function hasBackupTransforms(opts: RunDatabaseBackupOptions): boolean { - return opts.includeMigrationJournal === true || - (opts.excludeTables?.length ?? 0) > 0 || + return (opts.excludeTables?.length ?? 0) > 0 || Object.keys(opts.nullifyColumns ?? {}).length > 0; } diff --git a/server/src/services/recovery/service.ts b/server/src/services/recovery/service.ts index 9ccc66ed376..ec7213515e7 100644 --- a/server/src/services/recovery/service.ts +++ b/server/src/services/recovery/service.ts @@ -345,7 +345,7 @@ export function recoveryService(db: Db, deps: { enqueueWakeup: RecoveryWakeup }) .where( and( eq(agentWakeupRequests.companyId, companyId), - eq(agentWakeupRequests.status, "deferred_issue_execution"), + eq(agentWakeupRequests.status, "deferred_issue_execution"), sql`${agentWakeupRequests.payload} ->> 'issueId' = ${issueId}`, ), ) diff --git a/ui/package.json b/ui/package.json index 7a2b4914987..4b62dab0eb3 100644 --- a/ui/package.json +++ b/ui/package.json @@ -46,7 +46,6 @@ "@radix-ui/react-slot": "^1.2.4", "@tailwindcss/typography": "^0.5.19", "@tanstack/react-query": "^5.90.21", - "@tanstack/react-virtual": "^3.13.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", "cmdk": "^1.1.1",