Project

General

Profile

Actions

csAdr #5 | YANK-0002 · ADR-0002

closed
DD

Keep sync state in SQLite files

csAdr #5 | YANK-0002 · ADR-0002: Keep sync state in SQLite files

Added by Diego Developer about 5 hours ago. Updated about 5 hours ago.

Status:
Superseded
Priority:
Normal
Number:
ADR-0002
Format:
MADR
Date:
10/15/2026
Decision makers:
backend team
Consulted:
-
Supersedes:
-
Content:
Locked
Status:
Superseded by ADR-0006
Informed:
-

Description

Context and Problem Statement

Yank keeps a little state between runs: the last synced revision and one cursor per remote.

Considered Options

  • One SQLite file per workspace
  • A server database

Decision Outcome

Chosen option: "One SQLite file per workspace", because no server is needed.

Consequences

  • Good, because installation needs nothing else.
  • Bad, because several hosts cannot share the state.

Hierarchy

Loading diagram...

Dependencies

Loading diagram...

Combined

Loading diagram...


Document references

No data to display


Superseded by <a class="cosmosys-adr-ref cosmosys-adr-ref-accepted" title="Store sync state in PostgreSQL" href="/issues/9">ADR-0006 Store sync state in PostgreSQL</a>. Kept as a historical record.

Linked issues

Actions

Also available in: PDF Atom