Skip to content

ROSA-745: boilerplate-update and enable MintMaker gomod#760

Closed
MitaliBhalla wants to merge 1 commit into
openshift:mainfrom
MitaliBhalla:rosa-745-mintmaker-gomod
Closed

ROSA-745: boilerplate-update and enable MintMaker gomod#760
MitaliBhalla wants to merge 1 commit into
openshift:mainfrom
MitaliBhalla:rosa-745-mintmaker-gomod

Conversation

@MitaliBhalla

@MitaliBhalla MitaliBhalla commented Jun 12, 2026

Copy link
Copy Markdown

Summary

Test plan

  • CI green

Jira: ROSA-745

Summary by CodeRabbit

  • Chores
    • Updated repository automation settings to explicitly include additional package manager support.
  • Documentation
    • Corrected a spelling mistake in an internal comment for improved clarity.

@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: beb5303d-0284-446a-9809-761311faa16f

📥 Commits

Reviewing files that changed from the base of the PR and between 2274acf and 80d34dd.

📒 Files selected for processing (2)
  • .github/renovate.json
  • integration/fixtures_test.go
✅ Files skipped from review due to trivial changes (2)
  • integration/fixtures_test.go
  • .github/renovate.json

Walkthrough

This PR adds an enabledManagers array to the Renovate configuration to explicitly enable the tekton and gomod managers, and fixes a misspelled term in a comment within an integration test fixture file. No executable logic changes.

Changes

Config and Comment Fixes

Layer / File(s) Summary
Renovate managers configuration
.github/renovate.json
Adds an enabledManagers array enabling the tekton and gomod managers.
Test comment spelling fix
integration/fixtures_test.go
Corrects a misspelled term in a comment describing the "referee-addon" bundle behavior.

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

Related issues: None provided.

Related PRs: None provided.

Suggested labels: documentation, dependencies

Suggested reviewers: None specified.

🐰 A hop, a tweak, a config small,
Managers enabled, standing tall,
A comment fixed, its spelling right,
Two tiny changes, clean and light.

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes: boilerplate update and enabling gomod in Renovate.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
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.
Stable And Deterministic Test Names ✅ Passed The PR only edits a comment in integration/fixtures_test.go and Renovate config; no Ginkgo It/Describe/Context/When titles were changed.
Test Structure And Quality ✅ Passed No Ginkgo test code was changed; integration/fixtures_test.go is fixture helpers only and contains no Describe/It/Eventually blocks.
Microshift Test Compatibility ✅ Passed No new Ginkgo specs were added; integration/fixtures_test.go only changes a comment in helper fixtures and contains no It/Describe/Context/When blocks.
Single Node Openshift (Sno) Test Compatibility ✅ Passed No new Ginkgo tests were added; the only Go change is a comment typo fix in fixtures_test.go, so SNO assumptions are not implicated.
Topology-Aware Scheduling Compatibility ✅ Passed No flagged topology pitfalls: the changed deploy manifests use infra affinity and required anti-affinity with maxUnavailable:1, and there are no control-plane/worker selectors, topology spread, or...
Ote Binary Stdout Contract ✅ Passed Changed files are Renovate config and a test comment; no main/init/TestMain/suite setup or stdout writes were introduced.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed No new Ginkgo e2e tests were added; the PR only updates Renovate config and a comment in integration/fixtures_test.go.
No-Weak-Crypto ✅ Passed No weak crypto APIs or custom crypto were added; the only bytes.Equal is a test assertion in secret-propagation coverage.
Container-Privileges ✅ Passed Touched files are a Renovate JSON and a Go test comment; scans found no privileged/host* or allowPrivilegeEscalation/root security-context fields in manifests.
No-Sensitive-Data-In-Logs ✅ Passed Touched files only change Renovate config and a test comment; no log calls or sensitive-data patterns were present.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 12, 2026
@openshift-ci-robot

openshift-ci-robot commented Jun 12, 2026

Copy link
Copy Markdown

@MitaliBhalla: This pull request references ROSA-745 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 initiative to target the "5.0.0" version, but no target version was set.

Details

In response to this:

Summary

Test plan

  • CI green

Jira: ROSA-745

Summary by CodeRabbit

  • Chores
  • Updated dependency management automation configuration with new labels and weekly scheduling for Docker ecosystem updates
  • Enhanced package manager coverage for Renovate with explicit tekton and gomod enablement
  • Updated code quality tooling configuration with improved linting and module verification
  • Removed obsolete CI test configuration
  • Updated team alias mappings

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.pre-commit-config.yaml (1)

59-69: 🛠️ Refactor suggestion | 🟠 Major | ⚡ Quick win

Re-add the repo-required large-file and go fmt hooks.

This update drops two validations the repo guidance still treats as part of the required pre-commit baseline: large file checks and go fmt ./....

Suggested patch
   - repo: https://github.com/pre-commit/pre-commit-hooks
     rev: v5.0.0                          # pinned immutable tag
     hooks:
       - id: check-merge-conflict
       - id: trailing-whitespace
         args: [--markdown-linebreak-ext=md]
       - id: end-of-file-fixer
       - id: check-yaml
         name: YAML syntax (deploy/)
         files: ^deploy/.*\.ya?ml$
         args: [--allow-multiple-documents]
+      - id: check-added-large-files
@@
   - repo: local
     hooks:
+      - id: go-fmt
+        name: go fmt
+        language: system
+        entry: bash -c 'go fmt ./...'
+        types: [go]
+        pass_filenames: false
 
       # -----------------------------------------------------------------------
       # 4. COMPILE CHECK  |  target < 10s cached  |  error

As per coding guidelines, "Pre-commit hooks configured in .pre-commit-config.yaml (go-fmt, go-mod-tidy, large file checks)" and "Validation expectations: 1. Format check: go fmt ./...."

Also applies to: 102-129

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.pre-commit-config.yaml around lines 59 - 69, Re-add the missing pre-commit
validations by restoring the large-file check and a go-fmt check: add the
pre-commit-hooks repo hook with id: check-large-files (repo:
https://github.com/pre-commit/pre-commit-hooks) and add the gofmt hook (repo:
https://github.com/dnephin/pre-commit-gofmt, id: gofmt) configured to run
against ./... (so it enforces `go fmt ./...`); update .pre-commit-config.yaml
where similar blocks exist (also around the other occurrence noted) to include
these hooks alongside check-merge-conflict, trailing-whitespace,
end-of-file-fixer, and check-yaml.

Source: Coding guidelines

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In @.pre-commit-config.yaml:
- Around line 59-69: Re-add the missing pre-commit validations by restoring the
large-file check and a go-fmt check: add the pre-commit-hooks repo hook with id:
check-large-files (repo: https://github.com/pre-commit/pre-commit-hooks) and add
the gofmt hook (repo: https://github.com/dnephin/pre-commit-gofmt, id: gofmt)
configured to run against ./... (so it enforces `go fmt ./...`); update
.pre-commit-config.yaml where similar blocks exist (also around the other
occurrence noted) to include these hooks alongside check-merge-conflict,
trailing-whitespace, end-of-file-fixer, and check-yaml.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 299a547b-6082-44e0-8dc6-a878c4c92425

📥 Commits

Reviewing files that changed from the base of the PR and between d0ae539 and 4b7e7f8.

⛔ Files ignored due to path filters (14)
  • boilerplate/_data/last-boilerplate-commit is excluded by !boilerplate/**
  • boilerplate/_lib/container-make is excluded by !boilerplate/**
  • boilerplate/_lib/subscriber-propose-update is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/OWNERS_ALIASES is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/README.md is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/TEST_README.md is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/app-sre.md is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/csv-generate/csv-generate.sh is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/dependabot.yml is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/olm_pko_migration.py is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/test_olm_pko_migration.py is excluded by !boilerplate/**
  • build/Dockerfile is excluded by !build/**
  • build/Dockerfile.olm-registry is excluded by !build/**
  • build/Dockerfile.webhook is excluded by !build/**
📒 Files selected for processing (5)
  • .ci-operator.yaml
  • .github/dependabot.yml
  • .github/renovate.json
  • .pre-commit-config.yaml
  • OWNERS_ALIASES
💤 Files with no reviewable changes (1)
  • .ci-operator.yaml

@openshift-ci

openshift-ci Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: MitaliBhalla
Once this PR has been reviewed and has the lgtm label, please assign venkateshsredhat for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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

@codecov-commenter

codecov-commenter commented Jun 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.21%. Comparing base (d0ae539) to head (80d34dd).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #760   +/-   ##
=======================================
  Coverage   59.21%   59.21%           
=======================================
  Files          62       62           
  Lines        4127     4127           
=======================================
  Hits         2444     2444           
  Misses       1534     1534           
  Partials      149      149           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@MitaliBhalla MitaliBhalla force-pushed the rosa-745-mintmaker-gomod branch 2 times, most recently from b656aa4 to 188ff2d Compare June 12, 2026 09:50
@MitaliBhalla

Copy link
Copy Markdown
Author

/test precommit-check

@MitaliBhalla MitaliBhalla force-pushed the rosa-745-mintmaker-gomod branch from 188ff2d to 2274acf Compare June 12, 2026 11:02

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.pre-commit-config.yaml:
- Around line 93-100: The golangci-lint pre-commit hook currently lints the
whole repo (entry uses ./...) and has pass_filenames: false which causes the run
to exceed the 120s timeout; change the hook so it lints only staged/changed
files by setting pass_filenames: true and update the entry command to accept
filenames (e.g., replace ./... with "$@" in the entry bash command) or add an
incremental mode like --new-from-rev as an arg; update the hook with the
existing id/name golangci-lint and ensure the entry uses "$@" so golangci-lint
runs only on the files passed by pre-commit.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 58a98600-76af-4b92-9d68-b0b85240954d

📥 Commits

Reviewing files that changed from the base of the PR and between 188ff2d and 2274acf.

⛔ Files ignored due to path filters (8)
  • boilerplate/_data/last-boilerplate-commit is excluded by !boilerplate/**
  • boilerplate/_lib/container-make is excluded by !boilerplate/**
  • boilerplate/_lib/subscriber-propose-update is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/OWNERS_ALIASES is excluded by !boilerplate/**
  • boilerplate/openshift/golang-osd-operator/dependabot.yml is excluded by !boilerplate/**
  • build/Dockerfile is excluded by !build/**
  • build/Dockerfile.olm-registry is excluded by !build/**
  • build/Dockerfile.webhook is excluded by !build/**
📒 Files selected for processing (6)
  • .ci-operator.yaml
  • .claude/skills/prow-ci/SKILL.md
  • .github/dependabot.yml
  • .github/renovate.json
  • .pre-commit-config.yaml
  • OWNERS_ALIASES
💤 Files with no reviewable changes (1)
  • .ci-operator.yaml
✅ Files skipped from review due to trivial changes (3)
  • .github/renovate.json
  • .claude/skills/prow-ci/SKILL.md
  • OWNERS_ALIASES
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/dependabot.yml

Comment thread .pre-commit-config.yaml Outdated
Add enabledManagers tekton/gomod in renovate.json; boilerplate-update
when no equivalent upstream PR is already open.
@MitaliBhalla MitaliBhalla force-pushed the rosa-745-mintmaker-gomod branch from 2274acf to 80d34dd Compare July 1, 2026 06:46
@MitaliBhalla

MitaliBhalla commented Jul 1, 2026

Copy link
Copy Markdown
Author

Refreshed branch: minimal ROSA-745 diff (renovate enabledManagers; boilerplate-update only if no parallel boilerplate PR).

@MitaliBhalla

MitaliBhalla commented Jul 1, 2026

Copy link
Copy Markdown
Author

Closing ROSA-745 fleet PR — superseded by corrected rollout plan.

Problem: these PRs bundled redundant repo-root enabledManagers (already inherited via extends openshift/boilerplate #748), unnecessary boilerplate churn, and PKO/fixture noise. A fresh minimal PR per repo will follow the correct model.

Jira: ROSA-745

@openshift-ci

openshift-ci Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

@MitaliBhalla: The following test 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/precommit-check 80d34dd link true /test precommit-check

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.

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

Labels

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants