Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ require (
github.com/prometheus/procfs v0.17.0 // indirect
github.com/rabbitmq/amqp091-go v1.10.0 // indirect
github.com/sagikazarmark/locafero v0.12.0 // indirect
github.com/shirou/gopsutil/v4 v4.26.3 // indirect
github.com/shirou/gopsutil/v4 v4.26.4 // 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 | 🔴 Critical

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Checking go.mod entry:"
rg -n 'github\.com/shirou/gopsutil/v4\s+v4\.26\.4' go.mod

echo
echo "Checking go.sum checksum entries:"
rg -n 'github\.com/shirou/gopsutil/v4 v4\.26\.4' go.sum

echo
echo "Optional: show any remaining v4.26.3 references in module files:"
rg -n 'github\.com/shirou/gopsutil/v4 v4\.26\.3' go.mod go.sum || true

Repository: openshift-hyperfleet/hyperfleet-sentinel

Length of output: 197


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "=== Checking ALL gopsutil entries in go.sum ==="
rg -n 'gopsutil' go.sum || echo "No gopsutil entries found in go.sum"

echo
echo "=== Checking go.sum file stats ==="
wc -l go.sum

echo
echo "=== Checking context around where gopsutil should appear (alphabetically) ==="
# gopsutil would appear somewhere after "github.com/gonum" and before "github.com/test"
# Let's check lines that might contain github.com/sh* entries
rg -n 'github\.com/sh' go.sum | head -20

Repository: openshift-hyperfleet/hyperfleet-sentinel

Length of output: 632


Update go.sum with checksums for github.com/shirou/gopsutil/v4 v4.26.4.

The go.mod has been updated to v4.26.4, but go.sum still contains checksums only for v4.26.3 (lines 229-230). This creates a mismatch that will cause builds to fail with checksum verification errors. Run go mod tidy or go get -u github.com/shirou/gopsutil/v4@v4.26.4 to regenerate go.sum with the correct checksums before merging.

🤖 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 `@go.mod` at line 107, The go.mod was bumped to github.com/shirou/gopsutil/v4
v4.26.4 but go.sum still only contains checksums for v4.26.3; run a module
update to regenerate checksums (e.g., run `go mod tidy` or `go get -u
github.com/shirou/gopsutil/v4@v4.26.4`) so go.sum is updated with v4.26.4
entries and commits the updated go.sum alongside the Go module change.

github.com/sirupsen/logrus v1.9.4 // indirect
github.com/sony/gobreaker v1.0.0 // indirect
github.com/spf13/afero v1.15.0 // indirect
Expand Down