Skip to content

feat: admin role guards, SSE connection cap, wallet-crypto tests - #980

Merged
xeeenab merged 2 commits into
InChordSync:mainfrom
phertyameen:feature/phertyameen-issues
Aug 30, 2026
Merged

feat: admin role guards, SSE connection cap, wallet-crypto tests#980
xeeenab merged 2 commits into
InChordSync:mainfrom
phertyameen:feature/phertyameen-issues

Conversation

@phertyameen

Copy link
Copy Markdown

Closes #846
Closes #847
Closes #848
Closes #849

- Add requireRole middleware and audit requireAuth-only routes: reconciliation
  run and metrics are now admin-gated (previously any authenticated user could
  call them).
- Restrict POST /api/reconciliation/run to admins and add a per-admin rate
  limit.
- Cap SSE tip-stream connections per instance and per user with a clear 503
  rejection when exceeded.
- Add wallet crypto decrypt-failure tests for KMS unavailability and corrupted
  ciphertext/auth tag.

Closes InChordSync#846, InChordSync#847, InChordSync#848, InChordSync#849
@drips-wave

drips-wave Bot commented Aug 30, 2026

Copy link
Copy Markdown

@phertyameen 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

@xeeenab
xeeenab merged commit 70bf15b into InChordSync:main Aug 30, 2026
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