Skip to content

ci: check build with old kernel headers - #10938

Draft
ripatel-fd wants to merge 1 commit into
mainfrom
ripatel/kernel-ci
Draft

ripatel-fd wants to merge 1 commit into
mainfrom
ripatel/kernel-ci

Conversation

@ripatel-fd

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI balanced review requested due to automatic review settings August 24, 2026 04:01

Copilot AI left a comment

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.

Pull request overview

Adds CI coverage for compilation against Linux 4.19 headers and AF_XDP compatibility shims.

Changes:

  • Adds fallback AF_XDP constants and structures.
  • Uses compatibility types in XSK setup.
  • Adds an old-kernel-header workflow.

Reviewed changes

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

File Description
.github/workflows/old_kernel_headers.yml Adds compatibility build check.
src/waltz/xdp/fd_xsk.h Defines portable AF_XDP types and constants.
src/waltz/xdp/fd_xsk.c Uses the compatibility offset types.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/old_kernel_headers.yml Outdated
@github-actions

Copy link
Copy Markdown

Performance Measurements ⏳

Suite Baseline New Change
backtest mainnet-424669000-perf per slot 0.048548 s 0.048564 s 0.033% ✅
backtest mainnet-424669000-perf snapshot load 1.756 s 1.729 s -1.538% ✅
backtest mainnet-424669000-perf total elapsed 62.918555 s 62.939067 s 0.033% ✅
firedancer mem usage with mainnet.toml 254.78 GiB 254.78 GiB 0.000% ✅

Copilot AI review requested due to automatic review settings September 8, 2026 05:41
@github-actions

github-actions Bot commented Sep 8, 2026 •

Copy link
Copy Markdown
 ┌─ ⚡ PERF · 9608fd5 vs main@d744a76 ─────────────────────────────────
 │ SUITE                               BASELINE          NEW         Δ
 │ replay tps, mainnet               28,376 tps   28,414 tps  ·  +0.13%
 │ bench tps, localnet              128,647 tps  128,646 tps  ·   0.00%
 │ snapshot load, testnet               15.37 s      15.30 s  ·  -0.47%
 │ mem total, mainnet                171.43 GiB   171.43 GiB  ·   0.00%
 │ mem total, testnet                102.30 GiB   102.30 GiB  ·   0.00%
 │ clean compile, firedancer        228.1 cpu·s  232.5 cpu·s  ·  +1.93%
 │ binary size, firedancer             85.81 MB     85.81 MB  ·   0.00%
 ├─────────────────────────────────────────────────────────────────────
@@ 0 REGRESSIONS · 0 WARNINGS · 0 IMPROVED · 7 NOISE @@
 └─────────────────────────────────────────────────────────────────────
history · 2 pushes
 ┌─ HISTORY · Δ vs main, per push, newest first ─────────────────────────
 │ HEAD         TPS    BENCH     SNAP    MEM·M    MEM·T  COMPILE   BINARY
 │ 9608fd5   +0.13%    0.00%   -0.47%    0.00%    0.00%   +1.93%    0.00%
 │ ba8eb4d        …        …        …        …        …        …        …
 └───────────────────────────────────────────────────────────────────────

Copilot AI left a comment

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.

🔵 Needs a closer look

The new compatibility job currently cannot fail the workflow.

Review details

Suppressed comments (1)

.github/workflows/old_kernel_headers.yml:9

  • continue-on-error prevents this workflow from failing when either the header installation or make check fails, so an old-header regression will still produce a successful PR check. Make this job blocking so the new compatibility check can enforce its result.
    timeout-minutes: 5
  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

Copilot AI review requested due to automatic review settings September 8, 2026 05:43
@ripatel-fd
ripatel-fd enabled auto-merge (rebase) September 8, 2026 05:43

Copilot AI left a comment

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.

🟢 Approval recommended

The compatibility definitions match the AF_XDP ABI and are exercised by the targeted CI workflow.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@ripatel-fd
ripatel-fd marked this pull request as draft September 8, 2026 06:08
auto-merge was automatically disabled September 8, 2026 06:08

Pull request was converted to draft

This branch has not been deployed

No deployments
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.

3 participants