Skip to content

Fix/sentinel merged security updates#13

Merged
lgcorzo merged 7 commits into
mainfrom
fix/sentinel-merged-security-updates
Feb 6, 2026
Merged

Fix/sentinel merged security updates#13
lgcorzo merged 7 commits into
mainfrom
fix/sentinel-merged-security-updates

Conversation

@lgcorzo
Copy link
Copy Markdown
Owner

@lgcorzo lgcorzo commented Feb 6, 2026

Changes

Reasons

Testing

Impacts

Notes

google-labs-jules Bot and others added 7 commits February 6, 2026 15:46
- Introduced `PredictionService` class to encapsulate prediction logic.
- Implemented secure exception handling in `PredictionService` to log full stack traces but return generic error messages to the client/topic.
- Updated `FastAPIKafkaService` to use `PredictionService` and improved exception handling in `_process_message`.
- Added `tests/controller/test_kafka_app_security.py` to verify sanitization of error messages.
- Updated `.jules/sentinel.md` with new security learning.

Co-authored-by: lgcorzo <46710567+lgcorzo@users.noreply.github.com>
- Introduced `PredictionService` class to encapsulate prediction logic.
- Implemented secure exception handling in `PredictionService` to log full stack traces but return generic error messages to the client/topic.
- Updated `FastAPIKafkaService` to use `PredictionService` and improved exception handling in `_process_message`.
- Added `tests/controller/test_kafka_app_security.py` to verify sanitization of error messages.
- Formatted code with Ruff to comply with CI checks.
- Updated `.jules/sentinel.md` with new security learning.

Co-authored-by: lgcorzo <46710567+lgcorzo@users.noreply.github.com>
@lgcorzo lgcorzo merged commit ab9e880 into main Feb 6, 2026
4 checks passed
@lgcorzo lgcorzo deleted the fix/sentinel-merged-security-updates branch February 6, 2026 16:42
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