Skip to content

NO-ISSUE: Bump the go-dependencies group across 1 directory with 4 updates#843

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/go-dependencies-f8b8778407
Open

NO-ISSUE: Bump the go-dependencies group across 1 directory with 4 updates#843
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/go-dependencies-f8b8778407

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 29, 2026

Bumps the go-dependencies group with 4 updates in the / directory: github.com/diskfs/go-diskfs, github.com/hashicorp/go-version, github.com/onsi/gomega and golang.org/x/sync.

Updates github.com/diskfs/go-diskfs from 1.7.1-0.20251217162235-58541aa8f559 to 1.9.1

Commits

Updates github.com/hashicorp/go-version from 1.8.0 to 1.9.0

Release notes

Sourced from github.com/hashicorp/go-version's releases.

v1.9.0

What's Changed

Enhancements

Internal

New Contributors

Full Changelog: hashicorp/go-version@v1.8.0...v1.9.0

Changelog

Sourced from github.com/hashicorp/go-version's changelog.

1.9.0 (Mar 30, 2026)

ENHANCEMENTS:

Support parsing versions with custom prefixes via opt-in option in hashicorp/go-version#79

INTERNAL:

Commits
  • b80b1e6 Update CHANGELOG for version 1.9.0 (#187)
  • e93736f Bump the github-actions-backward-compatible group across 1 directory with 2 u...
  • c009de0 Bump actions/upload-artifact from 6.0.0 to 7.0.0 in the github-actions-breaki...
  • 0474357 Update GitHub Actions to trigger on pull requests and update go version (#185)
  • b4ab5fc Support parsing versions with custom prefixes via opt-in option (#79)
  • 25c683b Merge pull request #182 from hashicorp/dependabot/github_actions/github-actio...
  • 4f2bcd8 Bump the github-actions-backward-compatible group with 3 updates
  • acb8b18 Merge pull request #180 from hashicorp/dependabot/github_actions/github-actio...
  • 0394c4f Merge pull request #179 from hashicorp/dependabot/github_actions/github-actio...
  • b2fbaa7 Bump the github-actions-backward-compatible group across 1 directory with 2 u...
  • Additional commits viewable in compare view

Updates github.com/onsi/gomega from 1.39.1 to 1.40.0

Release notes

Sourced from github.com/onsi/gomega's releases.

v1.40.0

1.40.0

We're adopting a new release strategy to minimize dependency bloat in projects that consume Gomega. It is a limitation of the go mod toolchain that test subdependencies of your project's direct dependencies get pulled in as indirect dependencies. In the case of Gomega, this ends up pulling in all of Ginkgo into your go.mod even if you are only using Gomega (Gomega uses Ginkgo for its own tests).

Going forward, releases will strip out all tests, tidy up the go.mod and then push this stripped down version to a new master-lite branch. These stripped-down versions will receive the vx.y.z git tag and will be picked up by the go toolchain.

Please open an issue if this new release process causes unexpected changes for your projects.

Changelog

Sourced from github.com/onsi/gomega's changelog.

1.40.0

We're adopting a new release strategy to minimize dependency bloat in projects that consume Gomega. It is a limitation of the go mod toolchain that test subdependencies of your project's direct dependencies get pulled in as indirect dependencies. In the case of Gomega, this ends up pulling in all of Ginkgo into your go.mod even if you are only using Gomega (Gomega uses Ginkgo for its own tests).

Going forward, releases will strip out all tests, tidy up the go.mod and then push this stripped down version to a new master-lite branch. These stripped-down versions will receive the vx.y.z git tag and will be picked up by the go toolchain.

Please open an issue if this new release process causes unexpected changes for your projects.

Commits

Updates golang.org/x/sync from 0.19.0 to 0.20.0

Commits
  • ec11c4a errgroup: fix a typo in the documentation
  • 1a58307 all: modernize interface{} -> any
  • 3172ca5 all: upgrade go directive to at least 1.25.0 [generated]
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Summary by CodeRabbit

  • Chores
    • Updated Go runtime to version 1.25.7
    • Upgraded project dependencies to latest compatible versions for improved stability and platform compatibility

…dates

Bumps the go-dependencies group with 4 updates in the / directory: [github.com/diskfs/go-diskfs](https://github.com/diskfs/go-diskfs), [github.com/hashicorp/go-version](https://github.com/hashicorp/go-version), [github.com/onsi/gomega](https://github.com/onsi/gomega) and [golang.org/x/sync](https://github.com/golang/sync).


Updates `github.com/diskfs/go-diskfs` from 1.7.1-0.20251217162235-58541aa8f559 to 1.9.1
- [Commits](https://github.com/diskfs/go-diskfs/commits/v1.9.1)

Updates `github.com/hashicorp/go-version` from 1.8.0 to 1.9.0
- [Release notes](https://github.com/hashicorp/go-version/releases)
- [Changelog](https://github.com/hashicorp/go-version/blob/main/CHANGELOG.md)
- [Commits](hashicorp/go-version@v1.8.0...v1.9.0)

Updates `github.com/onsi/gomega` from 1.39.1 to 1.40.0
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](onsi/gomega@v1.39.1...v1.40.0)

Updates `golang.org/x/sync` from 0.19.0 to 0.20.0
- [Commits](golang/sync@v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/diskfs/go-diskfs
  dependency-version: 1.9.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/hashicorp/go-version
  dependency-version: 1.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/onsi/gomega
  dependency-version: 1.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: golang.org/x/sync
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. labels Apr 29, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 29, 2026

Labels

The following labels could not be found: dependabot, go. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

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

@dependabot[bot]: This pull request explicitly references no jira issue.

Details

In response to this:

Bumps the go-dependencies group with 4 updates in the / directory: github.com/diskfs/go-diskfs, github.com/hashicorp/go-version, github.com/onsi/gomega and golang.org/x/sync.

Updates github.com/diskfs/go-diskfs from 1.7.1-0.20251217162235-58541aa8f559 to 1.9.1

Commits

Updates github.com/hashicorp/go-version from 1.8.0 to 1.9.0

Release notes

Sourced from github.com/hashicorp/go-version's releases.

v1.9.0

What's Changed

Enhancements

Internal

New Contributors

Full Changelog: hashicorp/go-version@v1.8.0...v1.9.0

Changelog

Sourced from github.com/hashicorp/go-version's changelog.

1.9.0 (Mar 30, 2026)

ENHANCEMENTS:

Support parsing versions with custom prefixes via opt-in option in hashicorp/go-version#79

INTERNAL:

Commits
  • b80b1e6 Update CHANGELOG for version 1.9.0 (#187)
  • e93736f Bump the github-actions-backward-compatible group across 1 directory with 2 u...
  • c009de0 Bump actions/upload-artifact from 6.0.0 to 7.0.0 in the github-actions-breaki...
  • 0474357 Update GitHub Actions to trigger on pull requests and update go version (#185)
  • b4ab5fc Support parsing versions with custom prefixes via opt-in option (#79)
  • 25c683b Merge pull request #182 from hashicorp/dependabot/github_actions/github-actio...
  • 4f2bcd8 Bump the github-actions-backward-compatible group with 3 updates
  • acb8b18 Merge pull request #180 from hashicorp/dependabot/github_actions/github-actio...
  • 0394c4f Merge pull request #179 from hashicorp/dependabot/github_actions/github-actio...
  • b2fbaa7 Bump the github-actions-backward-compatible group across 1 directory with 2 u...
  • Additional commits viewable in compare view

Updates github.com/onsi/gomega from 1.39.1 to 1.40.0

Release notes

Sourced from github.com/onsi/gomega's releases.

v1.40.0

1.40.0

We're adopting a new release strategy to minimize dependency bloat in projects that consume Gomega. It is a limitation of the go mod toolchain that test subdependencies of your project's direct dependencies get pulled in as indirect dependencies. In the case of Gomega, this ends up pulling in all of Ginkgo into your go.mod even if you are only using Gomega (Gomega uses Ginkgo for its own tests).

Going forward, releases will strip out all tests, tidy up the go.mod and then push this stripped down version to a new master-lite branch. These stripped-down versions will receive the vx.y.z git tag and will be picked up by the go toolchain.

Please open an issue if this new release process causes unexpected changes for your projects.

Changelog

Sourced from github.com/onsi/gomega's changelog.

1.40.0

We're adopting a new release strategy to minimize dependency bloat in projects that consume Gomega. It is a limitation of the go mod toolchain that test subdependencies of your project's direct dependencies get pulled in as indirect dependencies. In the case of Gomega, this ends up pulling in all of Ginkgo into your go.mod even if you are only using Gomega (Gomega uses Ginkgo for its own tests).

Going forward, releases will strip out all tests, tidy up the go.mod and then push this stripped down version to a new master-lite branch. These stripped-down versions will receive the vx.y.z git tag and will be picked up by the go toolchain.

Please open an issue if this new release process causes unexpected changes for your projects.

Commits

Updates golang.org/x/sync from 0.19.0 to 0.20.0

Commits
  • ec11c4a errgroup: fix a typo in the documentation
  • 1a58307 all: modernize interface{} -> any
  • 3172ca5 all: upgrade go directive to at least 1.25.0 [generated]
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

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 Apr 29, 2026

Walkthrough

This pull request updates the Go module configuration by bumping the Go version requirement to 1.25.7, upgrading direct dependencies including diskfs, go-version, gomega, and golang.org/x/sync, updating the indirect dependency pkg/xattr, and removing the go-internal indirect requirement.

Changes

Cohort / File(s) Summary
Go Module Configuration
go.mod
Updated Go version from 1.25.0 to 1.25.7; upgraded direct dependencies (github.com/diskfs/go-diskfs, github.com/hashicorp/go-version, github.com/onsi/gomega, golang.org/x/sync); updated indirect dependency github.com/pkg/xattr; dropped github.com/rogpeppe/go-internal v1.11.0.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes


Important

Pre-merge checks failed

Please resolve all errors before merging. Addressing warnings is optional.

❌ Failed checks (1 warning, 2 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description lacks several required sections from the template: explanation of testing, reviewer assignments, and linked issues. Add the missing sections: 'How was this code tested?', 'Assignees' with reviewer list, and 'Links' to related issues. Complete the checklist items including documentation and testing requirements.
Stable And Deterministic Test Names ❓ Inconclusive Unable to execute shell commands to verify git changes and go.mod modifications. Provide git diff output or file contents to verify that only go.mod and go.sum were changed with no test modifications.
Ote Binary Stdout Contract ❓ Inconclusive Unable to execute shell commands to analyze repository structure, dependencies, and OTE Binary Stdout Contract compliance. Please provide the repository contents, go.mod file, and dependency changes to assess for stdout contract violations.
✅ Passed checks (9 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: bumping Go dependencies in the repository with 4 specific updates to direct requirements.
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.
Test Structure And Quality ✅ Passed PR modifies only go.mod dependencies with no changes to Ginkgo test code, making this test quality check inapplicable.
Microshift Test Compatibility ✅ Passed PR only modifies go.mod for dependency bumps and Go version update to 1.25.7. No new test files or Ginkgo e2e tests added.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only modifies go.mod for dependency updates and Go version bumps; no new Ginkgo e2e tests introduced.
Topology-Aware Scheduling Compatibility ✅ Passed This pull request only modifies go.mod and go.sum files to update Go dependencies. The custom check applies specifically to cases where deployment manifests, operator code, or controllers are added or modified by the pull request. Since this PR does not modify any of those files—only dependency versions—the check does not apply.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed This PR only updates dependencies in go.mod and adds no new Ginkgo e2e tests, making the custom check not applicable.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/go_modules/go-dependencies-f8b8778407

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

@openshift-ci openshift-ci Bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 29, 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: 2

🧹 Nitpick comments (1)
go.mod (1)

6-8: Validate go-diskfs 1.9.1 compile/runtime expectations.

github.com/diskfs/go-diskfs is bumped to v1.9.1 (Line 7). Even if Dependabot resolves module graph cleanly, this library bump can include API/behavior changes.

Please ensure the repo compiles and the disk/image workflows still behave correctly (especially any code paths using changed types/options/partition/image handling).

If you have integration coverage around disk image creation/mount/FS ops, consider adding/expanding a small smoke test that exercises the most critical go-diskfs usage paths (to catch subtle behavior changes early).

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` around lines 6 - 8, The go.mod upgrade to github.com/diskfs/go-diskfs
v1.9.1 may introduce API/behavior changes; verify compilation and runtime
behavior by rebuilding and running tests, then exercise all code paths that call
into go-diskfs (look for imports of "github.com/diskfs/go-diskfs" and functions
that create images, partitions, or filesystems) and update uses of any changed
types/options (e.g., image/partition creation options, filesystem read/write
calls) to match the new API; if you lack coverage, add a small smoke test that
programmatically creates a disk image, writes a partition/FS, mounts or reads
back files, and asserts expected contents to catch regressions early.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Around line 36-38: The indirect dependency github.com/pkg/xattr was bumped to
v0.4.12 which can change OS/filesystem-specific xattr behavior; add or update
tests that exercise extended-attribute operations using the xattr package (e.g.,
calls to xattr.Set, xattr.Get, xattr.List) and ensure they are conditionally
skipped on unsupported platforms/filesystems (use build tags or runtime checks
for OS/errno), run them in CI on supported platforms, and if behavior changed,
adapt call sites or add compatibility handling around xattr operations to
preserve existing semantics.
- Line 3: go.mod now requires "go 1.25.7" but CI uses golang-1.21; update the CI
and build images and optionally reintroduce a toolchain pin: change the CI
config referenced in .ci-operator.yaml to use a golang-1.25 (or golang-1.25.7)
release image instead of golang-1.21, update Dockerfile.image-service-build to
pin the Go toolset to a precise 1.25.7 package/version (instead of a loose
"1.25"), and if you need hermetic builds add back a "toolchain go1.25.7"
directive in go.mod so the declared toolchain matches CI and local builds.

---

Nitpick comments:
In `@go.mod`:
- Around line 6-8: The go.mod upgrade to github.com/diskfs/go-diskfs v1.9.1 may
introduce API/behavior changes; verify compilation and runtime behavior by
rebuilding and running tests, then exercise all code paths that call into
go-diskfs (look for imports of "github.com/diskfs/go-diskfs" and functions that
create images, partitions, or filesystems) and update uses of any changed
types/options (e.g., image/partition creation options, filesystem read/write
calls) to match the new API; if you lack coverage, add a small smoke test that
programmatically creates a disk image, writes a partition/FS, mounts or reads
back files, and asserts expected contents to catch regressions early.
🪄 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: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 5f9c141e-bec6-4111-b3fe-ae933a4a32fb

📥 Commits

Reviewing files that changed from the base of the PR and between 2b81dd8 and 37e96a8.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

Comment thread go.mod
go 1.25.0

toolchain go1.25.5
go 1.25.7
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
# Read-only verification:
# 1) confirm go.mod go directive and that toolchain directive is absent
# 2) verify go1.25.7 exists on go.dev/dl
# 3) scan common CI configs for Go version pins (informational)

set -euo pipefail

GO_VER="$(awk '/^go[[:space:]]+[0-9]+\.[0-9]+(\.[0-9]+)?$/ {print $2; exit}' go.mod)"
echo "go.mod go directive: ${GO_VER}"

if rg -n '^toolchain[[:space:]]+' go.mod >/dev/null 2>&1; then
  echo "toolchain directive: PRESENT"
  rg -n '^toolchain[[:space:]]+' go.mod
else
  echo "toolchain directive: ABSENT"
fi

python3 - <<'PY'
import json, sys, urllib.request, ssl, os

go_ver = os.environ.get("GO_VER")
if not go_ver:
    print("GO_VER not set"); sys.exit(1)

url = "https://go.dev/dl/?mode=json"
data = json.loads(urllib.request.urlopen(url, timeout=20).read().decode("utf-8"))
target = "go" + go_ver
matches = [x for x in data if x.get("version") == target]
print(f"Looking for {target}: {'FOUND' if matches else 'NOT FOUND'}")
if not matches:
    raise SystemExit(2)
PY

echo "Scanning repo for Go version pins in common CI locations (best-effort):"
rg -n --hidden --glob '!**/vendor/**' '(go-version|GOVERSION|setup-go|GOTOOLCHAIN|toolchain go)' . || true

Repository: openshift/assisted-image-service

Length of output: 147


🏁 Script executed:

#!/bin/bash
# Extract Go version and verify it exists on go.dev/dl
GO_VER="1.25.7"
echo "Verifying go1.25.7 availability..."

python3 <<'PY'
import json
import urllib.request

url = "https://go.dev/dl/?mode=json"
try:
    data = json.loads(urllib.request.urlopen(url, timeout=20).read().decode("utf-8"))
    target = "go1.25.7"
    matches = [x for x in data if x.get("version") == target]
    if matches:
        print(f"✓ {target} EXISTS on go.dev/dl")
        print(f"  Release info: {matches[0].get('released', 'N/A')}")
    else:
        print(f"✗ {target} NOT FOUND on go.dev/dl")
        # Show available 1.25.x versions
        versions_125 = sorted([x.get("version") for x in data if x.get("version", "").startswith("go1.25")], reverse=True)[:5]
        print(f"  Available 1.25.x versions: {versions_125}")
except Exception as e:
    print(f"Error querying go.dev: {e}")
PY

echo ""
echo "Checking for CI configuration files and Go version pins..."
# Find CI config files
find . -type f \( -name ".gitlab-ci.yml" -o -name "*.yml" -o -name "*.yaml" -o -path "*/.github/workflows/*" -o -name "Dockerfile*" -o -name "*.mk" \) ! -path "*/vendor/*" ! -path "*/.git/*" 2>/dev/null | head -20

echo ""
echo "Scanning for Go version references in CI/config files..."
rg -n "go.*version|GOVERSION|setup-go" --type yaml --type dockerfile . 2>/dev/null || echo "(No matches found)"

Repository: openshift/assisted-image-service

Length of output: 1050


🏁 Script executed:

#!/bin/bash

echo "=== Dockerfile.image-service-build (build stage) ==="
cat -n Dockerfile.image-service-build | head -50

echo ""
echo "=== .ci-operator.yaml (CI operator config) ==="
head -100 .ci-operator.yaml

echo ""
echo "=== Checking .tekton/ files for golang references ==="
rg -n "golang|go image" ./.tekton/ --type yaml || echo "(no golang image refs found)"

Repository: openshift/assisted-image-service

Length of output: 1321


Update CI configuration: go.mod requires Go 1.25.7 but CI is pinned to Go 1.21.

You bumped go 1.25.7 in go.mod (Line 3) and removed the toolchain directive. However, .ci-operator.yaml still specifies golang-1.21 in its build root image:

build_root_image:
  name: release
  namespace: openshift
  tag: rhel-9-release-golang-1.21-openshift-4.16

This causes a version mismatch: the module declares a minimum Go version of 1.25.7, but CI uses 1.21. Builds will fail in CI with "go requires go 1.25.7" errors.

Required fixes:

  1. Update .ci-operator.yaml to use golang-1.25 (or 1.25.7 if available) instead of golang-1.21.
  2. Update Dockerfile.image-service-build to pin the go-toolset version more precisely (currently uses 1.25, which may not guarantee 1.25.7).
  3. If hermetic builds are required, reintroduce toolchain go1.25.7 in go.mod (or ensure CI/dev environments will not accidentally use an older Go).
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 3, go.mod now requires "go 1.25.7" but CI uses golang-1.21;
update the CI and build images and optionally reintroduce a toolchain pin:
change the CI config referenced in .ci-operator.yaml to use a golang-1.25 (or
golang-1.25.7) release image instead of golang-1.21, update
Dockerfile.image-service-build to pin the Go toolset to a precise 1.25.7
package/version (instead of a loose "1.25"), and if you need hermetic builds add
back a "toolchain go1.25.7" directive in go.mod so the declared toolchain
matches CI and local builds.

Comment thread go.mod
Comment on lines 36 to 38
github.com/pierrec/lz4/v4 v4.1.17 // indirect
github.com/pkg/xattr v0.4.9 // indirect
github.com/pkg/xattr v0.4.12 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
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 | 🟡 Minor

Review indirect pkg/xattr bump for platform xattr behavior.

github.com/pkg/xattr is updated to v0.4.12 (Line 37, indirect). Since xattr behavior can be OS/filesystem-specific, ensure any tests that cover extended attributes still pass across the supported environments.

If there are no tests covering xattr, consider adding a minimal unit/integration test (guarded/skipped when unsupported) to reduce risk from subtle behavior changes.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` around lines 36 - 38, The indirect dependency github.com/pkg/xattr
was bumped to v0.4.12 which can change OS/filesystem-specific xattr behavior;
add or update tests that exercise extended-attribute operations using the xattr
package (e.g., calls to xattr.Set, xattr.Get, xattr.List) and ensure they are
conditionally skipped on unsupported platforms/filesystems (use build tags or
runtime checks for OS/errno), run them in CI on supported platforms, and if
behavior changed, adapt call sites or add compatibility handling around xattr
operations to preserve existing semantics.

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 29, 2026

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: dependabot[bot]

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

1 similar comment
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 29, 2026

[APPROVALNOTIFIER] This PR is APPROVED

Approval requirements bypassed by manually added approval.

This pull-request has been approved by: dependabot[bot]

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

@openshift-merge-bot
Copy link
Copy Markdown

/retest-required

Remaining retests: 0 against base HEAD 2b81dd8 and 2 for PR HEAD 37e96a8 in total

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 29, 2026

@dependabot[bot]: The following tests 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/mce-images 37e96a8 link true /test mce-images
ci/prow/edge-e2e-metal-assisted-4-22 37e96a8 link true /test edge-e2e-metal-assisted-4-22
ci/prow/edge-lint 37e96a8 link true /test edge-lint
ci/prow/edge-e2e-ai-operator-ztp 37e96a8 link true /test edge-e2e-ai-operator-ztp
ci/prow/images 37e96a8 link true /test images
ci/prow/edge-test 37e96a8 link true /test edge-test
ci/prow/edge-images 37e96a8 link true /test edge-images

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

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. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant