Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Review Summary by QodoDependency bump to v0.7 with build tags and Go version update
WalkthroughsDescription• Added build tags to benchmark packages for conditional compilation • Updated Go version from 1.25.3 to 1.25.5 across all modules • Bumped multiple dependencies to latest versions • Increased unit test timeout from 1s to 5s in Makefile Diagramflowchart LR
A["Build Tags Added"] --> B["Benchmark Packages"]
C["Go Version"] --> D["1.25.3 → 1.25.5"]
E["Dependencies Updated"] --> F["Multiple Packages"]
G["Test Configuration"] --> H["Timeout: 1s → 5s"]
B --> I["PR v0.7"]
D --> I
F --> I
H --> I
File Changes1. benchmark/internal/suite/closer.go
|
Code Review by Qodo
|
| //go:build benchmark | ||
|
|
There was a problem hiding this comment.
1. Benchmarks won't run 🐞 Bug ≡ Correctness
All benchmark binaries are now guarded by the benchmark build tag, but the Makefile still executes benchmarks via go run . without passing -tags=benchmark, so make benchmark_* will fail to build/run.
Agent Prompt
### Issue description
Benchmark programs under `benchmark/` are now protected by `//go:build benchmark`, but `make benchmark_*` runs them using `go run .` without `-tags=benchmark`, which will fail because no files match the default build constraints.
### Issue Context
The benchmark directories contain `package main` programs, but they now require the `benchmark` build tag to compile.
### Fix Focus Areas
- Makefile[169-172]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
|
/ok-to-test |
ef91374 to
b082fc1
Compare
Codecov Report✅ All modified and coverable lines are covered by tests.
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
Retriggering the tests just in case the acceptance failure was a flake. |
|
It seems a snapshot is expecting a different output. We figured running make generate may help clear up that issue but seemingly not. @simonbaird this pr has sort of grown legs, would we be better off binning this one and opening fresh? |
|
hi @tommyd450, don't worry about this PR size, most of it is just go.sum noise. You can run this command to update the snapshot: |
|
I think we have to pay close attention to the snapshot change. Do we know what changed and why? |
https://redhat.atlassian.net/browse/SECURESIGN-4030
https://redhat.atlassian.net/browse/SECURESIGN-4078
https://redhat.atlassian.net/browse/SECURESIGN-3984
https://redhat.atlassian.net/browse/SECURESIGN-3982