feat: rate limits, migration CI, event E2E tests, and production deploy docs#111
Merged
robertocarlous merged 3 commits intoMay 29, 2026
Merged
Conversation
…y docs Tune per-route rate limiting with env config and trusted-service bypasses. Add migration-smoke CI job, smoke script, and production deployment guide. Add E2E tests for the Stellar event pipeline (dedup, DLQ, listener). Closes Neurowealth#98, Neurowealth#99, Neurowealth#100, Neurowealth#101
|
@Nanle-code 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! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR addresses four related backend hardening items in one release:
X-Internal-Tokenbypass; documented in the README; unit tests for stricter auth limits and allowlist behavior.migration-smokeCI job that runsprisma migrate deployagainst an isolated DB, checks migration status, and runsnpm run smoke;scripts/apply-migration.shfor safe roll-forward deploys.docs/PRODUCTION_DEPLOYMENT.mdcovering secret managers, rotation forJWT_SEED/WALLET_ENCRYPTION_KEY/STELLAR_AGENT_SECRET_KEY, CI/CD injection, deploy checklist, health/readiness, and migration rollback.Test plan
npm test(415 tests)npm run lintmigration-smokejob passes on the PRnpm run smokeagainst a migrated staging DB (optional manual check)Closes #98
Closes #99
Closes #100
Closes #101