fix(settings): fail closed on blank loan input
This commit is contained in:
@@ -17,4 +17,5 @@ completed_notes:
|
||||
- Alert evaluation now compares thresholds through normalized Decimal-backed boundary values instead of ad-hoc `float(...)` extraction.
|
||||
- Settings save-status formatting now snapshots numeric boundary values through a named adapter before rendering.
|
||||
- Added focused regression tests for numeric-string coercion and bool fail-closed behavior in `tests/test_alerts.py` and `tests/test_settings.py`.
|
||||
- Hardened `/{workspace_id}/settings` so blank loan input no longer silently saves as a zero-loan portfolio; the loan field now preserves blank state until validation and has a focused Playwright regression in `tests/test_settings_validation_playwright.py`.
|
||||
- Validated with focused pytest coverage, browser-visible Playwright coverage, and `make build` on local Docker.
|
||||
|
||||
Reference in New Issue
Block a user