Repository navigation
SubPath Application & Infrastructure v0.2.0
Comprehensive resilience, daemon fault-tolerance, and security release following engineering recovery:
Indexer Resiliency
- Fixed cursor advancement defect: RPC failures preserve durable cursor in PostgreSQL, halting unsafe advancement.
- Bounded batch querying (MAX_LEDGER_BATCH = 100) with continuation cursor pagination and retention gap detection.
- Atomic Prisma transactions pairing domain updates with event tracking.
- Dead-letter handling for malformed ScVals.
Executor Idempotency & Reconciliation
- Eliminated double-billing hazard via pre-flight authoritative chain verification (getSubscription).
- Immediate PENDING attempt persistence before confirmation polling.
- Safe lock retention on RPC timeout.
- Background & startup transaction reconciliation against Stellar RPC.
- Exponential backoff dunning retry for failed recurring charges.
Security & Features
- Upgraded Next.js to 16.4.5, eliminating security vulnerabilities.
- Added merchant webhook notification dispatcher with HMAC-SHA256 signatures and retry backoff.
- Added mobile responsive subscription drawer and dashboard layout.
- Monorepo test suite expanded from 24 to 45 automated tests (100% passing).