Skip to content
Source
Sign inSign up
pingdotgg/t3code

perf(server): index slow projection lookups #22354

Closedsisodias(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/22354/headopened View on GitHub

Showing 5 changed files with 151 additions and 1 deletion (loading 2).

x
0 of 5 viewed, 5 left
3 additions and 1 deletionapps/server/src/persistence/Migrations/055_OrchestrationV2.test.tsModified
View file
@@ -15,7 +15,7 @@
Effect.sync(() => {
assert.deepStrictEqual(
migrationEntries.map(([id]) => id),
- Array.from({ length: 66 }, (_, index) => index + 1),
+ Array.from({ length: 67 }, (_, index) => index + 1),
);
}),
);
@@ -40,6 +40,7 @@
[64, "CanonicalizeThreadPullRequestLinks"],
[65, "CodexUsageNativeTurnIndex"],
[66, "RepairClientSettlementTimestamps"],
+ [67, "OrchestrationSlowQueryIndexes"],
]);
assert.deepStrictEqual(yield* runMigrations(), []);
​
@@ -72,6 +73,7 @@
{ migration_id: 64, name: "CanonicalizeThreadPullRequestLinks" },
{ migration_id: 65, name: "CodexUsageNativeTurnIndex" },
{ migration_id: 66, name: "RepairClientSettlementTimestamps" },
+ { migration_id: 67, name: "OrchestrationSlowQueryIndexes" },
]);
​
const tables = yield* sql<{ readonly name: string }>`
109 additions and 0 deletionsapps/server/src/persistence/Migrations/067_OrchestrationSlowQueryIndexes.test.tsAdded
View file