← Back to Pull requests

ROX-37468: Remove duplicate tailoring tests from parallel suite (batch 1 of 2) #1441

Merged
redhat-chai-bot merged 1 files (481 lines) on Oct 08, 2026 13:47 UTC
View on GitHub
redhat-chai-bot redhat-chai-bot commented on Oct 06, 2026 15:48 UTC
Author

Remove 5 duplicate tailoring tests from tests/e2e/parallel/main_test.go that are already covered by the dedicated tests/e2e/tailoring_tests/ suite.

Tests removed

  • TestScanTailoredProfileIsDeprecated — identical in tailoring suite

  • TestScanTailoredProfileHasDuplicateVariables — identical in tailoring suite

  • TestSingleTailoredScanSucceeds — identical in tailoring suite

  • TestScanSettingBindingWatchesTailoredProfile — identical in tailoring suite

  • TestTailoringManualRulesDoesNotGenerateRemediations — identical to TestManualRulesTailoredProfile in tailoring suite (renamed)
  • Why this is safe

    The e2e-aws-tailoring CI job is being made conditionally required via openshift/release#86535, which auto-triggers on tailoring code changes. These tests will continue to run in the focused suite.

    Test NOT removed

    TestTailoringEnabledRulesGenerateRemediations — tests the complement case (enabled rules DO generate remediations), which the tailoring suite does not cover.

    ---
    AI-generated. Review for accuracy.

    @rhmdnd requested from Slack

    Diff: 481 lines (+0 / -481) across 1 files Reviewer: rhmdnd Review duration: 2759m
    All Vouch review confidence checks passed
    Residual risk 0.09 = Change Risk (0.40) × (1 − Review Confidence (0.77)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 481 lines diff across 1 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.55 · 5 substantive comment(s)
    0.55
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    76%
    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.370
    Real PR Conversation Timeline
    16 items
    openshift-ci[bot] openshift-ci[bot] commented on Oct 06, 2026 15:48 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.

    Regular contributors should join the org to skip this step.

    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>

    rhmdnd rhmdnd commented on code on Oct 06, 2026 17:58 UTC
    Code Review
    tests/e2e/parallel/main_test.go:1
    @@ -4997,266 +4773,6 @@ func TestScanSettingBindingUsesDefaultScanSetting(t *testing.T) {
     	}
     }
     
    -func TestScanSettingBindingWatchesTailoredProfile(t *testing.T) {
    -	t.Parallel()
    -	f := framework.Global
    -	tpName := framework.GetObjNameFromTest(t)
    -	bindingName := framework.GetObjNameFromTest(t)
    -
    -	tp := &compv1alpha1.TailoredProfile{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      tpName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Spec: compv1alpha1.TailoredProfileSpec{
    -			Title:       "TestScanSettingBindingWatchesTailoredProfile",
    -			Description: "TestScanSettingBindingWatchesTailoredProfile",
    -			DisableRules: []compv1alpha1.RuleReferenceSpec{
    -				{
    -					Name:      "no-such-rule",
    -					Rationale: "testing",
    -				},
    -			},
    -			Extends: "ocp4-cis",
    -		},
    -	}
    -
    -	err := f.Client.Create(context.TODO(), tp, nil)
    -	if err != nil {
    -		t.Fatal("failed to create tailored profile")
    -	}
    -	defer f.Client.Delete(context.TODO(), tp)
    -
    -	// make sure the TP is created with an error as expected
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		tpGet := &compv1alpha1.TailoredProfile{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: tpName, Namespace: f.OperatorNamespace}, tpGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		if tpGet.Status.State != compv1alpha1.TailoredProfileStateError {
    -			return false, errors.New("expected the TP to be created with an error")
    -		}
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	scanSettingBinding := compv1alpha1.ScanSettingBinding{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      bindingName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Profiles: []compv1alpha1.NamedObjectReference{
    -			{
    -				Name:     bindingName,
    -				Kind:     "TailoredProfile",
    -				APIGroup: "compliance.openshift.io/v1alpha1",
    -			},
    -		},
    -		SettingsRef: &compv1alpha1.NamedObjectReference{
    -			Name:     "default",
    -			Kind:     "ScanSetting",
    -			APIGroup: "compliance.openshift.io/v1alpha1",
    -		},
    -	}
    -
    -	if err := f.Client.Create(context.TODO(), &scanSettingBinding, nil); err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), &scanSettingBinding)
    -
    -	// Wait until the suite binding receives an error condition
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		ssbGet := &compv1alpha1.ScanSettingBinding{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: bindingName, Namespace: f.OperatorNamespace}, ssbGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		readyCond := ssbGet.Status.Conditions.GetCondition("Ready")
    -		if readyCond == nil {
    -			return false, nil
    -		}
    -		if readyCond.Status != corev1.ConditionFalse && readyCond.Reason != "Invalid" {
    -			return false, fmt.Errorf("expected ready=false, reason=invalid, got %v", readyCond)
    -		}
    -
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Fix the TP
    -	tpGet := &compv1alpha1.TailoredProfile{}
    -	err = f.Client.Get(context.TODO(), types.NamespacedName{Name: tpName, Namespace: f.OperatorNamespace}, tpGet)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	tpUpdate := tpGet.DeepCopy()
    -	tpUpdate.Spec.DisableRules = []compv1alpha1.RuleReferenceSpec{
    -		{
    -			Name:      "ocp4-file-owner-scheduler-kubeconfig",
    -			Rationale: "testing",
    -		},
    -	}
    -
    -	err = f.Client.Update(context.TODO(), tpUpdate)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Wait for the binding to transition to ready state
    -	// Wait until the suite binding receives an error condition
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		ssbGet := &compv1alpha1.ScanSettingBinding{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: bindingName, Namespace: f.OperatorNamespace}, ssbGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		readyCond := ssbGet.Status.Conditions.GetCondition("Ready")
    -		if readyCond == nil {
    -			return false, nil
    -		}
    -		if readyCond.Status != corev1.ConditionTrue && readyCond.Reason != "Processed" {
    -			// don't return an error right away, let the poll just fail if it takes too long
    -			return false, nil
    -		}
    -
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -}
    -
    -func TestTailoringManualRulesDoesNotGenerateRemediations(t *testing.T) {
    -	t.Parallel()
    -	f := framework.Global
    -	var baselineImage = fmt.Sprintf("%s:%s", brokenContentImagePath, "kubeletconfig")
    -	const requiredRule = "kubelet-eviction-thresholds-set-soft-imagefs-available"
    -	pbName := framework.GetObjNameFromTest(t)
    -	prefixName := func(profName, ruleBaseName string) string { return profName + "-" + ruleBaseName }
    -
    -	ocpPb, err := f.CreateProfileBundle(pbName, baselineImage, framework.OcpContentFile)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), ocpPb)
    -	if err := f.WaitForProfileBundleStatus(pbName, compv1alpha1.DataStreamValid); err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Check that if the rule we are going to test is there
    -	requiredRuleName := prefixName(pbName, requiredRule)
    -	err, found := framework.Global.DoesRuleExist(f.OperatorNamespace, requiredRuleName)
    -	if err != nil {
    -		t.Fatal(err)
    -	} else if !found {
    -		t.Fatalf("Expected rule %s not found", requiredRuleName)
    -	}
    -
    -	suiteName := "manual-rules-test-node"
    -	masterScanName := fmt.Sprintf("%s-master", suiteName)
    -
    -	tp := &compv1alpha1.TailoredProfile{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      suiteName,
    -			Namespace: f.OperatorNamespace,
    -			Annotations: map[string]string{
    -				compv1alpha1.DisableOutdatedReferenceValidation: "true",
    -			},
    -		},
    -		Spec: compv1alpha1.TailoredProfileSpec{
    -			Title:       "manual-rules-test",
    -			Description: "A test tailored profile to test manual-rules",
    -			ManualRules: []compv1alpha1.RuleReferenceSpec{
    -				{
    -					Name:      prefixName(pbName, requiredRule),
    -					Rationale: "To be tested",
    -				},
    -			},
    -		},
    -	}
    -
    -	createTPErr := f.Client.Create(context.TODO(), tp, nil)
    -	if createTPErr != nil {
    -		t.Fatal(createTPErr)
    -	}
    -	defer f.Client.Delete(context.TODO(), tp)
    -
    -	ssb := &compv1alpha1.ScanSettingBinding{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      suiteName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Profiles: []compv1alpha1.NamedObjectReference{
    -			{
    -				APIGroup: "compliance.openshift.io/v1alpha1",
    -				Kind:     "TailoredProfile",
    -				Name:     suiteName,
    -			},
    -		},
    -		SettingsRef: &compv1alpha1.NamedObjectReference{
    -			APIGroup: "compliance.openshift.io/v1alpha1",
    -			Kind:     "ScanSetting",
    -			Name:     "default",
    -		},
    -	}
    -
    -	err = f.Client.Create(context.TODO(), ssb, nil)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), ssb)
    -
    -	// Ensure that all the scans in the suite have finished and are marked as Done
    -	err = f.WaitForSuiteScansStatus(f.OperatorNamespace, suiteName, compv1alpha1.PhaseDone, compv1alpha1.ResultNonCompliant)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// the check should be shown as manual
    -	checkResult := compv1alpha1.ComplianceCheckResult{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      fmt.Sprintf("%s-kubelet-eviction-thresholds-set-soft-imagefs-available", masterScanName),
    -			Namespace: f.OperatorNamespace,
    -		},
    -		ID:       "xccdf_org.ssgproject.content_rule_kubelet_eviction_thresholds_set_soft_imagefs_available",
    -		Status:   compv1alpha1.CheckResultManual,
    -		Severity: compv1alpha1.CheckResultSeverityMedium,
    -	}
    -	err = f.AssertHasCheck(suiteName, masterScanName, checkResult)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	inNs := client.InNamespace(f.OperatorNamespace)
    -	withLabel := client.MatchingLabels{"profile-bundle": pbName}
    -
    -	remList := &compv1alpha1.ComplianceRemediationList{}
    -	err = f.Client.List(context.TODO(), remList, inNs, withLabel)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	if len(remList.Items) != 0 {
    -		t.Fatal("expected no remediation")
    -	}
    -}
    -
    -// TestTailoringEnabledRulesGenerateRemediations verifies that when a rule is added via EnableRules,
    -// it behaves as a normal rule (not manual), reports PASS/FAIL status, and generates remediations when it fails.
    -// This complements TestTailoringManualRulesDoesNotGenerateRemediations which verifies the opposite behavior.

    This comment is still applicable to a test we're keeping. We shouldn't remove it in this PR.

    rhmdnd rhmdnd requested changes on Oct 06, 2026 17:58 UTC
    Changes Requested Reviewer

    Requested changes.

    openshift-ci-robot openshift-ci-robot commented on Oct 07, 2026 15:52 UTC
    Contributor

    @redhat-chai-bot: This pull request references ROX-37468 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 sub-task to target the "5.1.0" version, but no target version was set.

    <details>

    In response to this:

    >Remove 5 duplicate tailoring tests from tests/e2e/parallel/main_test.go that are already covered by the dedicated tests/e2e/tailoring_tests/ suite.

    >## Tests removed

    >- TestScanTailoredProfileIsDeprecated — identical in tailoring suite

    >- TestScanTailoredProfileHasDuplicateVariables — identical in tailoring suite
    >- TestSingleTailoredScanSucceeds — identical in tailoring suite
    >- TestScanSettingBindingWatchesTailoredProfile — identical in tailoring suite
    >- TestTailoringManualRulesDoesNotGenerateRemediations — identical to TestManualRulesTailoredProfile in tailoring suite (renamed)
    >## Why this is safe

    >The e2e-aws-tailoring CI job is being made conditionally required via openshift/release#86535, which auto-triggers on tailoring code changes. These tests will continue to run in the focused suite.

    >## Test NOT removed

    >TestTailoringEnabledRulesGenerateRemediations — tests the complement case (enabled rules DO generate remediations), which the tailoring suite does not cover.

    >---

    >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>

    redhat-chai-bot redhat-chai-bot commented on code on Oct 07, 2026 15:55 UTC
    Code Review
    tests/e2e/parallel/main_test.go:1
    @@ -4997,266 +4773,6 @@ func TestScanSettingBindingUsesDefaultScanSetting(t *testing.T) {
     	}
     }
     
    -func TestScanSettingBindingWatchesTailoredProfile(t *testing.T) {
    -	t.Parallel()
    -	f := framework.Global
    -	tpName := framework.GetObjNameFromTest(t)
    -	bindingName := framework.GetObjNameFromTest(t)
    -
    -	tp := &compv1alpha1.TailoredProfile{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      tpName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Spec: compv1alpha1.TailoredProfileSpec{
    -			Title:       "TestScanSettingBindingWatchesTailoredProfile",
    -			Description: "TestScanSettingBindingWatchesTailoredProfile",
    -			DisableRules: []compv1alpha1.RuleReferenceSpec{
    -				{
    -					Name:      "no-such-rule",
    -					Rationale: "testing",
    -				},
    -			},
    -			Extends: "ocp4-cis",
    -		},
    -	}
    -
    -	err := f.Client.Create(context.TODO(), tp, nil)
    -	if err != nil {
    -		t.Fatal("failed to create tailored profile")
    -	}
    -	defer f.Client.Delete(context.TODO(), tp)
    -
    -	// make sure the TP is created with an error as expected
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		tpGet := &compv1alpha1.TailoredProfile{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: tpName, Namespace: f.OperatorNamespace}, tpGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		if tpGet.Status.State != compv1alpha1.TailoredProfileStateError {
    -			return false, errors.New("expected the TP to be created with an error")
    -		}
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	scanSettingBinding := compv1alpha1.ScanSettingBinding{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      bindingName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Profiles: []compv1alpha1.NamedObjectReference{
    -			{
    -				Name:     bindingName,
    -				Kind:     "TailoredProfile",
    -				APIGroup: "compliance.openshift.io/v1alpha1",
    -			},
    -		},
    -		SettingsRef: &compv1alpha1.NamedObjectReference{
    -			Name:     "default",
    -			Kind:     "ScanSetting",
    -			APIGroup: "compliance.openshift.io/v1alpha1",
    -		},
    -	}
    -
    -	if err := f.Client.Create(context.TODO(), &scanSettingBinding, nil); err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), &scanSettingBinding)
    -
    -	// Wait until the suite binding receives an error condition
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		ssbGet := &compv1alpha1.ScanSettingBinding{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: bindingName, Namespace: f.OperatorNamespace}, ssbGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		readyCond := ssbGet.Status.Conditions.GetCondition("Ready")
    -		if readyCond == nil {
    -			return false, nil
    -		}
    -		if readyCond.Status != corev1.ConditionFalse && readyCond.Reason != "Invalid" {
    -			return false, fmt.Errorf("expected ready=false, reason=invalid, got %v", readyCond)
    -		}
    -
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Fix the TP
    -	tpGet := &compv1alpha1.TailoredProfile{}
    -	err = f.Client.Get(context.TODO(), types.NamespacedName{Name: tpName, Namespace: f.OperatorNamespace}, tpGet)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	tpUpdate := tpGet.DeepCopy()
    -	tpUpdate.Spec.DisableRules = []compv1alpha1.RuleReferenceSpec{
    -		{
    -			Name:      "ocp4-file-owner-scheduler-kubeconfig",
    -			Rationale: "testing",
    -		},
    -	}
    -
    -	err = f.Client.Update(context.TODO(), tpUpdate)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Wait for the binding to transition to ready state
    -	// Wait until the suite binding receives an error condition
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		ssbGet := &compv1alpha1.ScanSettingBinding{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: bindingName, Namespace: f.OperatorNamespace}, ssbGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		readyCond := ssbGet.Status.Conditions.GetCondition("Ready")
    -		if readyCond == nil {
    -			return false, nil
    -		}
    -		if readyCond.Status != corev1.ConditionTrue && readyCond.Reason != "Processed" {
    -			// don't return an error right away, let the poll just fail if it takes too long
    -			return false, nil
    -		}
    -
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -}
    -
    -func TestTailoringManualRulesDoesNotGenerateRemediations(t *testing.T) {
    -	t.Parallel()
    -	f := framework.Global
    -	var baselineImage = fmt.Sprintf("%s:%s", brokenContentImagePath, "kubeletconfig")
    -	const requiredRule = "kubelet-eviction-thresholds-set-soft-imagefs-available"
    -	pbName := framework.GetObjNameFromTest(t)
    -	prefixName := func(profName, ruleBaseName string) string { return profName + "-" + ruleBaseName }
    -
    -	ocpPb, err := f.CreateProfileBundle(pbName, baselineImage, framework.OcpContentFile)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), ocpPb)
    -	if err := f.WaitForProfileBundleStatus(pbName, compv1alpha1.DataStreamValid); err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Check that if the rule we are going to test is there
    -	requiredRuleName := prefixName(pbName, requiredRule)
    -	err, found := framework.Global.DoesRuleExist(f.OperatorNamespace, requiredRuleName)
    -	if err != nil {
    -		t.Fatal(err)
    -	} else if !found {
    -		t.Fatalf("Expected rule %s not found", requiredRuleName)
    -	}
    -
    -	suiteName := "manual-rules-test-node"
    -	masterScanName := fmt.Sprintf("%s-master", suiteName)
    -
    -	tp := &compv1alpha1.TailoredProfile{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      suiteName,
    -			Namespace: f.OperatorNamespace,
    -			Annotations: map[string]string{
    -				compv1alpha1.DisableOutdatedReferenceValidation: "true",
    -			},
    -		},
    -		Spec: compv1alpha1.TailoredProfileSpec{
    -			Title:       "manual-rules-test",
    -			Description: "A test tailored profile to test manual-rules",
    -			ManualRules: []compv1alpha1.RuleReferenceSpec{
    -				{
    -					Name:      prefixName(pbName, requiredRule),
    -					Rationale: "To be tested",
    -				},
    -			},
    -		},
    -	}
    -
    -	createTPErr := f.Client.Create(context.TODO(), tp, nil)
    -	if createTPErr != nil {
    -		t.Fatal(createTPErr)
    -	}
    -	defer f.Client.Delete(context.TODO(), tp)
    -
    -	ssb := &compv1alpha1.ScanSettingBinding{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      suiteName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Profiles: []compv1alpha1.NamedObjectReference{
    -			{
    -				APIGroup: "compliance.openshift.io/v1alpha1",
    -				Kind:     "TailoredProfile",
    -				Name:     suiteName,
    -			},
    -		},
    -		SettingsRef: &compv1alpha1.NamedObjectReference{
    -			APIGroup: "compliance.openshift.io/v1alpha1",
    -			Kind:     "ScanSetting",
    -			Name:     "default",
    -		},
    -	}
    -
    -	err = f.Client.Create(context.TODO(), ssb, nil)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), ssb)
    -
    -	// Ensure that all the scans in the suite have finished and are marked as Done
    -	err = f.WaitForSuiteScansStatus(f.OperatorNamespace, suiteName, compv1alpha1.PhaseDone, compv1alpha1.ResultNonCompliant)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// the check should be shown as manual
    -	checkResult := compv1alpha1.ComplianceCheckResult{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      fmt.Sprintf("%s-kubelet-eviction-thresholds-set-soft-imagefs-available", masterScanName),
    -			Namespace: f.OperatorNamespace,
    -		},
    -		ID:       "xccdf_org.ssgproject.content_rule_kubelet_eviction_thresholds_set_soft_imagefs_available",
    -		Status:   compv1alpha1.CheckResultManual,
    -		Severity: compv1alpha1.CheckResultSeverityMedium,
    -	}
    -	err = f.AssertHasCheck(suiteName, masterScanName, checkResult)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	inNs := client.InNamespace(f.OperatorNamespace)
    -	withLabel := client.MatchingLabels{"profile-bundle": pbName}
    -
    -	remList := &compv1alpha1.ComplianceRemediationList{}
    -	err = f.Client.List(context.TODO(), remList, inNs, withLabel)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	if len(remList.Items) != 0 {
    -		t.Fatal("expected no remediation")
    -	}
    -}
    -
    -// TestTailoringEnabledRulesGenerateRemediations verifies that when a rule is added via EnableRules,
    -// it behaves as a normal rule (not manual), reports PASS/FAIL status, and generates remediations when it fails.
    -// This complements TestTailoringManualRulesDoesNotGenerateRemediations which verifies the opposite behavior.

    Good catch — this comment should stay since the test it documents (TestTailoringEnabledRulesGenerateRemediations) is being deliberately kept.

    Per the review discussion with @Vincent056, these 11 dedup PRs will be consolidated into 5 (one per suite) to avoid merge conflicts and the orphaned import issue. I'll make sure this fix is incorporated in the consolidated tailoring dedup PR. These PRs are also on hold until the corresponding openshift/release run_if_changed PRs land first.

    ---
    AI-generated. Review for accuracy.

    redhat-chai-bot redhat-chai-bot commented on code on Oct 07, 2026 16:49 UTC
    Code Review
    tests/e2e/parallel/main_test.go:1
    @@ -4997,266 +4773,6 @@ func TestScanSettingBindingUsesDefaultScanSetting(t *testing.T) {
     	}
     }
     
    -func TestScanSettingBindingWatchesTailoredProfile(t *testing.T) {
    -	t.Parallel()
    -	f := framework.Global
    -	tpName := framework.GetObjNameFromTest(t)
    -	bindingName := framework.GetObjNameFromTest(t)
    -
    -	tp := &compv1alpha1.TailoredProfile{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      tpName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Spec: compv1alpha1.TailoredProfileSpec{
    -			Title:       "TestScanSettingBindingWatchesTailoredProfile",
    -			Description: "TestScanSettingBindingWatchesTailoredProfile",
    -			DisableRules: []compv1alpha1.RuleReferenceSpec{
    -				{
    -					Name:      "no-such-rule",
    -					Rationale: "testing",
    -				},
    -			},
    -			Extends: "ocp4-cis",
    -		},
    -	}
    -
    -	err := f.Client.Create(context.TODO(), tp, nil)
    -	if err != nil {
    -		t.Fatal("failed to create tailored profile")
    -	}
    -	defer f.Client.Delete(context.TODO(), tp)
    -
    -	// make sure the TP is created with an error as expected
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		tpGet := &compv1alpha1.TailoredProfile{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: tpName, Namespace: f.OperatorNamespace}, tpGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		if tpGet.Status.State != compv1alpha1.TailoredProfileStateError {
    -			return false, errors.New("expected the TP to be created with an error")
    -		}
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	scanSettingBinding := compv1alpha1.ScanSettingBinding{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      bindingName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Profiles: []compv1alpha1.NamedObjectReference{
    -			{
    -				Name:     bindingName,
    -				Kind:     "TailoredProfile",
    -				APIGroup: "compliance.openshift.io/v1alpha1",
    -			},
    -		},
    -		SettingsRef: &compv1alpha1.NamedObjectReference{
    -			Name:     "default",
    -			Kind:     "ScanSetting",
    -			APIGroup: "compliance.openshift.io/v1alpha1",
    -		},
    -	}
    -
    -	if err := f.Client.Create(context.TODO(), &scanSettingBinding, nil); err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), &scanSettingBinding)
    -
    -	// Wait until the suite binding receives an error condition
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		ssbGet := &compv1alpha1.ScanSettingBinding{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: bindingName, Namespace: f.OperatorNamespace}, ssbGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		readyCond := ssbGet.Status.Conditions.GetCondition("Ready")
    -		if readyCond == nil {
    -			return false, nil
    -		}
    -		if readyCond.Status != corev1.ConditionFalse && readyCond.Reason != "Invalid" {
    -			return false, fmt.Errorf("expected ready=false, reason=invalid, got %v", readyCond)
    -		}
    -
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Fix the TP
    -	tpGet := &compv1alpha1.TailoredProfile{}
    -	err = f.Client.Get(context.TODO(), types.NamespacedName{Name: tpName, Namespace: f.OperatorNamespace}, tpGet)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	tpUpdate := tpGet.DeepCopy()
    -	tpUpdate.Spec.DisableRules = []compv1alpha1.RuleReferenceSpec{
    -		{
    -			Name:      "ocp4-file-owner-scheduler-kubeconfig",
    -			Rationale: "testing",
    -		},
    -	}
    -
    -	err = f.Client.Update(context.TODO(), tpUpdate)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Wait for the binding to transition to ready state
    -	// Wait until the suite binding receives an error condition
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		ssbGet := &compv1alpha1.ScanSettingBinding{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: bindingName, Namespace: f.OperatorNamespace}, ssbGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		readyCond := ssbGet.Status.Conditions.GetCondition("Ready")
    -		if readyCond == nil {
    -			return false, nil
    -		}
    -		if readyCond.Status != corev1.ConditionTrue && readyCond.Reason != "Processed" {
    -			// don't return an error right away, let the poll just fail if it takes too long
    -			return false, nil
    -		}
    -
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -}
    -
    -func TestTailoringManualRulesDoesNotGenerateRemediations(t *testing.T) {
    -	t.Parallel()
    -	f := framework.Global
    -	var baselineImage = fmt.Sprintf("%s:%s", brokenContentImagePath, "kubeletconfig")
    -	const requiredRule = "kubelet-eviction-thresholds-set-soft-imagefs-available"
    -	pbName := framework.GetObjNameFromTest(t)
    -	prefixName := func(profName, ruleBaseName string) string { return profName + "-" + ruleBaseName }
    -
    -	ocpPb, err := f.CreateProfileBundle(pbName, baselineImage, framework.OcpContentFile)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), ocpPb)
    -	if err := f.WaitForProfileBundleStatus(pbName, compv1alpha1.DataStreamValid); err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Check that if the rule we are going to test is there
    -	requiredRuleName := prefixName(pbName, requiredRule)
    -	err, found := framework.Global.DoesRuleExist(f.OperatorNamespace, requiredRuleName)
    -	if err != nil {
    -		t.Fatal(err)
    -	} else if !found {
    -		t.Fatalf("Expected rule %s not found", requiredRuleName)
    -	}
    -
    -	suiteName := "manual-rules-test-node"
    -	masterScanName := fmt.Sprintf("%s-master", suiteName)
    -
    -	tp := &compv1alpha1.TailoredProfile{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      suiteName,
    -			Namespace: f.OperatorNamespace,
    -			Annotations: map[string]string{
    -				compv1alpha1.DisableOutdatedReferenceValidation: "true",
    -			},
    -		},
    -		Spec: compv1alpha1.TailoredProfileSpec{
    -			Title:       "manual-rules-test",
    -			Description: "A test tailored profile to test manual-rules",
    -			ManualRules: []compv1alpha1.RuleReferenceSpec{
    -				{
    -					Name:      prefixName(pbName, requiredRule),
    -					Rationale: "To be tested",
    -				},
    -			},
    -		},
    -	}
    -
    -	createTPErr := f.Client.Create(context.TODO(), tp, nil)
    -	if createTPErr != nil {
    -		t.Fatal(createTPErr)
    -	}
    -	defer f.Client.Delete(context.TODO(), tp)
    -
    -	ssb := &compv1alpha1.ScanSettingBinding{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      suiteName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Profiles: []compv1alpha1.NamedObjectReference{
    -			{
    -				APIGroup: "compliance.openshift.io/v1alpha1",
    -				Kind:     "TailoredProfile",
    -				Name:     suiteName,
    -			},
    -		},
    -		SettingsRef: &compv1alpha1.NamedObjectReference{
    -			APIGroup: "compliance.openshift.io/v1alpha1",
    -			Kind:     "ScanSetting",
    -			Name:     "default",
    -		},
    -	}
    -
    -	err = f.Client.Create(context.TODO(), ssb, nil)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), ssb)
    -
    -	// Ensure that all the scans in the suite have finished and are marked as Done
    -	err = f.WaitForSuiteScansStatus(f.OperatorNamespace, suiteName, compv1alpha1.PhaseDone, compv1alpha1.ResultNonCompliant)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// the check should be shown as manual
    -	checkResult := compv1alpha1.ComplianceCheckResult{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      fmt.Sprintf("%s-kubelet-eviction-thresholds-set-soft-imagefs-available", masterScanName),
    -			Namespace: f.OperatorNamespace,
    -		},
    -		ID:       "xccdf_org.ssgproject.content_rule_kubelet_eviction_thresholds_set_soft_imagefs_available",
    -		Status:   compv1alpha1.CheckResultManual,
    -		Severity: compv1alpha1.CheckResultSeverityMedium,
    -	}
    -	err = f.AssertHasCheck(suiteName, masterScanName, checkResult)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	inNs := client.InNamespace(f.OperatorNamespace)
    -	withLabel := client.MatchingLabels{"profile-bundle": pbName}
    -
    -	remList := &compv1alpha1.ComplianceRemediationList{}
    -	err = f.Client.List(context.TODO(), remList, inNs, withLabel)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	if len(remList.Items) != 0 {
    -		t.Fatal("expected no remediation")
    -	}
    -}
    -
    -// TestTailoringEnabledRulesGenerateRemediations verifies that when a rule is added via EnableRules,
    -// it behaves as a normal rule (not manual), reports PASS/FAIL status, and generates remediations when it fails.
    -// This complements TestTailoringManualRulesDoesNotGenerateRemediations which verifies the opposite behavior.

    Restored the 3-line doc comment in 4ee7079. Thanks for catching this — the deletion was too aggressive and swept up the comment with the adjacent removed test.

    ---
    AI-generated. Review for accuracy.

    rhmdnd rhmdnd commented on code on Oct 07, 2026 18:46 UTC
    Code Review
    tests/e2e/parallel/main_test.go:1
    @@ -880,115 +880,6 @@ func TestNonExistentDeprecatedProfile(t *testing.T) {
     	}
     }
     
    -func TestScanTailoredProfileIsDeprecated(t *testing.T) {
    rhmdnd rhmdnd commented on code on Oct 07, 2026 18:48 UTC
    Code Review
    tests/e2e/parallel/main_test.go:1
    @@ -880,115 +880,6 @@ func TestNonExistentDeprecatedProfile(t *testing.T) {
     	}
     }
     
    -func TestScanTailoredProfileIsDeprecated(t *testing.T) {
    -	t.Parallel()
    -	f := framework.Global
    -
    -	tpName := "test-tailored-profile-is-deprecated"
    -	tp := &compv1alpha1.TailoredProfile{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      tpName,
    -			Namespace: f.OperatorNamespace,
    -			Annotations: map[string]string{
    -				compv1alpha1.ProfileStatusAnnotation: "deprecated",
    -			},
    -		},
    -		Spec: compv1alpha1.TailoredProfileSpec{
    -			Extends:     "ocp4-cis",
    -			Title:       "TestScanTailoredProfileIsDeprecated",
    -			Description: "TestScanTailoredProfileIsDeprecated",
    -			EnableRules: []compv1alpha1.RuleReferenceSpec{
    -				{
    -					Name:      "ocp4-cluster-version-operator-exists",
    -					Rationale: "Test tailored profile extends deprecated",
    -				},
    -			},
    -		},
    -	}
    -	err := f.Client.Create(context.TODO(), tp, nil)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), tp)
    -
    -	suiteName := framework.GetObjNameFromTest(t)
    -	ssb := &compv1alpha1.ScanSettingBinding{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      suiteName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Profiles: []compv1alpha1.NamedObjectReference{
    -			{
    -				APIGroup: "compliance.openshift.io/v1alpha1",
    -				Kind:     "TailoredProfile",
    -				Name:     tpName,
    -			},
    -		},
    -		SettingsRef: &compv1alpha1.NamedObjectReference{
    -			APIGroup: "compliance.openshift.io/v1alpha1",
    -			Kind:     "ScanSetting",
    -			Name:     "default",
    -		},
    -	}
    -	err = f.Client.Create(context.TODO(), ssb, nil)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), ssb)
    -
    -	// When using SSB with TailoredProfile, the scan has same name as the TP
    -	scanName := tpName
    -	if err = f.WaitForProfileDeprecatedWarning(t, scanName, tpName); err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	if err = f.WaitForScanStatus(f.OperatorNamespace, scanName, compv1alpha1.PhaseDone); err != nil {
    -		t.Fatal(err)
    -	}
    -}
    -
    -func TestScanTailoredProfileHasDuplicateVariables(t *testing.T) {

    Consistent with what's in https://github.com/ComplianceAsCode/compliance-operator/blob/d9602cd60421484ae523ed4287a06144970e1d85/tests/e2e/tailoring_tests/main_test.go#L126 besides an additional flag to short-circuit the test if only critical tests are being run.

    rhmdnd rhmdnd commented on code on Oct 07, 2026 18:50 UTC
    Code Review
    tests/e2e/parallel/main_test.go:1
    @@ -1273,121 +1164,6 @@ func TestScanStorageOutOfLimitRangeFails(t *testing.T) {
     
     }
     
    -func TestSingleTailoredScanSucceeds(t *testing.T) {
    rhmdnd rhmdnd commented on code on Oct 07, 2026 18:53 UTC
    Code Review
    tests/e2e/parallel/main_test.go:1
    @@ -4997,263 +4773,6 @@ func TestScanSettingBindingUsesDefaultScanSetting(t *testing.T) {
     	}
     }
     
    -func TestScanSettingBindingWatchesTailoredProfile(t *testing.T) {
    rhmdnd rhmdnd commented on code on Oct 07, 2026 18:56 UTC
    Code Review
    tests/e2e/parallel/main_test.go:1
    @@ -4997,263 +4773,6 @@ func TestScanSettingBindingUsesDefaultScanSetting(t *testing.T) {
     	}
     }
     
    -func TestScanSettingBindingWatchesTailoredProfile(t *testing.T) {
    -	t.Parallel()
    -	f := framework.Global
    -	tpName := framework.GetObjNameFromTest(t)
    -	bindingName := framework.GetObjNameFromTest(t)
    -
    -	tp := &compv1alpha1.TailoredProfile{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      tpName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Spec: compv1alpha1.TailoredProfileSpec{
    -			Title:       "TestScanSettingBindingWatchesTailoredProfile",
    -			Description: "TestScanSettingBindingWatchesTailoredProfile",
    -			DisableRules: []compv1alpha1.RuleReferenceSpec{
    -				{
    -					Name:      "no-such-rule",
    -					Rationale: "testing",
    -				},
    -			},
    -			Extends: "ocp4-cis",
    -		},
    -	}
    -
    -	err := f.Client.Create(context.TODO(), tp, nil)
    -	if err != nil {
    -		t.Fatal("failed to create tailored profile")
    -	}
    -	defer f.Client.Delete(context.TODO(), tp)
    -
    -	// make sure the TP is created with an error as expected
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		tpGet := &compv1alpha1.TailoredProfile{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: tpName, Namespace: f.OperatorNamespace}, tpGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		if tpGet.Status.State != compv1alpha1.TailoredProfileStateError {
    -			return false, errors.New("expected the TP to be created with an error")
    -		}
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	scanSettingBinding := compv1alpha1.ScanSettingBinding{
    -		ObjectMeta: metav1.ObjectMeta{
    -			Name:      bindingName,
    -			Namespace: f.OperatorNamespace,
    -		},
    -		Profiles: []compv1alpha1.NamedObjectReference{
    -			{
    -				Name:     bindingName,
    -				Kind:     "TailoredProfile",
    -				APIGroup: "compliance.openshift.io/v1alpha1",
    -			},
    -		},
    -		SettingsRef: &compv1alpha1.NamedObjectReference{
    -			Name:     "default",
    -			Kind:     "ScanSetting",
    -			APIGroup: "compliance.openshift.io/v1alpha1",
    -		},
    -	}
    -
    -	if err := f.Client.Create(context.TODO(), &scanSettingBinding, nil); err != nil {
    -		t.Fatal(err)
    -	}
    -	defer f.Client.Delete(context.TODO(), &scanSettingBinding)
    -
    -	// Wait until the suite binding receives an error condition
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		ssbGet := &compv1alpha1.ScanSettingBinding{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: bindingName, Namespace: f.OperatorNamespace}, ssbGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		readyCond := ssbGet.Status.Conditions.GetCondition("Ready")
    -		if readyCond == nil {
    -			return false, nil
    -		}
    -		if readyCond.Status != corev1.ConditionFalse && readyCond.Reason != "Invalid" {
    -			return false, fmt.Errorf("expected ready=false, reason=invalid, got %v", readyCond)
    -		}
    -
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Fix the TP
    -	tpGet := &compv1alpha1.TailoredProfile{}
    -	err = f.Client.Get(context.TODO(), types.NamespacedName{Name: tpName, Namespace: f.OperatorNamespace}, tpGet)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	tpUpdate := tpGet.DeepCopy()
    -	tpUpdate.Spec.DisableRules = []compv1alpha1.RuleReferenceSpec{
    -		{
    -			Name:      "ocp4-file-owner-scheduler-kubeconfig",
    -			Rationale: "testing",
    -		},
    -	}
    -
    -	err = f.Client.Update(context.TODO(), tpUpdate)
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -	// Wait for the binding to transition to ready state
    -	// Wait until the suite binding receives an error condition
    -	err = wait.Poll(framework.RetryInterval, framework.Timeout, func() (bool, error) {
    -		ssbGet := &compv1alpha1.ScanSettingBinding{}
    -		getErr := f.Client.Get(context.TODO(), types.NamespacedName{Name: bindingName, Namespace: f.OperatorNamespace}, ssbGet)
    -		if getErr != nil {
    -			// not gettable yet? retry
    -			return false, nil
    -		}
    -
    -		readyCond := ssbGet.Status.Conditions.GetCondition("Ready")
    -		if readyCond == nil {
    -			return false, nil
    -		}
    -		if readyCond.Status != corev1.ConditionTrue && readyCond.Reason != "Processed" {
    -			// don't return an error right away, let the poll just fail if it takes too long
    -			return false, nil
    -		}
    -
    -		return true, nil
    -	})
    -	if err != nil {
    -		t.Fatal(err)
    -	}
    -
    -}
    -
    -func TestTailoringManualRulesDoesNotGenerateRemediations(t *testing.T) {
    rhmdnd rhmdnd approved these changes on Oct 07, 2026 18:56 UTC
    Approved Reviewer

    /lgtm
    /ok-to-test

    openshift-ci[bot] openshift-ci[bot] commented on Oct 07, 2026 18:57 UTC
    Bot

    [APPROVALNOTIFIER] This PR is APPROVED

    This pull-request has been approved by: <a href="https://github.com/ComplianceAsCode/compliance-operator/pull/1441#" title="Author self-approved">redhat-chai-bot</a>, <a href="https://github.com/ComplianceAsCode/compliance-operator/pull/1441#pullrequestreview-5446818770" 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":[]} -->

    openshift-ci[bot] openshift-ci[bot] commented on Oct 07, 2026 19:41 UTC
    Bot

    @redhat-chai-bot: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

    Test name | Commit | Details | Required | Rerun command
    --- | --- | --- | --- | ---
    ci/prow/e2e-aws-tls-scanner-5-0 | 4ee7079a19b7e8d8478136d98009650237429954 | link | false | /test e2e-aws-tls-scanner-5-0
    ci/prow/e2e-aws-serial | 4ee7079a19b7e8d8478136d98009650237429954 | link | true | /test e2e-aws-serial

    Full PR test history. Your PR dashboard.

    <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. I understand the commands that are listed here.
    </details>
    <!-- test report -->

    rhmdnd rhmdnd commented on Oct 08, 2026 13:46 UTC
    Contributor

    Trimming the parallel suite based on what's already in the tailored suite. Failures are unrelated to the change and being investigated separately.

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