You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Collapse the four-way hand-synced backend-adapter duplication #1500
The backend adapter exists in four hand-synced implementations: TauriAdapter and HttpAdapter in backend-adapter.ts, a third REST→gRPC translation in the dev-proxy, and a fourth embedded HttpAdapter in the e2e harness. Every parameter/shape change must be edited in up to four places with nothing asserting they agree — the source of the browser-vs-Tauri dev drift.
Problem Statement
Nothing guarantees the adapters and proxy stay in sync, so they drift; recent commits are drift being repaid after the fact.
Proposed Solution
Factor a transport-agnostic adapter core with DTOs sourced from nodespace-proto; TauriAdapter/HttpAdapter become thin invoke-vs-fetch shims; add a contract test asserting both adapters + the proxy deserialize into the same daemon-side request and call the same core op, so drift becomes a compile/test error. Governed by ADR-048.
Acceptance Criteria
A single transport-agnostic adapter core sourced from nodespace-proto
TauriAdapter/HttpAdapter reduced to thin transport shims
Activity
malibio commentedon Jul 6, 2026
Frontend baseline: 147 test files / 3948 tests passed (44s)