Skip to content

Harden OData error handling - #48

Merged
wilsonfreitas merged 1 commit into
project-health-hardeningfrom
hardening/33-harden-odata-error-handling
Jun 14, 2026
Merged

Harden OData error handling#48
wilsonfreitas merged 1 commit into
project-health-hardeningfrom
hardening/33-harden-odata-error-handling

Conversation

@wilsonfreitas

Copy link
Copy Markdown
Owner

Closes #33

Summary

  • Convert malformed OData service-root JSON, metadata XML/structure problems, and query JSON failures into contextual ODataErrors.
  • Validate required OData service/query fields before downstream code indexes into responses.
  • Add sync and async regression coverage for malformed OData payloads and missing fields.

Verification

  • uv run pytest tests/test_odata.py tests/test_async.py -m "not integration" (38 passed)
  • uv run pytest -m "not integration" (130 passed, 11 deselected)
  • uv run ruff check bcb/ tests/
  • uv run ruff format --check bcb/ tests/
  • uv run mypy bcb/
  • uv run --group docs sphinx-build -b html docs docs/_build/html

@wilsonfreitas
wilsonfreitas merged commit 59e5501 into project-health-hardening Jun 14, 2026
9 checks passed
@wilsonfreitas
wilsonfreitas deleted the hardening/33-harden-odata-error-handling branch June 14, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant