Repository navigation
Description
Description
Problem
The CI workflow currently builds images and invokes the E2E suites without considering which files changed. Documentation-only changes and edits to .github/renovate.json therefore trigger GPU infrastructure provisioning and E2E testing even though they do not change operator behavior.
Skipping these unnecessary runs would reduce infrastructure usage and contributor wait times.
Proposed improvement
Add a change-detection job and conditionally skip E2E tests when all changed files belong to an explicitly approved list of documentation or repository maintenance paths.
Initial candidates include:
docs/**- Explicitly selected README and contributor documentation files
.github/renovate.json
Continue running relevant lightweight checks, including configuration validation.
A Renovate configuration change should be distinguished from a Renovate-generated dependency update. Updates to Go dependencies, operand images, Helm dependencies, or other runtime components should retain E2E coverage.
Implementation considerations
- Apply filtering to
pull-request/<number>branches initially. Preserve existing behavior formain, release branches, manual runs, and scheduled forward-compatibility testing. - Evaluate the complete PR diff against its target branch, rather than only the latest commit or push. A documentation commit following a code change must not cause E2E tests to be skipped.
- Run E2E tests for mixed changes, unknown paths, or when the comparison base cannot be determined.
- Account for both old and new paths when evaluating renames.
- Use job-level conditions and preserve a reliable required-check result. Workflow-level path filtering can leave required checks pending.
- Ensure the final check distinguishes an intentional skip from an E2E failure, cancellation, or unexpected skip.
- Keep the existing release dependency on successful E2E testing intact.
Acceptance criteria
- Documentation-only and approved repository maintenance changes skip E2E tests.
- Mixed documentation and runtime changes run E2E tests.
- Dependency, operand image, deployment, build, and relevant CI changes retain E2E coverage.
- The workflow summary explains why E2E tests ran or were skipped.
- Required checks complete correctly for intentional skips and report failures when required tests fail.
- Lightweight tests cover the change classifier, including renames, missing comparison bases, and code changes followed by documentation commits.
Activity
itsrayeedscodespace commentedon Nov 9, 2026
I’d like to work on this issue. Could a maintainer review it for acceptance and assign it to me (@itsrayeedscodespace)?
I opened #3207 before completing the issue assignment step. The approach classifies the complete PR diff against its target branch, permits skips only for an explicit documentation/maintenance allowlist, and preserves required E2E check names and the release dependency. Lightweight classifier and result-handling tests pass locally; GPU E2E has not been run, and the PR is awaiting runner validation.
rahulait commentedon Nov 9, 2026
Hi @itsrayeedscodespace , instead of writing and maintaining our own scripts to do filtering, why not to use already available github actions like https://github.com/dorny/paths-filter?