fix(maas): keep post-deploy alert state within MaaS #10179
All Vouch review confidence checks passed
Residual risk 0.27 = Change Risk (0.68) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.68 · 418 lines diff across 5 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.361
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.068
Real PR Conversation Timeline
1 comments
"Review active on #10179"
general
weight: 0.35
lucferbux
Problem
PR #9992 introduces a runtime import from MaaS into the model-serving post-deploy alert store. To resolve it when building the MaaS Portal, the Core BFF image also copies model-serving, TrustyAI, and hardware-profiles into its UI builder. This adds avoidable build dependencies and conflicts with keeping the portal independent of model-serving.
Solution
Move the alert store and its existing tests into MaaS, where all production consumers live. Update the external-model form, publication banners, and internal deployment hook to use the MaaS-owned store, remove its model-serving export, and remove the three Dockerfile copies.
The store implementation and banner behavior remain unchanged. MaaS retains its existing model-serving dependency for dashboard integration.
Evidence
Reproduce the checks with:
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes (not applicable: banner behavior and appearance are unchanged):
After the PR is posted & before it merges:
main<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Chores
Updated internal packaging and references for post-deployment alerts. The alert experience and related behavior remain unchanged.
* The workspace build includes fewer packages. No changes to end-user functionality are expected.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->