Skip to content

feat(bpfcompat): Install section with verified screenshots + fix wrong CLI/Action snippets#8

Merged
ErenAri merged 1 commit into
mainfrom
feat/bpfcompat-install-section
Jun 24, 2026
Merged

feat(bpfcompat): Install section with verified screenshots + fix wrong CLI/Action snippets#8
ErenAri merged 1 commit into
mainfrom
feat/bpfcompat-install-section

Conversation

@ErenAri

@ErenAri ErenAri commented Jun 24, 2026

Copy link
Copy Markdown
Owner

What

Adds an Install section to the bpfcompat product page and fixes the page's existing (broken) example commands.

Install section

Three verified install paths, each with a real terminal screenshot captured on a KVM host, plus a live bpfcompat test matrix:

  • Prebuilt release binary — download + sha256sum -c + bpfcompat version
  • From sourcemake build && make validator-static
  • go installgo install github.com/kernel-guard/bpfcompat/cmd/bpfcompat@<ver>
  • Live runringbuf_modern: 5.4 fail (ringbuf ≥5.8), 6.1/6.8 pass

Copy is localized across all 8 languages; the i18n parity test passes.

Snippet fixes (the important bit)

The page's existing CLI tab showed go install github.com/Kernel-Guard/bpfcompat@<ver> — the exact command that fails with "module … does not contain package …" (capital org + no cmd subpath). It also used --kernel (no such flag) and a non-existent suite run form. All corrected to the real CLI/Action syntax.

Verification

  • tsc --noEmit clean
  • vitest run — 49/49 pass (incl. bpfcompat i18n parity + report tests)
  • npm run build — 288/288 routes prerender, 0 failures
  • Headless-browser render of /projects/bpfcompat/ confirms the install heading, all four screenshots, and the corrected commands are present

Images under public/images/projects/bpfcompat/install/.

🤖 Generated with Claude Code

…rong CLI/Action snippets

Adds an Install section to the bpfcompat product page documenting three
verified ways to install the CLI — prebuilt release binary, from source,
and go install — each with a real terminal screenshot, plus a live
`bpfcompat test` matrix screenshot. Copy is localized across all 8
languages (parity test green).

Also fixes the page's existing example snippets, which were wrong and
were the source of a user's "go install ... does not contain package"
failure:
  - CLI: `go install github.com/Kernel-Guard/bpfcompat@v...` (capital org,
    no cmd subpath — fails) -> `.../kernel-guard/bpfcompat/cmd/bpfcompat@v...`;
    `--kernel` (no such flag) -> real `--artifact/--matrix/--out` syntax;
    `suite run` -> real `suite --suite/--out` syntax.
  - Action: non-existent `kernels`/`gate` inputs -> real `suite-out`/`validation-mode`.

Screenshots under public/images/projects/bpfcompat/install/.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying kernel-guard-frontend-git with  Cloudflare Pages  Cloudflare Pages

Latest commit: b7e5c8d
Status: ✅  Deploy successful!
Preview URL: https://44c41784.kernel-guard-frontend-git.pages.dev
Branch Preview URL: https://feat-bpfcompat-install-secti.kernel-guard-frontend-git.pages.dev

View logs

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
kernel-guard-frontend b7e5c8d Commit Preview URL

Branch Preview URL
Jun 24 2026, 01:43 PM

@ErenAri ErenAri merged commit a873e74 into main Jun 24, 2026
4 checks passed
@ErenAri ErenAri deleted the feat/bpfcompat-install-section branch June 24, 2026 13:44
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