[ZEPPELIN-6283] Decouple 'isRevisionSupported' state from configuration API response #5030
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.56) × (1 − Review Confidence (0.58)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.56 · 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
Sensitive Paths
sensitive_paths
0.056
Real PR Conversation Timeline
1 comments
"Review active on #5030"
general
weight: 0.35
Reamer
What is this PR for?
This PR separates the
isRevisionSupportedfield from the configuration API into a dedicated endpoint.No internal logic is changed.
isRevisionSupportedseems to be more related to Notebook logic rather than configuration. It is included in the WebSocket configuration response, making the code more complex and less extensible.For example, the REST configuration response doesn’t have
isRevisionSupported. Adding it would require injecting a Notebook instance into ConfigurationsRestApi, which doesn’t seem related to configurations. It feels like a code smell.On the client, it was previously fetched globally. Now it is fetched in the Notebook page. There seems to be no need to use it as a global state.
What type of PR is it?
Refactoring
Todos
What is the Jira issue?
How should this be tested?
Run
NotebookTest.testRevisionSupported()Verify on both New UI and Old UI
Questions:
Does the license files need to update? N
Is there breaking changes for older versions? N
Does this needs documentation? N