flowfi
flowfi copied to clipboard
Programmable DeFi payment streaming and recurring subscriptions on Stellar/Soroban
## Overview & Background `POST /graphql` runs any posted query with `createContext(prisma)` and **no auth, depth, or complexity guard**. `streams(first: ...)` accepts an unbounded `first`; the `batchEventsByStreamIds` dataloader has no...
Scheduled Stellar Testnet E2E run failed: https://github.com/LabsCrypt/flowfi/actions/runs/39097306039 Possible causes: testnet protocol upgrade, RPC regression, ledger timing drift, fee surge, Friendbot outage, or indexer ingestion drift. See the job logs and...
## Overview & Background One settings component has **three separate, non-identical test suites** (verified different via checksums): `settings-content.test.tsx`, `__tests__/settings-content.test.tsx`, and `src/__tests__/settings-content.test.tsx`. They drift independently (different mocks, e.g. `shortenPublicKey` stubs differ)...
## Overview & Background `StreamCard.tsx` ships a full interactive component (withdraw/top-up/pause/cancel against `useOptimisticStream`) but is reachable only from tests — no page or production component renders it. Its "Top up"...
## Overview & Background Every contract call in the frontend is built through `any`-typed SDK handles: `soroban.ts:233-240` (`args: any[]`, `const sdk: any = await import("@stellar/stellar-sdk")`, `const rpc: any = ...`),...
## Overview & Background `settings-content.tsx:30` falls back to a hardcoded display fragment: `process.env.NEXT_PUBLIC_STREAMING_CONTRACT || "CDV4K...7ZQY"` — rendered at line 498 as the user's "contract address". That string is not a...
**Labels:** testing, backend, points: 150 **File/location:** backend/src/logger.ts **Description:** Authorization headers, signing keys, and nested secrets lack redaction regression tests. **Acceptance Criteria:** - [ ] Add deterministic tests for the documented...
**Labels:** testing, backend, points: 150 **File/location:** backend/src/config/swagger.ts **Description:** Documented routes and actual status/response shapes lack an automated parity check. **Acceptance Criteria:** - [ ] Add deterministic tests for the documented...
**Labels:** testing, backend, points: 150 **File/location:** backend/src/workers/soroban-event-worker.ts **Description:** Pause/resume event ordering and duration accumulation lack worker tests. **Acceptance Criteria:** - [ ] Add deterministic tests for the documented success and...
**Labels:** testing, backend, points: 150 **File/location:** backend/src/workers/soroban-event-worker.ts **Description:** Ledger rollback and cursor rewind behavior lacks focused worker coverage. **Acceptance Criteria:** - [ ] Add deterministic tests for the documented success...