You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: ensure consistency across detector APIs and reduce code duplication
- Add SYSTEM_ERROR_LABELS constant to base.py (single source of truth)
- Add SERVER_ERROR handling for HTTP 5xx responses in detections_api.py
- Add config incomplete checks before accessing rails.config in actions.py
- Add detections_api_generate_block_message action for dynamic block messages
- Fix env var names in tests (DETECTOR_API_* instead of DETECTIONS_API_*)
- Update test assertion for SERVER_ERROR label on HTTP 500
All tests passing (109 tests)
0 commit comments