feat(backend): harden config, backups, quality, and database TLS - #171
Merged
heymariam merged 3 commits intoOct 1, 2026
Merged
Conversation
|
@mandyslovestories-sudo 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! 🚀 |
Contributor
|
@mandyslovestories-sudo well done and thanks for contributing, resolve the conflicts so we can check and merge |
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 resolves the four assigned Stellar Wave backend issues:
Implementation details
Database TLS (#152)
DB_SSL_MODE, certificate/key/CA configuration, and server-name support.verify-caandverify-fullrequire certificate validation in staging and production.Backup verification (#153)
BackupVerificationServiceselects the newest backup, runs restore and critical-data callbacks, measures restore time, and records JSONL history.pnpm verify-backupand.github/workflows/backup-verification.ymlprovide scheduled/manual verification. The workflow fails on verification errors so repository alerts can notify operators.Configuration management (#154)
src/config/env.tsimplementation with a compatibility shim over the validated loader.Quality dashboard (#155)
pnpm quality:reportcreatescurrent.json,dashboard.md,index.html, and historical JSON output.pnpm quality:checkruns tests with V8 coverage and enforces coverage/duplication/complexity thresholds.Validation
node_modules/.bin/tsx; the failure isENOENTbefore application startup, not a test assertion or implementation failure.git diff --checkcompleted successfully.No production data, backup contents, secrets, or credentials are included in this PR. Maintainers should configure the backup directories/key and database CA through deployment secrets before enabling the scheduled workflow.