HYPERFLEET-1333 - chore: replace bingo with Go 1.24 tool directives#14
HYPERFLEET-1333 - chore: replace bingo with Go 1.24 tool directives#14kuudori wants to merge 3 commits into
Conversation
|
Skipping CI for Draft Pull Request. |
|
[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 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Central YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🔗 Linked repositories identifiedCodeRabbit considers these linked repositories for cross-repo context during reviews:
📝 WalkthroughSummary by CodeRabbit
WalkthroughThe project moves to Go 1.26 across the Go module, Docker builder image, and development prerequisites. Dependencies are reorganized between direct and indirect requirements. The Makefile replaces Bingo-generated lint configuration with a dedicated Estimated code review effort: 2 (Simple) | ~10 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 10 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (10 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
870d2af to
7bc6c3c
Compare
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 `@Makefile`:
- Around line 147-149: Replace the curl-piped installer in the $(GOLANGCI_LINT)
target with a checksum-verified installation approach, preferably a pinned Go
module install consistent with the project’s native Go tool directives. Ensure
the target still installs the requested golangci-lint version into ./bin without
executing an unverified remote script.
🪄 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: CHILL
Plan: Enterprise
Run ID: 6f893cf8-502e-423a-b076-d7ca8e2aec0c
⛔ Files ignored due to path filters (1)
.bingo/golangci-lint.sumis excluded by!**/*.sum
📒 Files selected for processing (4)
.bingo/.gitignore.bingo/Variables.mk.bingo/golangci-lint.modMakefile
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
openshift-hyperfleet/architecture(manual)openshift-hyperfleet/hyperfleet-api(manual)openshift-hyperfleet/hyperfleet-sentinel(manual)openshift-hyperfleet/hyperfleet-adapter(manual)openshift-hyperfleet/hyperfleet-broker(manual) → reviewed against open PR#26chore/replace-bingo-with-go-tool-directivesinstead of the default branch
💤 Files with no reviewable changes (3)
- .bingo/.gitignore
- .bingo/golangci-lint.mod
- .bingo/Variables.mk
f84545a to
f8fdcd8
Compare
2e129ac to
2df9ae5
Compare
2df9ae5 to
f260cf5
Compare
There was a problem hiding this comment.
Actionable comments posted: 3
🤖 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 `@Dockerfile`:
- Line 3: Update the Dockerfile builder image reference in the FROM instruction
to pin golang:1.26.0 by its verified sha256 digest, preserving the existing
builder stage name.
In `@go.mod`:
- Around line 19-21: Update the OpenTelemetry dependencies declared in go.mod,
including go.opentelemetry.io/otel,
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, and
go.opentelemetry.io/otel/sdk, to fixed releases that address CVE-2026-29181 and
CVE-2026-39883. If upgrading is not feasible, add a documented
govulncheck-backed reachability exception instead.
In `@README.md`:
- Line 386: Synchronize the CLI prerequisite version by updating the hardcoded
Go version reported in the version implementation near the version output logic,
or derive it from runtime.Version(). Ensure the CLI reports Go 1.26+
consistently with the README requirement.
🪄 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: CHILL
Plan: Enterprise
Run ID: 67dc9947-c175-417c-babc-a7e89f4fff0b
⛔ Files ignored due to path filters (2)
go.sumis excluded by!**/*.sum,!**/go.sumtools/go.sumis excluded by!**/*.sum,!**/go.sum
📒 Files selected for processing (8)
.bingo/.gitignore.bingo/Variables.mk.bingo/golangci-lint.modDockerfileMakefileREADME.mdgo.modtools/go.mod
🔗 Linked repositories identified
CodeRabbit considers these linked repositories for cross-repo context during reviews:
openshift-hyperfleet/architecture(manual)openshift-hyperfleet/hyperfleet-api(manual)openshift-hyperfleet/hyperfleet-sentinel(manual)openshift-hyperfleet/hyperfleet-adapter(manual) → reviewed against branchchore/replace-bingo-with-go-tool-directivesinstead of the default branchopenshift-hyperfleet/hyperfleet-broker(manual) → reviewed against open PR#26chore/replace-bingo-with-go-tool-directivesinstead of the default branch
💤 Files with no reviewable changes (3)
- .bingo/Variables.mk
- .bingo/golangci-lint.mod
- .bingo/.gitignore
|
/retest-required |
HYPERFLEET-1333
Remove bingo tool management in favor of native
tooldirectives in go.mod (Go 1.24+).Tool versions are pinned in go.mod/go.sum and resolved via
go tool <name>.Pinned versions (unchanged from bingo):