← Back to Pull requests

ROX-37502: Move CEL tests (batch 1/2) to CEL suite #1469

Merged
redhat-chai-bot merged 2 files (435 lines) on Oct 09, 2026 17:07 UTC
View on GitHub
redhat-chai-bot redhat-chai-bot commented on Oct 09, 2026 02:28 UTC
Author

Summary

Moves 2 CEL tests from the parallel e2e suite to the CEL functional suite:

  • TestCELProfileBundle

  • TestCELProfileScan
  • Details

  • Pure test moves, no refactoring

  • Part of ROX-37502: dissolving the parallel e2e suite into dedicated functional suites

  • Build verified: go build and go vet pass for both packages
  • ---
    AI-generated. Review for accuracy.

    @rhmdnd requested from Slack

    Diff: 435 lines (+218 / -217) across 2 files Reviewer: rhmdnd Review duration: 878m
    All Vouch review confidence checks passed
    Residual risk 0.04 = Change Risk (0.46) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.46 · 435 lines diff across 2 files
    0.46
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.93 · 4 substantive comment(s)
    0.93
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    90%
    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.364
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    6 items
    openshift-ci-robot openshift-ci-robot commented on Oct 09, 2026 02:28 UTC
    Contributor

    @redhat-chai-bot: This pull request references ROX-37502 which is a valid jira issue.

    Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.1.0" version, but no target version was set.

    <details>

    In response to this:

    >## Summary

    >Moves 2 CEL tests from the parallel e2e suite to the CEL functional suite:

    >- TestCustomRuleMetadataPropagation
    >- TestCELProfileBundle
    >## Details

    >- Pure test moves, no refactoring

    >- Part of ROX-37502: dissolving the parallel e2e suite into dedicated functional suites
    >- Build verified: go build and go vet pass for both packages
    >---

    >AI-generated. Review for accuracy.
    >@rhmdnd requested from Slack

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.
    </details>

    openshift-ci[bot] openshift-ci[bot] commented on Oct 09, 2026 02:28 UTC
    Bot

    Hi @redhat-chai-bot. Thanks for your PR.

    I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

    >[!TIP]
    >We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

    Once the patch is verified, the new status will be reflected by the ok-to-test label.

    I understand the commands that are listed here.

    <details>

    Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
    </details>

    github-actions[bot] github-actions[bot] commented on Oct 09, 2026 02:49 UTC
    Bot

    :robot: To deploy this PR, run the following command:

    make catalog-deploy CATALOG_IMG=ghcr.io/complianceascode/compliance-operator-catalog:1469-38c3ba428d6e98b64cd9a6be95e29ba300f60187
    

    rhmdnd rhmdnd approved these changes on Oct 09, 2026 17:07 UTC
    Approved Reviewer

    /lgtm

    Clean move and the CEL suite passed with the new tests.

    openshift-ci[bot] openshift-ci[bot] commented on Oct 09, 2026 17:07 UTC
    Bot

    [APPROVALNOTIFIER] This PR is APPROVED

    This pull-request has been approved by: <a href="https://github.com/ComplianceAsCode/compliance-operator/pull/1469#" title="Author self-approved">redhat-chai-bot</a>, <a href="https://github.com/ComplianceAsCode/compliance-operator/pull/1469#pullrequestreview-5473091564" title="Approved">rhmdnd</a>

    The full list of commands accepted by this bot can be found here.

    The pull request process is described here

    <details >
    Needs approval from an approver in each of these files:

  • ~~OWNERS~~ [rhmdnd]
  • Approvers can indicate their approval by writing /approve in a comment
    Approvers can cancel approval by writing /approve cancel in a comment
    </details>
    <!-- META={"approvers":[]} -->

    Reviewers
    Assignees
    redhat-chai-bot redhat-chai-bot
    Labels
    risk: low confidence: 90.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: 45.8% (MEDIUM) · Higher = larger blast radius
    45.8%
    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: 90.5% · Lower = rushed or shallow review
    90.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: 4.3% · Safe to merge
    4.3%