Skip to content

Commit 519cfbc

Browse files
committed
fix(spec): the forced-replica D3 entry states its ruling in words, not a tracker number
The reason of turso-config-forced-replica-without-sync-url-refused, the text os migrate meta prints under why:, opened with a tracker number. It now says what was decided and why: a replica is defined by its remote, the ruling weighed refusing the shape against documenting a replica with no remote as a local mode, and refused it, because with no remote there is no replica mode to document. The id, surface, replacement, acceptanceCriteria and the ADR-0087 registration are unchanged. registry.ts regenerated by gen:migration-registry. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01N8TPEsoJxPsdSdNKGnNGEN
1 parent 04be827 commit 519cfbc

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

‎packages/spec/src/migrations/entries/semantic/18.turso-config-forced-replica-without-sync-url-refused.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ export const entry: SemanticMigration = {
2424
+ 'file:./data/replica.db with syncUrl naming the remote. A plain local database drops mode: a '
2525
+ 'file: url with no syncUrl and no mode is a local database',
2626
reason:
27-
'#20437. An embedded replica is a local file kept in sync with the remote named in syncUrl. A '
27+
'An embedded replica is a local file kept in sync with the remote named in syncUrl, so a replica '
28+
+ 'is defined by its remote. The ruling of 2026-09-28 weighed refusing this shape against '
29+
+ 'documenting a replica with no remote as a local mode, and refused it: with no remote there is '
30+
+ 'no replica mode to document, only a declaration nothing honours. A '
2831
+ 'forced mode replica with no syncUrl parsed clean at authoring, and the turso driver built it as '
2932
+ 'a replica that never synced: no sync client was created, no sync interval started, the sync '
3033
+ 'call did nothing and the sync-enabled check answered false, while every read and write went '

‎packages/spec/src/migrations/registry.ts‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16350,7 +16350,10 @@ const step18: MigrationStep = {
1635016350
+ 'file:./data/replica.db with syncUrl naming the remote. A plain local database drops mode: a '
1635116351
+ 'file: url with no syncUrl and no mode is a local database',
1635216352
reason:
16353-
'#20437. An embedded replica is a local file kept in sync with the remote named in syncUrl. A '
16353+
'An embedded replica is a local file kept in sync with the remote named in syncUrl, so a replica '
16354+
+ 'is defined by its remote. The ruling of 2026-09-28 weighed refusing this shape against '
16355+
+ 'documenting a replica with no remote as a local mode, and refused it: with no remote there is '
16356+
+ 'no replica mode to document, only a declaration nothing honours. A '
1635416357
+ 'forced mode replica with no syncUrl parsed clean at authoring, and the turso driver built it as '
1635516358
+ 'a replica that never synced: no sync client was created, no sync interval started, the sync '
1635616359
+ 'call did nothing and the sync-enabled check answered false, while every read and write went '

0 commit comments

Comments
 (0)