SurfSense/surfsense_backend/tests/unit
DESKTOP-RTLN3BA\$punk dbcea0d50b feat: enhance HTTP exception handling with 5xx sanitization policy
- Updated the HTTP exception handler to sanitize 500 responses, replacing them with a generic message to prevent sensitive information leakage.
- Preserved detailed messages for other 5xx statuses (e.g., 503, 502) to provide user-friendly feedback while logging the errors server-side.
- Added unit tests to ensure that specific 5xx responses retain their detail for frontend rendering.
2026-04-21 01:19:41 -07:00
..
adapters test: bootstrap pytest environment for backend 2026-02-24 18:19:56 +02:00
agents/new_chat/tools chore: ran linting 2026-04-10 14:20:11 +05:30
connector_indexers Fix test mocks for vision_llm kwarg 2026-04-10 18:20:49 +02:00
connectors chore: ran linting 2026-04-07 05:55:39 +05:30
etl_pipeline fix: update LlamaCloud test assertions to reflect new parse modes 2026-04-16 01:32:42 -07:00
google_unification chore: ran linting 2026-03-22 00:43:53 +05:30
indexing_pipeline feat: made agent file sytem optimized 2026-03-28 16:39:46 -07:00
middleware feat: added ai file sorting 2026-04-14 01:43:30 -07:00
services feat: added ai file sorting 2026-04-14 01:43:30 -07:00
utils Route uploaded images to vision LLM with document-parser fallback 2026-04-09 14:33:33 +02:00
__init__.py test: bootstrap pytest environment for backend 2026-02-24 18:19:56 +02:00
test_error_contract.py feat: enhance HTTP exception handling with 5xx sanitization policy 2026-04-21 01:19:41 -07:00