Skip to content

NO-ISSUE: Update github.com/openshift/api digest to 94aed51#852

Open
red-hat-konflux[bot] wants to merge 1 commit intomasterfrom
konflux/mintmaker/master/github.com-openshift-api-digest
Open

NO-ISSUE: Update github.com/openshift/api digest to 94aed51#852
red-hat-konflux[bot] wants to merge 1 commit intomasterfrom
konflux/mintmaker/master/github.com-openshift-api-digest

Conversation

@red-hat-konflux
Copy link
Copy Markdown

@red-hat-konflux red-hat-konflux bot commented Mar 20, 2026

This PR contains the following updates:

Package Type Update Change
github.com/openshift/api require digest b7d0481 -> 94aed51

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

@red-hat-konflux
Copy link
Copy Markdown
Author

red-hat-konflux bot commented Mar 20, 2026

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: api/go.sum
Command failed: go get -t ./...
go: downloading sigs.k8s.io/controller-runtime v0.22.4
go: downloading sigs.k8s.io/cluster-api v1.11.0
go: downloading k8s.io/apimachinery v0.35.1
go: downloading github.com/openshift/api v0.0.0-20260330135637-94aed510f1af
go: downloading k8s.io/client-go v0.34.2
go: downloading k8s.io/utils v0.0.0-20251002143259-bc988d571ff4
go: downloading k8s.io/kube-openapi v0.0.0-20251125145642-4e65d59e963e
go: downloading sigs.k8s.io/randfill v1.0.0
go: downloading sigs.k8s.io/structured-merge-diff/v6 v6.3.1
go: downloading golang.org/x/net v0.47.0
go: downloading github.com/fxamacker/cbor/v2 v2.9.0
go: downloading sigs.k8s.io/yaml v1.6.0
go: downloading k8s.io/klog/v2 v2.130.1
go: downloading gopkg.in/inf.v0 v0.9.1
go: downloading sigs.k8s.io/json v0.0.0-20250730193827-2d320260d730
go: downloading go.yaml.in/yaml/v2 v2.4.3
go: downloading github.com/x448/float16 v0.8.4
go: downloading github.com/go-logr/logr v1.4.3
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading golang.org/x/text v0.31.0
go: downloading k8s.io/api v0.35.1
go: downloading k8s.io/apiextensions-apiserver v0.34.2
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/emicklei/go-restful/v3 v3.13.0
go: downloading github.com/go-openapi/jsonreference v0.21.3
go: downloading github.com/go-openapi/swag v0.25.3
go: downloading github.com/google/gnostic-models v0.7.1
go: downloading github.com/google/go-cmp v0.7.0
go: downloading github.com/onsi/gomega v1.38.2
go: downloading github.com/go-openapi/jsonpointer v0.22.3
go: downloading github.com/go-openapi/swag/yamlutils v0.25.3
go: downloading github.com/go-openapi/swag/fileutils v0.25.3
go: downloading github.com/go-openapi/swag/jsonutils v0.25.3
go: downloading github.com/go-openapi/swag/cmdutils v0.25.3
go: downloading github.com/go-openapi/swag/stringutils v0.25.3
go: downloading github.com/go-openapi/swag/typeutils v0.25.3
go: downloading github.com/go-openapi/swag/netutils v0.25.3
go: downloading github.com/go-openapi/swag/loading v0.25.3
go: downloading github.com/go-openapi/swag/jsonname v0.25.3
go: downloading github.com/go-openapi/swag/mangling v0.25.3
go: downloading github.com/go-openapi/swag/conv v0.25.3
go: downloading go.yaml.in/yaml/v3 v3.0.4
go: downloading google.golang.org/protobuf v1.36.10
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading k8s.io/api v0.35.3
go: github.com/openshift/cluster-api-provider-agent/api/v1beta1 imports
	k8s.io/client-go/kubernetes/scheme imports
	k8s.io/api/storagemigration/v1alpha1: cannot find module providing package k8s.io/api/storagemigration/v1alpha1

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 20, 2026
@openshift-ci-robot
Copy link
Copy Markdown

@red-hat-konflux[bot]: This pull request explicitly references no jira issue.

Details

In response to this:

This PR contains the following updates:

Package Type Update Change
github.com/openshift/api require digest b7d0481 -> c73917c

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

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
Copy link
Copy Markdown

coderabbitai bot commented Mar 20, 2026

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

Walkthrough

Updated github.com/openshift/api requirement in api/go.mod from pseudo-version v0.0.0-20240830023148-b7d0481c9094 to commit-pinned b3abc7399da9. No other require or replace directives were changed.

Changes

Cohort / File(s) Summary
Dependency Version Update
api/go.mod
Replaced github.com/openshift/api pseudo-version v0.0.0-20240830023148-b7d0481c9094 with commit-pinned b3abc7399da9. No other module directives or source changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/master/github.com-openshift-api-digest

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

@openshift-ci openshift-ci bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Mar 20, 2026
@openshift-ci openshift-ci bot requested review from adriengentil and avishayt March 20, 2026 12:26
@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 20, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: red-hat-konflux[bot]
Once this PR has been reviewed and has the lgtm label, please assign rccrdpccl 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

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Mar 20, 2026

Hi @red-hat-konflux[bot]. Thanks for your PR.

I'm waiting for a openshift 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.

@openshift-ci openshift-ci bot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Mar 20, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

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 the current code and only fix it if needed.

Inline comments:
In `@api/go.mod`:
- Line 6: The require line for the module symbol "github.com/openshift/api"
currently uses a bare commit hash (c73917c76a14) which is invalid; replace that
entry with a valid semantic version or a Go pseudo-version for that commit (or
run "go get github.com/openshift/api@c73917c76a14" to let Go generate the
correct pseudo-version), then run "go mod tidy" to update go.mod/go.sum so
dependency resolution succeeds.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8417c2f3-11ab-4986-b731-f850e3d71324

📥 Commits

Reviewing files that changed from the base of the PR and between ad2c831 and 7220553.

📒 Files selected for processing (1)
  • api/go.mod

api/go.mod Outdated

require (
github.com/openshift/api v0.0.0-20240830023148-b7d0481c9094
github.com/openshift/api c73917c76a14
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

# Verify the openshift/api require version in api/go.mod matches semver or pseudo-version.
line="$(rg -nP '^\s*github\.com/openshift/api\s+\S+' api/go.mod)"
echo "Found: $line"

version="$(awk '/^\s*github\.com\/openshift\/api\s+/ {print $2}' api/go.mod)"
echo "Parsed version: $version"

# Accept semver tags (vX.Y.Z...) or Go pseudo-version (vX.Y.Z-yyyymmddhhmmss-abcdefabcdef)
if [[ "$version" =~ ^v[0-9]+\.[0-9]+\.[0-9]+([-.].*)?$ ]] || [[ "$version" =~ ^v[0-9]+\.[0-9]+\.[0-9]+-[0-9]{14}-[0-9a-f]{12}$ ]]; then
  echo "OK: version format is valid."
else
  echo "FAIL: version format is invalid for go.mod require directive."
  exit 1
fi

Repository: openshift/cluster-api-provider-agent

Length of output: 218


🏁 Script executed:

#!/bin/bash

# Read the api/go.mod file to see the context around line 6
echo "=== Content of api/go.mod with context ==="
cat -n api/go.mod | sed -n '1,15p'

echo -e "\n=== Check if this is within a require block ==="
head -20 api/go.mod

Repository: openshift/cluster-api-provider-agent

Length of output: 1267


🌐 Web query:

Go module require directive version format specification

💡 Result:

In a go.mod file, a require directive has the form:

require module/path vX.Y.Z

Version format rules (what’s allowed after the module path):

  • Must be a canonical module version: it starts with v and is a Semantic Versioning 2.0.0 string: vMAJOR.MINOR.PATCH, optionally with pre-release (-...) and/or build metadata (+...). Examples: v1.2.3, v1.2.3-rc.1, v2.0.9+meta. [1]
  • Major version must match the module path’s major suffix (Semantic Import Versioning):
    • For v0/v1, the module path is typically example.com/mod.
    • For v2+, the module path must end in /vN and the required version must be vN.x.y, e.g. require example.com/mod/v2 v2.3.4. [2][3]
  • Pseudo-versions are allowed (generated by Go tools for untagged commits). Canonical forms include:
    • vX.0.0-yyyymmddhhmmss-abcdefabcdef (no base tag)
    • vX.Y.(Z+1)-0.yyyymmddhhmmss-abcdefabcdef (based on a prior tag) [1]
      (Also described as baseVersionPrefix-timestamp-revisionIdentifier.) [2]
  • +incompatible may appear when a repo has semver tags (often v2+) but does not have a go.mod at the repo root; Go may record versions like v4.1.2+incompatible (and it can also appear on pseudo-versions). [1]

What require does not support: version ranges/constraints like ^1.2, >=1.2, etc.—it records a specific minimum version, and the go command resolves the final build list via minimal version selection. [1]


Replace bare commit hash with valid Go module version

Line 6 uses a raw commit hash c73917c76a14, which violates Go module require syntax. Module versions must use semantic versioning or Go's pseudo-version format. This will break dependency resolution.

Proposed fix
-	github.com/openshift/api c73917c76a14
+	github.com/openshift/api v0.0.0-<yyyymmddhhmmss>-c73917c76a14
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@api/go.mod` at line 6, The require line for the module symbol
"github.com/openshift/api" currently uses a bare commit hash (c73917c76a14)
which is invalid; replace that entry with a valid semantic version or a Go
pseudo-version for that commit (or run "go get
github.com/openshift/api@c73917c76a14" to let Go generate the correct
pseudo-version), then run "go mod tidy" to update go.mod/go.sum so dependency
resolution succeeds.

@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-openshift-api-digest branch from 7220553 to e8c0051 Compare March 20, 2026 20:24
@red-hat-konflux red-hat-konflux bot changed the title NO-ISSUE: Update github.com/openshift/api digest to c73917c NO-ISSUE: Update github.com/openshift/api digest to 324a1bc Mar 20, 2026
@red-hat-konflux red-hat-konflux bot changed the title NO-ISSUE: Update github.com/openshift/api digest to 324a1bc NO-ISSUE: Update github.com/openshift/api digest to 8689398 Mar 25, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-openshift-api-digest branch 2 times, most recently from 56c1339 to 3dd9528 Compare March 26, 2026 12:36
@red-hat-konflux red-hat-konflux bot changed the title NO-ISSUE: Update github.com/openshift/api digest to 8689398 NO-ISSUE: Update github.com/openshift/api digest to 30c2ef7 Mar 26, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-openshift-api-digest branch from 3dd9528 to 9dd72aa Compare March 27, 2026 12:27
@red-hat-konflux red-hat-konflux bot changed the title NO-ISSUE: Update github.com/openshift/api digest to 30c2ef7 NO-ISSUE: Update github.com/openshift/api digest to b3abc73 Mar 27, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-openshift-api-digest branch from 9dd72aa to 8de3cf5 Compare March 27, 2026 20:28
@red-hat-konflux red-hat-konflux bot changed the title NO-ISSUE: Update github.com/openshift/api digest to b3abc73 NO-ISSUE: Update github.com/openshift/api digest to 993e604 Mar 27, 2026
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-openshift-api-digest branch from 8de3cf5 to 905119a Compare March 29, 2026 16:22
@red-hat-konflux red-hat-konflux bot changed the title NO-ISSUE: Update github.com/openshift/api digest to 993e604 NO-ISSUE: Update github.com/openshift/api digest to 1e7cd4b Mar 29, 2026
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux bot force-pushed the konflux/mintmaker/master/github.com-openshift-api-digest branch from 905119a to 7ea3ad6 Compare March 30, 2026 16:18
@red-hat-konflux red-hat-konflux bot changed the title NO-ISSUE: Update github.com/openshift/api digest to 1e7cd4b NO-ISSUE: Update github.com/openshift/api digest to 94aed51 Mar 30, 2026
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. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant