Add backend lifecycle regression tests and fix lifespan cleanup
This commit is contained in:
@@ -39,7 +39,7 @@ Reference: `Docs/Refactoring.md` for full analysis of each issue.
|
||||
|
||||
### Reliability and Resilience
|
||||
|
||||
- **Add backend lifecycle tests for resource cleanup.**
|
||||
- **Add backend lifecycle tests for resource cleanup.** ✅
|
||||
- Verify startup opens and initialises DB, HTTP session, scheduler, and geo cache correctly.
|
||||
- Verify shutdown closes those resources cleanly.
|
||||
|
||||
@@ -77,4 +77,4 @@ Reference: `Docs/Refactoring.md` for full analysis of each issue.
|
||||
3. ✅ Harden fail2ban client concurrency and packaging.
|
||||
4. ✅ Convert setup guard to a safer startup-driven model.
|
||||
5. ✅ Add deployment-safe configuration and production-ready CORS.
|
||||
6. Add lifecycle and concurrency regression tests.
|
||||
6. ✅ Add lifecycle and concurrency regression tests.
|
||||
|
||||
Reference in New Issue
Block a user