Skip to content

Commit 6fa53ac

Browse files
committed
wip(driver-turso): the remote-face table answers setTenantKeyCertifiedResolver
Claude-Session: https://claude.ai/code/session_01NnXVu3vF2TKFLMi5Me4CUd Co-authored-by: Claude <noreply@anthropic.com>
1 parent 1d01986 commit 6fa53ac

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎packages/drivers/driver-turso/src/turso-driver.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,6 +1092,11 @@ export const REMOTE_FACE_ANSWERS = {
10921092
// `false`, the method's own "not taken" answer: only the Knex `initObjects`
10931093
// asks the resolver, so on this face it would never be asked.
10941094
setFileColumnsMovedResolver: 'remote',
1095+
// [ADR-0131 D1] In-memory bookkeeping with no Knex: the resolver is asked by
1096+
// the shared index differ, which the remote drift detector runs, so the
1097+
// remote face reads an earlier release's COALESCE tenant key part as the
1098+
// plain one on a certified database exactly as the local face does.
1099+
setTenantKeyCertifiedResolver: 'inherited',
10951100
// `false`: remote mode opens no in-memory database.
10961101
sqliteOpenedEmptyInMemory: 'inherited',
10971102
// `'sqlite'`: libSQL speaks SQLite, and `execute()` sends what a caller

0 commit comments

Comments
 (0)