← Back to Pull requests

OSAC-3046: Design - Per-Service Enablement (CaaS/VMaaS/BMaaS/MaaS) #234

Closed
unknown closed this pull request without merging on Aug 26, 2026 15:31 UTC
View on GitHub
unknown unknown commented on Aug 26, 2026 13:24 UTC
Author

Design: Per-Service Enablement (CaaS/VMaaS/BMaaS/MaaS)

Jira: https://redhat.atlassian.net/browse/OSAC-3046
PRD: enhancements/OSAC-3046-per-service-enablement/prd.md

Summary

Introduces per-service enablement flags (services.caas.enabled, etc.) in the Helm umbrella chart, propagated to the fulfillment-service (conditional gRPC/REST registration), osac-operator (existing controller flags), and bare-metal-fulfillment-operator (existing bmf.enabled). Disabled services have no registered API endpoints and return codes.Unavailable with descriptive messages. The Capabilities endpoint is extended with enabled_services for client discovery, and HostTypes filtering enforces inter-service dependencies.

Requesting Review On

  • Open Question §1: UI treatment for disabled services — hidden vs. grayed-out (pending UX team decision)

  • Open Question §2: Enclave wizard alignment — whether experiences drive, replace, or coexist with per-service flags (pending cross-team discussion)

  • Open Question §3: AAP instance group enablement — whether to disable idle instance groups when their service is disabled

  • HostTypes filtering approach: Server-side filtering based on the interfaces field discriminator — is this the right mechanism?

  • UnknownServiceHandler vs. REST behavior: gRPC disabled services get codes.Unavailable; REST unregistered handlers get the mux default. Is this asymmetry acceptable?
  • Documents


  • design.md — technical design document

  • testplan.md — behavioral test cases mapped to PRD requirements
  • How to Review


  • Comment inline on specific sections

  • Approve when the design accurately reflects a viable implementation approach
  • Diff: 214 lines (+160 / -54) across 2 files Reviewer: masayag Review duration: 126m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.42) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 214 lines diff across 2 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.321
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #234"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 41.6% (MEDIUM) · Higher = larger blast radius
    41.6%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 16.4% · Safe to merge
    16.4%