Skip to content

Remove check-ebpf-ver-synced make target#1694

Closed
MrAlias wants to merge 1 commit into
open-telemetry:mainfrom
MrAlias:rm-check-ebpf-ver-synced
Closed

Remove check-ebpf-ver-synced make target#1694
MrAlias wants to merge 1 commit into
open-telemetry:mainfrom
MrAlias:rm-check-ebpf-ver-synced

Conversation

@MrAlias
Copy link
Copy Markdown
Contributor

@MrAlias MrAlias commented Mar 31, 2026

This target was used to ensure the github.com/cilium/ebpf package version was the same in the generator as that used locally. This was made unneeded in #1290.

Blocking #1624

This target was used to ensure the github.com/cilium/ebpf package
version was the same in the generator as that used locally. This was
made unneeded in open-telemetry#1290.
@MrAlias MrAlias added this to the v0.7.0 milestone Mar 31, 2026
@MrAlias MrAlias marked this pull request as ready for review March 31, 2026 15:35
@MrAlias MrAlias requested a review from a team as a code owner March 31, 2026 15:35
Copilot AI review requested due to automatic review settings March 31, 2026 15:35
@MrAlias MrAlias mentioned this pull request Mar 31, 2026
1 task
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 31, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 18.84%. Comparing base (19c3387) to head (40fa6f8).
⚠️ Report is 2 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (19c3387) and HEAD (40fa6f8). Click for more details.

HEAD has 3 uploads less than BASE
Flag BASE (19c3387) HEAD (40fa6f8)
unittests 3 0
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1694       +/-   ##
===========================================
- Coverage   44.48%   18.84%   -25.65%     
===========================================
  Files         337      264       -73     
  Lines       36472    30774     -5698     
===========================================
- Hits        16225     5798    -10427     
- Misses      19225    24287     +5062     
+ Partials     1022      689      -333     
Flag Coverage Δ
integration-test 21.02% <ø> (+0.17%) ⬆️
integration-test-arm 0.00% <ø> (ø)
integration-test-vm-x86_64-5.15.152 0.00% <ø> (ø)
integration-test-vm-x86_64-6.10.6 0.00% <ø> (ø)
k8s-integration-test 2.16% <ø> (ø)
oats-test 0.00% <ø> (ø)
unittests ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

package bpfcore // import "go.opentelemetry.io/obi/bpf/bpfcore"

// Store loader version here in order to run the full test suite on upgrades.
// github.com/cilium/ebpf v0.20.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is used to trigger a full CI run when the library is bumped

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the now-unneeded check-ebpf-ver-synced Make target and its CI invocation, aligning version-sync validation with the newer Makefile-based generation flow introduced in #1290.

Changes:

  • Removed CILIUM_EBPF_VER / CILIUM_EBPF_PKG vars and the check-ebpf-ver-synced target from the Makefile.
  • Deleted the ebpf-version comment from bpf/bpfcore/placeholder.go.
  • Dropped check-ebpf-ver-synced from the PR workflow checks.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Makefile Removes the version-sync check target and related variables.
bpf/bpfcore/placeholder.go Removes the embedded ebpf version comment from the placeholder file.
.github/workflows/pull_request.yml Removes the CI step invocation of the deleted Make target.

@@ -4,6 +4,3 @@
//go:build obi_bpf

package bpfcore // import "go.opentelemetry.io/obi/bpf/bpfcore"
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change updates the source file under bpf/bpfcore/, but the repo also commits a mirrored copy under NOTICES/ that is refreshed by make notices-update (see Makefile BPF_FILES/TARGET_BPF_FILES copy rule). As-is, CI’s make notices-update will modify NOTICES/bpf/bpfcore/placeholder.go and then check-clean-work-tree will fail. Please run make notices-update and commit the resulting NOTICES update (or update the NOTICES copy manually).

Copilot uses AI. Check for mistakes.
@MrAlias MrAlias closed this Mar 31, 2026
@MrAlias MrAlias deleted the rm-check-ebpf-ver-synced branch March 31, 2026 18:28
@MrAlias MrAlias removed this from the v0.7.0 milestone Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants