Skip to content

Document deploying the git-ignored aegis sample artifact#17

Merged
ErenAri merged 1 commit into
mainfrom
docs/aegis-sample-deploy
Jun 19, 2026
Merged

Document deploying the git-ignored aegis sample artifact#17
ErenAri merged 1 commit into
mainfrom
docs/aegis-sample-deploy

Conversation

@ErenAri

@ErenAri ErenAri commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

What

The empty-state "Try our aegis sample" button serves examples/aegis-live/aegis.bpf.o via /api/v1/sample/aegis/artifact. That object is git-ignored (we never commit built .bpf.os), so a fresh server checkout doesn't have it and the endpoint 404s — the button fails with "sample unavailable".

Reported live on bpfcompat.kernelguard.net.

Fix

  • Live host fixed out-of-band: copied the sample to /var/lib/bpfcompat-demo/sample-aegis.bpf.o and set BPFCOMPAT_SAMPLE_ARTIFACT (verified: endpoint 200, aegis boundary spread runs — 5.4/5.15 fail, 6.1/6.8 pass, exit 0).
  • This PR documents the step so re-provisioning keeps it working: runbook step 1b + a BPFCOMPAT_SAMPLE_ARTIFACT entry in the serve env example.

No code change — sample.go already supports the env override.

🤖 Generated with Claude Code

The "Try our aegis sample" button serves examples/aegis-live/aegis.bpf.o,
which is git-ignored, so a fresh server checkout 404s on
/api/v1/sample/aegis/artifact. Document copying the object out-of-band to a
persistent path and pointing BPFCOMPAT_SAMPLE_ARTIFACT at it (runbook step 1b
+ env example), so re-provisioning keeps the sample working.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ErenAri ErenAri merged commit ddbaeee into main Jun 19, 2026
6 checks passed
@ErenAri ErenAri deleted the docs/aegis-sample-deploy branch June 19, 2026 11:34
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