When a prediction worker is down, the API returns No prediction worker available for this prediction type. Operators have asked for a clearer message that mentions which worker is unreachable and the expected URL.
Where:
- File:
nexus/app/services/prediction_service.py (the select_model and create_pipeline flows)
Acceptance:
- Error response includes the worker name (e.g.,
xgboost) and the URL the service tried to reach
- Message remains user-safe (no stack traces, no credentials)
- Existing API contract preserved (still HTTP 400)
TESTS (2)
When a prediction worker is down, the API returns
No prediction worker available for this prediction type. Operators have asked for a clearer message that mentions which worker is unreachable and the expected URL.Where:
nexus/app/services/prediction_service.py(theselect_modelandcreate_pipelineflows)Acceptance:
xgboost) and the URL the service tried to reachTESTS (2)