You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The RHEL AI Konflux pipeline hits the 3h timeout before the full e2e suite finishes. A large share of those scenarios never call vLLM: they are negative auth cases or FastAPI request-handler checks.
Bump-up dependent library [requirements.*.txt for Konflux]
Bump-up library or tool used for development (does not change the final image)
CI configuration change
Konflux configuration change
Unit tests improvement
Integration tests improvement
End to end tests improvement
Benchmarks improvement
Tools used to create PR
Identify any AI code assistants used in this PR (for transparency and review context)
Assisted-by: (e.g., Claude, CodeRabbit, Ollama, etc., N/A if not used)
Generated by: (e.g., tool name and version; N/A if not used)
Related Tickets & Documents
Related Issue #
Closes #
Checklist before requesting a review
I have performed a self-review of my code.
PR has passed all pre-merge test jobs.
If it is a core feature, I have added thorough tests.
Testing
Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.
Summary by CodeRabbit
Testing
RHEL AI end-to-end runs now select a focused set of scenarios covering queries, attachments, streaming, RAG, responses, and other features, rather than the full suite.
Test selection can be configured, and the default excludes scenarios marked as skipped.
RHEL AI runs can access images from the Red Hat registry.
Documentation
Updated testing guidance to explain the RHEL AI scenario selection and provider-specific test behavior.
No actionable comments were generated in the recent review.
Walkthrough
The RHEL AI E2E pipeline now selects @vllm-matrix scenarios. The change tags selected feature scenarios, updates the test runner to accept an overridable Behave tag expression, and mounts a registry pull secret for the test task.
Changes
RHEL AI E2E Matrix
Layer / File(s)
Summary
Query and Responses scenario selection tests/e2e/features/query.feature, tests/e2e/features/streaming_query.feature, tests/e2e/features/responses*.feature, tests/e2e/features/shields_question_validity.feature
Selected query, streaming, Responses, and streaming Responses scenarios gain @vllm-matrix. Shield question validity examples separate matrix-tagged query cases from Responses and RLS API cases.
Selected agent, PDF, conversation cache, feedback, RAG, RBAC, RLS API, shield override, and skills scenarios gain @vllm-matrix.
Pipeline selection and test execution .tekton/integration-tests/README.md, .tekton/integration-tests/pipeline/lightspeed-stack-rhelai-test.yaml, tests/e2e-prow/rhoai/run-tests.sh, docs/testing/e2e_scenarios.md, docs/testing/e2e_testing.md
The RHEL AI pipeline selects @vllm-matrix scenarios and mounts the registry pull secret. The test runner accepts E2E_BEHAVE_TAG_EXPR, which defaults to -skip. The documentation describes the matrix and runtime skip tags.
This change narrows the RHEL AI end-to-end pipeline to a tagged subset of scenarios and mounts a registry pull secret. No concrete merge-blocking risk was found; the main unknown is that no run results were supplied.
Pre-merge checks: 6
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "LCORE-4855: tagging tests for rhelai pipe" matches the main change. The PR adds @vllm-matrix tags to e2e scenarios so the RHEL AI Konflux pipeline runs a smaller set. The title names the ti…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Performance And Algorithmic Complexity
The pull request changes 21 files, and none is application or handler code. The changes are Gherkin tags in tests/e2e/features/*.feature, a shell wiring change in tests/e2e-prow/rhoai/run-tests.sh…
Security And Secret Handling
The PR changes CI wiring, documentation, and Behave tags. I checked the full changed-file list and the added lines in the diff against the five criteria. 1. Hardcoded or logged secrets: None. The …
Full details: Title check
Explanation
The title "LCORE-4855: tagging tests for rhelai pipe" matches the main change. The PR adds @vllm-matrix tags to e2e scenarios so the RHEL AI Konflux pipeline runs a smaller set. The title names the ticket, the action (tagging tests), and the target pipeline. It omits the run-tests.sh tag-expression change and the registry pull-secret mount, which is acceptable for a title.
Full details: Performance And Algorithmic Complexity
Explanation
The pull request changes 21 files, and none is application or handler code. The changes are Gherkin tags in tests/e2e/features/*.feature, a shell wiring change in tests/e2e-prow/rhoai/run-tests.sh, a Tekton pipeline YAML update, and documentation. I checked the file inventory with git diff --name-status and the run-tests.sh patch. The shell change only sets a default E2E_BEHAVE_TAG_EXPR and calls uv run behave directly. It adds no loops, list operations, caches, or per-item API calls. The tag and pipeline changes add no algorithmic work, N+1 queries, unbounded growth, or missing pagination. None of the five BLOCKING criteria applies, so the check passes.
Full details: Security And Secret Handling
Explanation
The PR changes CI wiring, documentation, and Behave tags. I checked the full changed-file list and the added lines in the diff against the five criteria. 1. Hardcoded or logged secrets: None. The only secret reference is secretName: redhat-registry-io-pull-secret in .tekton/integration-tests/pipeline/lightspeed-stack-rhelai-test.yaml. The secret value is not in the diff. No new command prints or cats the mounted path /var/run/redhat-registry-pull-secret. 2. Missing auth on API endpoints: Not applicable. No API endpoint code changed. The .feature edits only add tags. 3. Injection: No new risk found. E2E_BEHAVE_TAG_EXPR='not @skip and @vllm-matrix' is a constant set in the pipeline YAML. In tests/e2e-prow/rhoai/run-tests.sh, the default : "${E2E_BEHAVE_TAG_EXPR:=-skip}" is passed to behave as a quoted --tags="${E2E_BEHAVE_TAG_EXPR}" argument. 4. Sensitive data in responses or logs: None. The script's new echo prints only the tag expression. 5. K8s/RH secrets missing OwnerReferences: Not applicable. The PR creates no Secret. It mounts an existing secret, redhat-registry-io-pull-secret, as a volume. Residual note, outside the listed criteria: the RHEL AI task now mounts the registry pull secret into the e2e step's pod. Mount scope and read-only settings are not visible in the diff. This is an access-scope question, not one of the listed failure conditions.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Simplify code
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Recent review details
Context from checks skipped due to timeout: 15
GitHub Check: E2E: ci / authorized
GitHub Check: E2E: ci / skills
GitHub Check: E2E: ci / other
GitHub Check: E2E: ci / rbac
GitHub Check: E2E: ci / shields
GitHub Check: E2E: ci / mcp
GitHub Check: E2E: ci / default
GitHub Check: Red Hat Konflux / lightspeed-core-0-8-enterprise-contract / lightspeed-stack-0-8
GitHub Check: Red Hat Konflux / rag-content-0-8-e2e-tests / lightspeed-stack-0-8
GitHub Check: Red Hat Konflux / lightspeed-stack-0-8-e2e-tests / lightspeed-stack-0-8
GitHub Check: Red Hat Konflux / lightspeed-stack-0-8-rhoai-tests / lightspeed-stack-0-8
[warning] 71-71: set +e (or set +o errexit) disables the shell's errexit option, so the script keeps running after a command fails. This masks failures of security-critical operations (downloads, signature/checksum verification, permission changes, cleanup of secrets), letting the script proceed with a bad or insecure state. Leave errexit enabled (set -e / set -euo pipefail), or handle failures explicitly with if/|| and an explicit exit instead of globally turning off failure detection.
Context: set +e
Note: [CWE-754] Improper Check for Unusual or Exceptional Conditions.
(set-plus-e-error-masking-bash)
Additional comments: 4
tests/e2e/features/okp_rag.feature: 1
18-18: Stability & Availability
The premise that setup runs too late is contradicted. pipeline-konflux.sh creates and links redhat-registry-pull-secret in $NAMESPACE before behave starts. The @cfg_okp before-feature hook deploys Solr later, in the same namespace, and the Solr manifest references that secret. The RHEL AI task mounts the source secret and runs this script. The offline OKP scenario therefore has the pull secret available when it starts Solr. The residual dependency on credential availability is not a defect in this change.
tests/e2e/features/rbac.feature: 1
88-88: Data Integrity & Integration
The inspected evidence does not show a defect in this scenario. The fixture sets no non-vLLM default, and the registry fallback reaches vLLM first in the RHEL AI profile. The residual "wrong backend" result requires an empty vLLM catalog. That is a service-availability condition, not a defect in the PR.
tests/e2e/features/skills.feature: 1
95-95: Functional Correctness
The review's premise, that the RHEL AI job may lack the skill configurations or skill files for the three newly tagged scenarios, is contradicted. The configuration files and both skill directories are repository-owned and present in the checkout the RHEL pipeline runs. The tag only changes which scenarios run. It does not change what they load, so the tagging introduces no new provisioning gap. The requested "inspect job setup" check does not identify a missing artifact.
tests/e2e/features/shields_overrides.feature: 1
12-12: Functional Correctness
The RHEL AI pipeline supplies the shield dependency this scenario needs. The job runs pipeline-konflux.sh, which deploys and waits for mock-guardian, and lightspeed-stack-shields.yaml is in the repository. The concern about a missing shield pack or dependency does not hold.
This branch has not been deployed
No deployments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The RHEL AI Konflux pipeline hits the 3h timeout before the full e2e suite finishes. A large share of those scenarios never call vLLM: they are negative auth cases or FastAPI request-handler checks.
ex : https://konflux-ui.apps.kflux-prd-rh02.0fk9.p1.openshiftapps.com/ns/lightspeed-core-tenant/applications/lightspeed-core-0-8/pipelineruns/lightspeed-stack-0-8-rhelai-tests-gfl2f/logs?task=rhelai-e2e-tests
This PR keeps the 3h timeout and introduces :
As a result, we will be executing 54 scenarios in RhelAI pipe : query / streaming_query / responses / responses_streaming, rlsapi v1 happy path, A2A send + multi-turn, BYOK PDF query, inline RAG structure, OKP offline, shield_ids overrides, question_validity query allow/deny, skills query (3), rbac query + models/info smoke, feedback, conversation cache v2.
Type of change
pyproject.toml+uv.lock]requirements.*.txtfor Konflux]Tools used to create PR
Identify any AI code assistants used in this PR (for transparency and review context)
Related Tickets & Documents
Checklist before requesting a review
Testing
Summary by CodeRabbit