chore(deps): update inspektor-gadget and ebpf forks#832
Conversation
|
Warning Review limit reached
More reviews will be available in 43 minutes and 6 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (9)
📝 WalkthroughWalkthroughGo version upgraded to 1.26.0 with comprehensive dependency bumps across direct and indirect modules. Key updates include Kubernetes ecosystem (api, apimachinery, client-go), container tooling (cilium/ebpf, moby, containerd), observability (OpenTelemetry), and logging (sirupsen/logrus). Module graph resolution adjusted via replace directives for inspektor-gadget and cilium/ebpf to matthyx versions. ChangesGo and Dependency Ecosystem Upgrade
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Update the inspektor-gadget fork replace directive to use the latest use-this-one branch (v0.0.0-20260605141120-3ec13683f126). Update the cilium/ebpf fork to a new v0.21.0-based branch (matthias/weak-kernel-btf-cache-v0.21.0) to resolve API incompatibility with the updated inspektor-gadget fork (btf.NewBuilder signature change). Upgrade Kubernetes dependencies to v0.36.1 to match the inspektor-gadget fork requirements (k8s.io/api/scheduling/v1alpha1 was removed in v0.36.1, requiring k8s.io/kubectl upgrade to v0.36.1 as well). Exclude github.com/moby/moby v28.5.2+incompatible to resolve ambiguous import with the new github.com/moby/moby/client module used by inspektor-gadget's Docker v29 migration. Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
Bump golang base image to 1.26-trixie and CI GO_VERSION to 1.26 since go.mod now requires go >= 1.26.0 (golang images pin GOTOOLCHAIN=local). Fix dynamicwatcher tests: the client-go v0.36 fake tracker rejects the storage-specific "fullSpec" resource version, so bypass the list options in a watch reactor to keep the traditional watch behavior. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Signed-off-by: Matthias Bertschy <matthias.bertschy@gmail.com>
32d5739 to
93e5338
Compare
Performance Benchmark ResultsNode-Agent Resource Usage
Dedup EffectivenessNo data available. |
Changes
Update the inspektor-gadget and cilium/ebpf fork replace directives to use the latest versions.
inspektor-gadget fork
matthyx/inspektor-gadget@use-this-onebranch (pseudo-versionv0.0.0-20260605141120-3ec13683f126)cilium/ebpf fork
refactor: remove global BTF cache and allow passing one using CollectionOptions) ontov0.21.0(new branch:matthias/weak-kernel-btf-cache-v0.21.0)cilium/ebpf v0.21.0which changed thebtf.NewBuilderAPI signature (addedBuilderOptionsparameter)Dependency upgrades
v0.36.1(k8s.io/api,k8s.io/apimachinery,k8s.io/client-go,k8s.io/kubectl) to match inspektor-gadget fork requirementsgithub.com/moby/moby v28.5.2+incompatibleto resolve ambiguous import with the new modulargithub.com/moby/moby/clientpackage (Docker v29 migration)1.25.8to1.26.0(required by updated inspektor-gadget)go-containerregistry,logrus,docker/cli, etc.)Verified
go mod tidy✅go build ./...✅Summary by CodeRabbit