Synchronize Copilot migration regression before freeze

Co-Authored-By: Paperclip <noreply@paperclip.ing>

* codex/copilot-setup-v34:
  Verify additive Copilot defaults after current master migration
This commit is contained in:
DottaandPaperclip committed 2026-10-09 11:50:12 -05:00
commit e55816ba6f
1 file changed
+1 -1
+1 -1
View File
@@ -1035,7 +1035,7 @@ console.log(JSON.stringify({ type: "result", subtype: "success", result: "hello"
apiKey: "fixture", allAgents: true, agentIds: [],
}, "github_pat_fixture_migration");
await service.setDefault(companyId, "migration-copilot", copilot.grantId);
const migration = await readFile(new URL("../../../packages/db/src/migrations/0320_copilot_defaults.sql", import.meta.url), "utf8");
const migration = await readFile(new URL("../../../packages/db/src/migrations/0321_copilot_defaults.sql", import.meta.url), "utf8");
for (let attempt = 0; attempt < 2; attempt += 1) {
await db.transaction(async (tx) => {
for (const statement of migration.split("--> statement-breakpoint")) {