refactor(core): simplify integration credentials (#31968)

This commit is contained in:
Dax
2026-06-12 06:15:25 +00:00
committed by GitHub
parent a9c810cbbc
commit 30aec297d8
112 changed files with 2478 additions and 47739 deletions
@@ -92,6 +92,18 @@ describe("DatabaseMigration", () => {
)
})
test("rejects a non-empty database without a session table", async () => {
await expect(
run(
Effect.gen(function* () {
const db = yield* makeDb
yield* db.run(sql`CREATE TABLE unrelated (id text PRIMARY KEY)`)
yield* DatabaseMigration.apply(db)
}),
),
).rejects.toThrow("Database is not empty and has no session table")
})
test("backfills existing Context Epoch rows to the build agent", async () => {
await run(
Effect.gen(function* () {