[ZEPPELIN-6356] Fix ZeppelinClientIntegrationTest #5097
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.33) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 147 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.299
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5097"
general
weight: 0.35
Reamer
What is this PR for?
After #5090, we started hiding unhandled error details from clients, which caused some tests that depended on those details to fail. The afffected cases are note imports/creations that should fail when the target note path already exists.
This PR introduces a
ConflictExceptionand updatesNotebookRestApito return HTTP 409 (Conflict) whenNotebookServicethrows or returnsNotePathAlreadyExistsException.I chose to do this exception-to-HTTP mapping in
NotebookRestApibecauseNotebookServiceis also used outside REST contexts, and assigning HTTP status codes belongs in the REST layer.What type of PR is it?
Bug Fix
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-6356
How should this be tested?
zeppelin-integration-testand other tests passScreenshots (if appropriate)
<img width="1609" height="100" alt="image" src="https://github.com/user-attachments/assets/a445f36c-0267-42df-a75e-9f9f05f94964" />
Questions:
Does the license files need to update? No
Is there breaking changes for older versions? No