Skip to content

Close DEPLOY_API.md blue/green vs rolling open items #791

Description

@Mimah97

Context / Why

Close DEPLOY_API.md blue/green vs rolling open items. Doc ends with unchecked items to confirm deployment strategy and migration tooling with no recorded decision. Without this, Swyft cannot ship a production concentrated-liquidity DEX on Stellar (quotes, indexer, LP, or wallet flows will lie to users).

Current state

Relevant code/docs: docs/DEPLOY_API.md. Monorepo: NestJS apps/api (REST + WS, Prisma, BullMQ), Next.js apps/web, Soroban crates under packages/contract (and packages/contracts), packages/sdk (@swyft/sdk). Docs: README, docs/ARCHITECTURE.md, docs/ROADMAP.md, docs/RATE_LIMITING.md. The gap above is still open in the current tree.

Proposed work

  1. Inspect docs/DEPLOY_API.md and confirm the failure mode with a failing test first.
  2. Implement the production path (no silent mock success, no fail-open rate limits in production).
  3. Add unit and at least one integration/e2e test under the matching package.
  4. Update README, ARCHITECTURE, .env.example, or OpenAPI if operators or integrators are affected.
  5. Never log JWT secrets, Freighter signatures, or wallet seeds.

Acceptance criteria

  • Behavior is covered by automated tests that fail if the gap returns.
  • Production/dev split is explicit (fail-fast vs local stubs).
  • Docs (README, env, ARCHITECTURE) match the new behavior.
  • CI-relevant tests are runnable via existing pnpm/cargo scripts.
  • No new default secrets or fail-open auth/rate-limit paths.

Out of scope

Unrelated Vatix prediction-market work belongs in vatix-backend/vatix-contract.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions