Files
fidelity-ai-workspace/ai/context/workstreams/rest-migration.md

1.1 KiB

REST Migration

Goal

Deprecate GraphQL and Apollo safely while preserving behavior through REST-backed flows.


Stable Constraints

  • REST is behind a feature flag.
  • GraphQL remains the default fallback unless confirmed otherwise.
  • REST should never be assumed active by default.
  • Migration work must preserve behavior parity before removing Apollo-related code.

What Matters In Practice

  • Validation must clarify whether the tested path is actually using REST or still falling back to GraphQL.
  • Story scope should distinguish:
    • transport migration work
    • feature-flag cleanup
    • tests and mocks tied to Apollo/GraphQL
  • Communication should avoid implying the migration is complete before the fallback path is removed.

Historical Signals From Slack

  • Historical Slack evidence around release and dependency work reinforces that transport or dependency changes often require consumer validation, not just local SDK changes.
  • Some dependency and pipeline issues complicated migration-related rollout even when the technical change itself was understood.