Skip to content

feat(api): moneypath resilience + webhook security hardening - #1368

Merged
0xDeon merged 2 commits into
Suncrest-Labs:devfrom
Johnalex-hub:feat/1311-1314-webhook-breaker-outbox
Sep 28, 2026
Merged

0xDeon merged 2 commits into
Suncrest-Labs:devfrom
Johnalex-hub:feat/1311-1314-webhook-breaker-outbox

Conversation

@Johnalex-hub

@Johnalex-hub Johnalex-hub commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Covers 4 issues. Work in progress — marking ready for review once all 4 are implemented.

Test plan

Closes #1311
Closes #1314
Closes #1312
Closes #1313

Johnalex-hub and others added 2 commits September 28, 2026 03:24
Soroban RPC and Horizon breakers shared one global trip policy with
no way to diverge. Add CIRCUIT_BREAKER_SOROBAN_RPC_*/
CIRCUIT_BREAKER_HORIZON_* env overrides on top of the existing shared
CIRCUIT_BREAKER_* policy, so an operator can tune one upstream's
failure ratio, min requests, window, or open duration independently.
Unset overrides fall back to the shared policy, so existing
deployments are unaffected.

Closes Suncrest-Labs#1314

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Instrument the outbox relay with time-to-first-attempt and
time-to-delivery observations, keyed by event type. First-attempt is
recorded once per event on its real first hand-off to the job queue
(a released/retried hand-off does not re-record it); delivery is
recorded when the relay reconciles the event to its terminal
dispatched state. Both are exposed via StdMetrics.Snapshot as
count/mean/max per event type, so a growing backlog or delivery delay
is observable ahead of an incident.

Closes Suncrest-Labs#1311

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@drips-wave

drips-wave Bot commented Sep 28, 2026

Copy link
Copy Markdown

@Johnalex-hub 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 Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nesterhq canceled.

Name Link
🔨 Latest commit dc08d42
🔍 Latest deploy log https://app.netlify.com/projects/nesterhq/deploys/6ab9d0037fc55e0007601f0c

@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository: Suncrest-Labs/nester/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 4e846ee7-249d-40fa-b9d6-e44d6a99077b

📥 Commits

Reviewing files that changed from the base of the PR and between cdddb90 and dc08d42.

📒 Files selected for processing (4)
  • apps/api/cmd/api/main.go
  • apps/api/internal/config/config.go
  • apps/api/internal/domain/outbox/metrics.go
  • apps/api/internal/domain/outbox/relay.go
 _____________________________
< I wish to make a complaint. >
 -----------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@netlify

netlify Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for nesterdapp ready!

Name Link
🔨 Latest commit dc08d42
🔍 Latest deploy log https://app.netlify.com/projects/nesterdapp/deploys/6ab9d003e882570008958bcf
😎 Deploy Preview https://deploy-preview-1368--nesterdapp.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@Johnalex-hub
Johnalex-hub marked this pull request as ready for review September 28, 2026 02:26
@0xDeon
0xDeon merged commit bc7f8ab into Suncrest-Labs:dev Sep 28, 2026
21 of 28 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