Skip to content

NO-ISSUE: Configure CodeRabbit to skip vendored dependencies - #866

Open
tmshort wants to merge 1 commit into
openshift:mainfrom
tmshort:coderabbit-vendor-filter
Open

tmshort wants to merge 1 commit into
openshift:mainfrom
tmshort:coderabbit-vendor-filter

Conversation

@tmshort

@tmshort tmshort commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Exclude files under vendor directories from CodeRabbit reviews, including the root and nested Go module vendor directories. The recursive filter also covers vendor directories added later.

Validation

  • git diff --check origin/main...HEAD

Summary by CodeRabbit

  • Chores
    • Excluded vendor paths from automated code reviews.

Signed-off-by: Todd Short <tshort@redhat.com>
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Pipeline controller notification

This PR uses the pipeline controller for second-stage tests. Selection and triggering follow the repository configuration.

Use /test ? to list jobs and /pipeline help for commands.

@coderabbitai

coderabbitai Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

No actionable comments were generated in the recent review.

Walkthrough

The review configuration now excludes paths matching **/vendor/**.

Changes

Review path filtering

Layer / File(s) Summary
Vendor path exclusion
.coderabbit.yaml
The review configuration excludes paths matching **/vendor/**.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: Minimal · up to 0d6f6

This change configures CodeRabbit to skip vendored dependency directories. It does not affect runtime behavior, and no merge-blocking risk remains.

Pre-merge checks: Passed 14

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title "NO-ISSUE: Configure CodeRabbit to skip vendored dependencies" matches the change. The only changed file is .coderabbit.yaml, which adds a path filter that excludes /vendor/ from reviews…
Stable And Deterministic Test Names Passed The check does not apply to this pull request. PR #866 (openshift/operator-framework-operator-controller, author tmshort, head coderabbit-vendor-filter into main) changes one file. `git diff --name-st…
Test Structure And Quality Passed The check applies to Ginkgo test code. This PR (#866, author tmshort, head coderabbit-vendor-filter into main) changes only one file: .coderabbit.yaml, added with 3 lines that exclude **/vendor/**…
Microshift Test Compatibility Passed The check applies only when new Ginkgo e2e tests (It, Describe, Context, When, etc.) are added. The reviewed range changes one file: .coderabbit.yaml (status A, added). A search of the added lines f…
Single Node Openshift (Sno) Test Compatibility Passed The check applies only when new Ginkgo e2e tests (It, Describe, Context, When, etc.) are added. The pull request (#866, author tmshort, head coderabbit-…
Topology-Aware Scheduling Compatibility Passed The check is not applicable. PR #866 (openshift/operator-framework-operator-controller, author tmshort, head coderabbit-vendor-filter into main) changes only one file: a new .coderabbit.yaml. Its on…
Ote Binary Stdout Contract Passed The check is not applicable to this pull request. The changed-file inventory between the review base and head contains one file: .coderabbit.yaml, added as a new file. Its only content is a CodeRabb…
Ipv6 And Disconnected Network Test Compatibility Passed The check applies only when new Ginkgo e2e tests (It, Describe, Context, When, etc.) are added. This PR's changed-file inventory contains one file, .coderabbit.yaml, added with 3 lines. It sets `rev…
No-Weak-Crypto Passed The no-weak-crypto check is applicable only to code that introduces cryptographic primitives or comparisons. The PR (openshift/operator-framework-operator-controller #866, author tmshort, head coderab…
Container-Privileges Passed The check is not applicable to this pull request. PR #866 (openshift/operator-framework-operator-controller, author tmshort) adds one file, .coderabbit.yaml. The diff is three lines that set `review…
No-Sensitive-Data-In-Logs Passed The no-sensitive-data-in-logs check does not apply to this pull request. The reviewed range changes one file: a new .coderabbit.yaml (status A) with three lines that set reviews.path_filters to ex…
Full details: Title check

Explanation

The title "NO-ISSUE: Configure CodeRabbit to skip vendored dependencies" matches the change. The only changed file is .coderabbit.yaml, which adds a path filter that excludes /vendor/ from reviews. The title names the main change. The "NO-ISSUE:" prefix is a tag for a change without a linked issue and does not affect the match.

Full details: Stable And Deterministic Test Names

Explanation

The check does not apply to this pull request. PR #866 (openshift/operator-framework-operator-controller, author tmshort, head coderabbit-vendor-filter into main) changes one file. git diff --name-status over the reviewed range reports only A .coderabbit.yaml, which adds a path exclusion for **/vendor/** to CodeRabbit review settings. No Go test files change, so no Ginkgo test titles (It, Describe, Context, When, etc.) are added or modified. My first title-search command had a flag error (rg -E), so its "no matches" output was not evidence. The changed-file inventory alone is sufficient to establish that no test titles are touched.

Full details: Test Structure And Quality

Explanation

The check applies to Ginkgo test code. This PR (#866, author tmshort, head coderabbit-vendor-filter into main) changes only one file: .coderabbit.yaml, added with 3 lines that exclude **/vendor/** from CodeRabbit reviews. The changed-file inventory from git diff --name-status refs/coderabbit/pre-merge-check/base refs/coderabbit/pre-merge-check/head confirms that .coderabbit.yaml is the only changed path. No Ginkgo It/BeforeEach/AfterEach blocks, Eventually/Consistently calls, or new test fixtures were added or modified. The check is therefore inapplicable, and it passes. The check's quality criteria, including the informing recommendation for new It() blocks, have no new test code to evaluate.

Full details: Microshift Test Compatibility

Explanation

The check applies only when new Ginkgo e2e tests (It, Describe, Context, When, etc.) are added. The reviewed range changes one file: .coderabbit.yaml (status A, added). A search of the added lines for It(, g.It(, Describe(, Context(, and When( returned no matches. The PR adds no e2e tests and no test code, so there is nothing to assess against the MicroShift API and namespace restrictions. The check is inapplicable and passes.

Full details: Single Node Openshift (Sno) Test Compatibility

Explanation

The check applies only when new Ginkgo e2e tests (It, Describe, Context, When, etc.) are added. The pull request (#866, author tmshort, head coderabbit-vendor-filter into main) changes a single file: .coderabbit.yaml, added with 3 lines that set reviews.path_filters to exclude !**/vendor/**. The changed-file inventory from git diff --name-status shows only A .coderabbit.yaml. No Go test files or Ginkgo test declarations were added or modified, so there is no new e2e test to assess for SNO or multi-node assumptions. The check is inapplicable and passes.

Full details: Topology-Aware Scheduling Compatibility

Explanation

The check is not applicable. PR #866 (openshift/operator-framework-operator-controller, author tmshort, head coderabbit-vendor-filter into main) changes only one file: a new .coderabbit.yaml. Its only content is a reviews.path_filters entry, "!**/vendor/**", which excludes vendored paths from CodeRabbit review. The diff, confirmed with git diff --name-status against the review base, adds no deployment manifests, operator code, controllers, or scheduling constraints. No pod anti-affinity, topology spread, nodeSelector, toleration, replica count, or PodDisruptionBudget changes exist. Nothing in the diff can introduce a topology-compatibility failure condition, so the check passes.

Full details: Ote Binary Stdout Contract

Explanation

The check is not applicable to this pull request. The changed-file inventory between the review base and head contains one file: .coderabbit.yaml, added as a new file. Its only content is a CodeRabbit path_filters entry, "!**/vendor/**". The pull request changes no Go code, no main(), init(), TestMain(), or Ginkgo suite setup, and no top-level var/const initializers. It cannot add or alter any stdout write from an OTE binary, so no failure condition of the "OTE Binary Stdout Contract" check is introduced. The PR author is tmshort (provider-reported primary record). Author identity does not affect this check.

Full details: Ipv6 And Disconnected Network Test Compatibility

Explanation

The check applies only when new Ginkgo e2e tests (It, Describe, Context, When, etc.) are added. This PR's changed-file inventory contains one file, .coderabbit.yaml, added with 3 lines. It sets reviews.path_filters to exclude !**/vendor/**. The diff contains no Ginkgo test constructs, no IP address handling, no URL building, and no external connectivity. The check is therefore inapplicable, and no failure condition is introduced. Provider-reported primary PR: openshift/operator-framework-operator-controller #866, target main, source coderabbit-vendor-filter, author tmshort.

Full details: No-Weak-Crypto

Explanation

The no-weak-crypto check is applicable only to code that introduces cryptographic primitives or comparisons. The PR (openshift/operator-framework-operator-controller #866, author tmshort, head coderabbit-vendor-filter into main) changes one file: a new .coderabbit.yaml (+3 lines). It adds reviews.path_filters with "!**/vendor/**" to exclude vendored code from CodeRabbit reviews. The diff contains no hashing, cipher, random-number, token-comparison, or custom crypto code. No failure condition in the check is triggered, so the check passes.

Full details: Container-Privileges

Explanation

The check is not applicable to this pull request. PR #866 (openshift/operator-framework-operator-controller, author tmshort) adds one file, .coderabbit.yaml. The diff is three lines that set reviews.path_filters to exclude **/vendor/**. The PR contains no container or Kubernetes manifests and no Go or deployment changes. It therefore cannot add privileged: true, hostPID, hostNetwork, hostIPC, SYS_ADMIN, root execution, or allowPrivilegeEscalation: true. No failure condition of the custom check is introduced.

Full details: No-Sensitive-Data-In-Logs

Explanation

The no-sensitive-data-in-logs check does not apply to this pull request. The reviewed range changes one file: a new .coderabbit.yaml (status A) with three lines that set reviews.path_filters to exclude !**/vendor/**. The diff adds no runtime code, no logging statements, and no data handling. Because the change introduces no logging, it cannot introduce exposure of passwords, tokens, API keys, PII, session IDs, internal hostnames, or customer data.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Central YAML; Path: .coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 9f00b9ed-f1e8-4638-9c21-809f0158731c
Commits

Reviewing files that changed from the base of the PR and between e8c8d35 and 0d6f647.

Files selected for processing: 1

  • .coderabbit.yaml

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 10 remain after this review.

@tmshort tmshort changed the title 🌱 Configure CodeRabbit to skip vendored dependencies NO-ISSUE: Configure CodeRabbit to skip vendored dependencies Nov 30, 2026
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Nov 30, 2026
@openshift-ci-robot

Copy link
Copy Markdown

@tmshort: This pull request explicitly references no jira issue.

Details

In response to this:

Summary

Exclude files under vendor directories from CodeRabbit reviews, including the root and nested Go module vendor directories. The recursive filter also covers vendor directories added later.

Validation

  • git diff --check origin/main...HEAD

Summary by CodeRabbit

  • Chores
  • Excluded vendor paths from automated code reviews.

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.

@openshift-ci
openshift-ci Bot requested review from joelanford and pedjak November 30, 2026 18:58
@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 30, 2026
@openshift-ci

openshift-ci Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

@tmshort: all tests passed!

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.

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 1, 2026
@openshift-merge-bot

Copy link
Copy Markdown
Contributor

Scheduling required tests:
/test e2e-aws-olmv1-ext
/test e2e-aws-techpreview-olmv1-ext
/test e2e-gcp-ovn-upgrade
/test openshift-e2e-aws-techpreview

Scheduling tests matching the pipeline_run_if_changed or not excluded by pipeline_skip_if_only_changed parameters:
/test openshift-e2e-aws

@openshift-ci

openshift-ci Bot commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: grokspawn, tmshort

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:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tmshort

tmshort commented Dec 1, 2026

Copy link
Copy Markdown
Contributor Author

/retest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants