Repository navigation
Conversation
|
Final dedicated review for exact head 41dff7e: NO BLOCKERS.\n\nReviewed the four tutorial implementations and bilingual rewrites, conflict resolution in the three repository-local skills, source-block synchronization, scope, version metadata, and KVM validation evidence. The reader-focused rewrite preserves complete kernel and user-space source while making the narrative follow each tool's real data flow. All four host builds and KVM scenarios passed; the final DNS refactor was rerun in KVM. No conflict markers, history deletion, relative-link regressions, or infrastructure/model/prompt leakage were found. |
|
Independent external review for exact head 41dff7e: NO BLOCKERS.\n\nThe review independently checked the three skill conflict resolutions, all four English/Chinese tutorials, byte-exact embedded source, program types and minimum-kernel claims, public sample-output provenance, CI scope, absolute links, and leakage constraints. It confirmed that the AF_XDP article now shows only output emitted by the public tool, all core kernel and user-space source remains complete, and the change set is proportional to four runnable advanced tutorials. The only nonblocking qualification is that the newest 6.16/7.1 APIs were exercised end to end on the shared Linux 7.2-rc4 KVM kernel rather than separately on every declared minimum kernel. |
|
Exact-head follow-up review is complete for The review found that the content-only workflow had removed technical-fidelity checks and that several rewritten passages no longer matched the implementations. The final head now:
Two independent final reviews found no actionable issues on the exact head. Documentation unit tests, source-block validator tests, generated indexes, internal links, punctuation/merge-marker scans, and AI-generated response; a maintainer will review and follow up later |
yunwei37
left a comment
There was a problem hiding this comment.
Reviewed the head f2f3ab94. Four new advanced tutorial tools plus skill
guidance updates (10562 lines added across 52 files, one new workflow step).
The size is mostly content, so the reviewable parts are: (a) the added
test-libbpf.yml step — whether it builds all four tools or only the first;
(b) the skill edits, which are net removals (−64, −76), meaning guidance was
consolidated — worth confirming nothing load-bearing was dropped.
Checks green.
AI-generated response; a maintainer will review and follow up later
f2f3ab9 to
3f3f553
Compare
yunwei37
left a comment
There was a problem hiding this comment.
Reviewed head 3f3f553aaa
Tutorial 55 (DNS egress correlation) plus skill/guide updates. The BPF program attaches at cgroup_skb/egress, cgroup_skb/ingress, and cgroup/connect4 on one cgroup, and shares three maps: pending_queries and allowed_ips as LRU_HASH (1024 entries) and events as a 256 KiB ringbuf.
The parsing is conservative and says so. Transport validation checks IPv4 + UDP, rejects anything with frag_off & (IP_MF | IP_OFFSET), and compares the resolver address before computing the DNS offset; the prose states plainly that reassembly is not implemented. DNS_QUERY_LIFETIME_NS is 5 s, so a query with no observed response cannot authorize a connection indefinitely — the trust-chain claim the tutorial is built on.
src/55-dns-egress/tests/test_dns_egress.py plus a .config and Makefile make it self-testing, and TUTORIAL_IDEAS.md/README{,.zh}.md/the TOC generator test are updated in the same change.
AI patrol review
yunwei37
left a comment
There was a problem hiding this comment.
Verdict: ready to merge once CI is green
The change on this head was reviewed above and needs no fix. build fails at the bpftrace step of the helloworld example, and it fails identically on main itself:
test -n "$hello_symbol" || (echo "Error: raw hello function symbol not found" && exit 1)
Error: bpftrace failed to attach or trace the hello function
Base-branch failure; it does not block this head.
AI patrol review
yunwei37
left a comment
There was a problem hiding this comment.
Verdict: ready to merge once main's CI is fixed
Four new lessons (55-dns-egress, 56-tc-flow-index, 57-oom-watch, 60-afxdp-dump) with English and Chinese tutorials, a deterministic test each, plus the writing-workflow updates that produced them. The four fill gaps the series did not have — DNS-derived connect policy at cgroup/connect4, refcounted graph ownership with two rbtrees over the same TC flow records, reclaim profiling ahead of OOM victim selection, and a standalone AF_XDP receive path — and the body states what each one keeps visible, which is the right thing for a tutorial to be explicit about.
Both red jobs are main's, and both are already diagnosed:
buildintest-eunomia.yamlstops onError: Unable to locate package llvm-14-dev/ exit 100 —ubuntu-latestis now 26.04 and ships no LLVM 14. Fixed by #236/#237's pin toubuntu-22.04.buildintest-bpftrace.ymlstops ontest 37 uprobe-rust bpftrace attach:bpftrace -e "uprobe:...helloworld"undertimeout 3produced an empty output file, sogrep -q "Attaching 1 probe"never matched and the step exited 1. That is the same step, unchanged by this PR, that #237 fixes twice over —timeout 10andAttach(ing|ed).
docs, CodeFactor, GitGuardian and trigger all pass on this head.
What to check when it goes green. 52 files, 10566 insertions, four new src/NN-* trees each with a Makefile, .config, .gitignore, BPF and userspace C, a Python test, and two READMEs. The body's validation claims (kernel 7.2.0-rc4 at 1590cf03, AF_XDP native and generic, 65 packets through a 64-frame UMEM) are the kind of claim only a real run produces, and the TOC/compatibility-table generation is covered by scripts/test_generate_toc.py, which this PR also updates. The one thing the CI here cannot prove is that the four lessons still build on the runner's kernel — that is what the build matrix legs do once the two main failures are out of the way, so the first green run is the real validation.
AI patrol review
|
Verdict: design problem — four tutorials in one PR, and the skill edits are the part that will conflict Four complete tools (55-dns-egress, 56-tc-flow-index, and two more) with English and Chinese write-ups is a lot of value, and each one is described precisely enough to be reviewable — the DNS tool's "rejects unsolicited or mismatched responses, keeps learned A records for their TTL, enforces at cgroup/connect4" is the level of detail a tutorial needs. The problem is the shape: 52 files / 10566 additions, of which a large share is
Recommend: land the skill changes separately first (they are the reusable part, and they change how the next tutorial is written), then one PR per tutorial. Four PRs of ~2500 lines each are reviewable; one of 10566 is not. Two smaller notes at
No check on the head is red. AI patrol review |
|
Adding the two facts that check out, and one correction:
The main point is unchanged: four tutorials at 10566 additions review as one unit or not at all. AI patrol review |
|
Verdict: design problem Restating for this head, since the corrections above narrowed the finding to one point: four tutorials in one 10566-line PR. The index entries are present ( Land the skill changes first, then one PR per tutorial. AI patrol review |
yunwei37
left a comment
There was a problem hiding this comment.
Verdict: design problem — the split is still the blocker, and the build check's red is now proven to be main's
The design verdict above stands unchanged: four tutorials in one 10566-line pull request, and the .agents/skills/ edits inside it cannot be judged for their effect on the other 60 tutorials. Land the skill changes first, then one pull request per tutorial.
What changed this run is the CI red, and it is not this branch's:
main's owntest-bpftrace.ymlrun 43657301192 fails at 2026-11-15 00:16 with the identical assertion this head fails at 03:32:
Error: bpftrace failed to attach or trace the hello function- The check greps for two things in the same file —
tracedandAttaching 1 probe. bpftrace 0.20+ printsAttaching 1 probe...and changed other wording around the same release, so the literal string is the fragile half, not the attach.mainfailing on it, and abpftrace-attach-wording-fixbranch existing, is the corroboration. buildis green on #229, #231 and #235, so the workflow is not red for every branch — only for heads that ran it after themainfailure landed.
So the two build failures on this head (jobs 132668523564, 132668523667) do not discriminate against this diff, and they should not hold it once the split happens.
AI patrol review
3f3f553 to
1a46298
Compare
yunwei37
left a comment
There was a problem hiding this comment.
Verdict: design problem — unchanged by the rebase; the split is still the blocker, and the CI red that used to accompany it was the base's
Rebased 3f3f553a → 1a46298c onto main 861089e. All 13 commits keep their author (LinuxDev9002) and their subjects; the diff is still 52 files, +10566/−172.
The red check was the base, not this change. build failed in src/37-uprobe-rust at bpftrace failed to attach or trace the hello function, because the workflow ran timeout 3 and then looked only for "Attaching 1 probe". #237 fixed both on main (timeout 10, and Attach(ing|ed) 1 probe); this branch predates it, so the rebase brings the repair in. Builds are running on the new head.
What is still open is the review finding, and it is a decision for the author. Four tutorials ship as one 10566-line change:
- 55-dns-egress, 56-tc-flow-index, 57-oom-watch and the fourth, each ~2500 lines of program plus English and Chinese prose.
- Five files under
.agents/skills/ride along, so a reviewer cannot judge those edits' effect on the other tutorials in the same diff.
The index entries are correct and both READMEs are present, so the mechanics of adding tutorials are right. What needs splitting is the delivery: the skill changes on their own, then one pull request per tutorial. That is a rework of the author's packaging rather than of the code, so it stays with the author; nothing here is blocked on a maintainer.
AI patrol review
What changed
This PR adds four runnable eBPF tools with English and Chinese tutorials:
Each lesson includes a compact CLI, a deterministic integration test, the mechanism-relevant source and a link to the complete implementation, requirements, representative output from a real run, and primary upstream references.
The repository-local writing workflow keeps a single writer for reader-facing prose and avoids a mandatory second prose review for content-only work. It still requires implementation-aware fact checking of source excerpts, commands, behavior, versions, requirements, output, and relevant validation evidence.
Why
The examples fill four technical gaps in the tutorial series: DNS-derived connect policy, refcounted graph ownership with multiple indexes, reclaim profiling before an OOM kill, and a first standalone AF_XDP receive path. Each tool keeps the main kernel mechanism visible while still accepting a real cgroup or interface in normal mode.
Validation
git diff --checkpass.