Update github.com/lufia/plan9stats digest to c963978#110
Update github.com/lufia/plan9stats digest to c963978#110red-hat-konflux-kflux-prd-rh02[bot] wants to merge 1 commit into
Conversation
Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
|
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @red-hat-konflux-kflux-prd-rh02[bot]. Thanks for your PR. I'm waiting for a openshift-hyperfleet member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
📝 WalkthroughWalkthroughThis change updates the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
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 `@go.mod`:
- Line 83: The require directive currently lists github.com/lufia/plan9stats
with a raw commit hash (c963978e514e) which is invalid; update the require entry
for github.com/lufia/plan9stats in go.mod to use the proper Go pseudo-version
found in go.sum (replace the raw hash with the corresponding
vX.Y.Z-yyyymmddhhmmss-<hash> pseudo-version) so the module resolver can accept
the dependency.
🪄 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: Central YAML (base), Organization UI (inherited)
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: 2b609999-ce7d-4a2c-a391-8ea3f0692c92
📒 Files selected for processing (1)
go.mod
| github.com/kylelemons/godebug v1.1.0 // indirect | ||
| github.com/lithammer/shortuuid/v3 v3.0.7 // indirect | ||
| github.com/lufia/plan9stats v0.0.0-20251013123823-9fd1530e3ec3 // indirect | ||
| github.com/lufia/plan9stats c963978e514e // indirect |
There was a problem hiding this comment.
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Verify the exact require entry and whether a valid pseudo-version for this module exists in repo metadata.
echo "== go.mod entry =="
rg -n 'github\.com/lufia/plan9stats' go.mod
echo
echo "== go.sum entries =="
if [ -f go.sum ]; then
rg -n 'github\.com/lufia/plan9stats' go.sum || true
else
echo "go.sum not present"
fi
echo
echo "== Validate require token shape (semver/pseudo-version expected) =="
python - <<'PY'
import re, pathlib
text = pathlib.Path("go.mod").read_text()
m = re.search(r'^\s*github\.com/lufia/plan9stats\s+(\S+)\s+//\s*indirect\s*$', text, re.M)
if not m:
print("No matching require line found.")
raise SystemExit(0)
ver = m.group(1)
semver_like = re.match(r'^v\d+\.\d+\.\d+([\-+].*)?$', ver) is not None
pseudo_like = re.match(r'^v\d+\.\d+\.\d+-\d{14}-[0-9a-f]{12}$', ver) is not None
print(f"found version token: {ver}")
print(f"semver_like={semver_like} pseudo_like={pseudo_like}")
if not (semver_like or pseudo_like):
print("INVALID for go.mod require: raw revision detected.")
PYRepository: openshift-hyperfleet/hyperfleet-sentinel
Length of output: 609
Fix invalid Go module version syntax in require directive
Line 83 declares github.com/lufia/plan9stats using a raw commit hash (c963978e514e), which is invalid in go.mod require statements. This will cause dependency resolution to fail. The corresponding go.sum already contains the correct pseudo-version. Update line 83 to use the valid pseudo-version format:
Suggested fix
- github.com/lufia/plan9stats c963978e514e // indirect
+ github.com/lufia/plan9stats v0.0.0-20251013123823-9fd1530e3ec3 // indirect🤖 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 83, The require directive currently lists
github.com/lufia/plan9stats with a raw commit hash (c963978e514e) which is
invalid; update the require entry for github.com/lufia/plan9stats in go.mod to
use the proper Go pseudo-version found in go.sum (replace the raw hash with the
corresponding vX.Y.Z-yyyymmddhhmmss-<hash> pseudo-version) so the module
resolver can accept the dependency.
This PR contains the following updates:
9fd1530→c963978Warning
Some dependencies could not be looked up. Check the warning logs for more information.
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.
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.