Skip to content

Inline kernel build into test-coverage job#1543

Merged
d-e-s-o merged 1 commit intolibbpf:mainfrom
d-e-s-o:topic/build-linux-build-dir
Apr 15, 2026
Merged

Inline kernel build into test-coverage job#1543
d-e-s-o merged 1 commit intolibbpf:mainfrom
d-e-s-o:topic/build-linux-build-dir

Conversation

@d-e-s-o
Copy link
Copy Markdown
Collaborator

@d-e-s-o d-e-s-o commented Apr 15, 2026

With recent changes, the build-linux action outputs the build directory path directly instead of uploading an artifact. Since it is a composite action, its steps run in the caller's job and the build directory is already on disk.
Inline the build-linux step into the test-coverage job, removing the separate build-linux-kernel job along with the artifact download via curl. Doing so simplifies things a bunch and eliminates the scheduling issues we have seen where build-linux-kernel, despite being on the critical path, was sometimes scheduled to run only after a bunch of other jobs, which artificially worsened total job runtime.

With recent changes, the build-linux action outputs the build directory
path directly instead of uploading an artifact. Since it is a composite
action, its steps run in the caller's job and the build directory is
already on disk.
Inline the build-linux step into the test-coverage job, removing the
separate build-linux-kernel job along with the artifact download via
curl. Doing so simplifies things a bunch and eliminates the scheduling
issues we have seen where build-linux-kernel, despite being on the
critical path, was sometimes scheduled to run only after a bunch of
other jobs, which artificially worsened total job runtime.

Signed-off-by: Daniel Müller <deso@posteo.net>
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 15, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.51%. Comparing base (ebba953) to head (8cd4d47).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1543      +/-   ##
==========================================
+ Coverage   95.50%   95.51%   +0.01%     
==========================================
  Files          56       56              
  Lines        9534     9534              
==========================================
+ Hits         9105     9106       +1     
+ Misses        429      428       -1     

☔ 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.

@d-e-s-o d-e-s-o merged commit c529f1f into libbpf:main Apr 15, 2026
46 checks passed
@d-e-s-o d-e-s-o deleted the topic/build-linux-build-dir branch April 15, 2026 22:53
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.

1 participant