Skip to content

Refunds workflow, RPC retry/timeout/health check - #457

Merged
EmmanuelOchaje merged 2 commits into
StellarTickets:mainfrom
gboigwe:fix/141-143-145-147-batch
Oct 17, 2026
Merged

EmmanuelOchaje merged 2 commits into
StellarTickets:mainfrom
gboigwe:fix/141-143-145-147-batch

Conversation

@gboigwe

@gboigwe gboigwe commented Oct 17, 2026

Copy link
Copy Markdown
Contributor

Closes #141
Closes #143
Closes #145
Closes #147

- Refund model + migration, RefundsModule (create/complete), admin-only
  (PLATFORM_ADMIN), refund only for REVOKED tickets (StellarTickets#141)
- StellarService.rpcCall retries network/5xx failures with capped
  exponential backoff + jitter before the circuit breaker sees them;
  4xx failures are not retried (StellarTickets#143)
- SOROBAN_RPC_TIMEOUT_MS env var, validated and applied to the RPC
  client, default 10s (StellarTickets#145)
- GET /health/rpc pings the RPC directly (no retry/circuit breaker) and
  returns latency; 503 when unreachable (StellarTickets#147)

Closes StellarTickets#141
Closes StellarTickets#143
Closes StellarTickets#145
Closes StellarTickets#147
@gboigwe
gboigwe requested a review from presidojay1 as a code owner October 17, 2026 16:04
@drips-wave

drips-wave Bot commented Oct 17, 2026

Copy link
Copy Markdown

@gboigwe Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@netlify

netlify Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for stellarticketsbackend ready!

Name Link
🔨 Latest commit f42e671
🔍 Latest deploy log https://app.netlify.com/projects/stellarticketsbackend/deploys/6ad3b09a2f5e5cb9bea45bcf
😎 Deploy Preview https://deploy-preview-457--stellarticketsbackend.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@EmmanuelOchaje
EmmanuelOchaje merged commit a4abdbb into StellarTickets:main Oct 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants