← Back to Pull requests

refactor(maas-portal): rename distribution workspace and build identity #10138

Closed
unknown closed this pull request without merging on Oct 07, 2026 20:06 UTC
View on GitHub
unknown unknown commented on Oct 07, 2026 18:38 UTC
Author

RHOAIENG-99074

Description

Rename the MaaS Portal distribution workspace to distributions/maas-portal, its package to @odh-dashboard/maas-portal-distribution, and its distribution/local extension identity to maas-portal.

Update workspace metadata, extension fixtures, Core-BFF Dockerfile source paths and build filter, and README/agent-rule references. The lockfile changes only the workspace importer. Browser paths, Kubernetes resources, /static/maas-consumer-portal, and compatibility fields remain unchanged.

This PR covers the upstream rename. After merge and confirmed downstream autosync, a separate downstream PR must reflect the Dockerfile changes in Dockerfile.konflux.core-bff.

How Has This Been Tested?

Passed with Node.js 22.23.1 and pnpm 11.22.0:

CYPRESS_INSTALL_BINARY=0 pnpm install --frozen-lockfile
pnpm --filter @odh-dashboard/maas-portal-distribution run build:prod
pnpm run type-check
pnpm run lint
pnpm --filter @odh-dashboard/maas-portal-distribution run test-unit --runInBand
pnpm --filter @odh-dashboard/base-distribution run test-unit --runInBand generateDistributionExtensionsPlugin
podman build --file distributions/core-bff/Dockerfile.workspace --tag odh-core-bff:rhoai-eng-99074 .

Portal-specific lint and type checking also pass. All 49 portal tests and 30 extension-generator tests pass. The image build verifies a nonempty /static/maas-consumer-portal/index.html. Root lint reports warnings in unchanged packages; the portal build reports an asset-size warning.

Test Impact

Update existing extension catalog keys and the YAML parsing fixture to use maas-portal. Existing tests and the production image build cover the rename; no new behavior requires additional tests.

Request review criteria:

Self checklist (all need to be checked):

  • The developer has manually tested the changes and verified that the changes work

  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).

  • The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

  • The code follows our [Best Practices](/docs/best-practices.md) (React coding standards, PatternFly usage, performance considerations)
  • After the PR is posted & before it merges:

  • The developer has tested their solution on a cluster by using the image produced by the PR to main
  • [RHOAIENG-99074]: https://redhat.atlassian.net/browse/RHOAIENG-99074?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

    <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    Summary by CodeRabbit

    Updates
    The standalone distribution is now named MaaS Portal instead of MaaS Consumer Portal.
    Its description clarifies that it bundles MaaS and gen-AI and connects through their backends, without a separate portal backend.
    Local development instructions and distribution references have been updated to use the new name.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 402 lines (+301 / -101) across 5 files Reviewer: paulovmr Review duration: 87m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 402 lines diff across 5 files
    0.45
    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.359
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #10138"
    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: 44.7% (MEDIUM) · Higher = larger blast radius
    44.7%
    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: 17.7% · Safe to merge
    17.7%