Skip to content

OPE-147: P0: Detect server API protocol #597

Closed

Description

@ivanfenenko

Parent

OPE-146 — Server API v2 Compatibility

What to build

Foundation for dual-stack protocol support on iOS and Android:

  • ServerProtocol = v1 | v2
  • Detect like desktop: probe GET /global/health, then GET /api/health (prefer pid for v2)
  • Cache protocol on active ServerConnection / DI (not UI state)
  • ServerCapabilities derived from protocol (e.g. supportsSessionMessageDiff)
  • Dual health so Test Connection / home probe works against either server
  • Diagnostic logs include protocol=

Exit: connect/save against a v2-only server succeeds; v1 still works; UI unchanged.

Remaining:

  • ServerProtocol + detection in ConnectionProbeService (both platforms)
  • Cache on active connection / DI
  • ServerCapabilities surface
  • Dual health path for connection setup + home probe
  • Protocol in diagnostic logs

Docs: docs/features/server-api-v2/

Branch: feature/ope-147-p0-detect-server-api-protocol


Imported from Linear OPE-147. Linear status: Done. Priority: High. Created 2026-08-12. Completed 2026-08-12.
Parent: OPE-146.
Related: OPE-152, OPE-148.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    enhancement
    ios
    android
    on Oct 11, 2026
  3. added
    shared
    priority: high
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidenhancementiospriority: highshared

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions