Repository navigation
fix(analysis): map Exaflow AnalysisExecutionError to 462 - #62
Merged
KFilippopolitis merged 2 commits intoNov 30, 2026
Merged
Conversation
Exaflow PR #687 adds AnalysisExecutionError, which the controller reports as status 462 over RabbitMQ. Without a mapping the reply fell through to 500 and the analysis message was replaced by the generic error. Map the code to 462 and keep 462 in the client-error conversion list so the message reaches the user.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Exaflow PR #687 (Fix/privacy enhancements) introduces
AnalysisExecutionError, which the controller reports as status 462 over RabbitMQ (error code"AnalysisExecutionError").platform-backend had no mapping for it:
ExaflowAmqpClient.httpCode()fell through todefault -> 500.AnalysisExecutionService.convertResponseToAnalysisResult()did not list 462, so it reachedhandleUnexpectedResponseCode()and threwInternalServerError.Net effect: a user-facing algorithm failure (for example "Logistic regression could not converge to a stable solution.") was shown as the generic "Something went wrong" message.
Changes
ExaflowAmqpClient: map"AnalysisExecutionError"to 462.AnalysisExecutionService: treat 462 as a client error so the Exaflow message is returned as{data, type: "text/plain+error"}.Compatibility
No API shape change. 462 is a new status code only; existing codes are untouched. No UI change is required: the body shape matches 460/461 and the UI already renders
text/plain+errorresults.Validation
mvn -B -ntp test-> 252 tests, 0 failures, 0 errors, 13 skipped.Risk
Low. Two-line production change plus tests. Rollback is reverting this commit; no data, schema, or deployment impact.