* ci: run the DNS smoke on the release honk-core in its own lane
* ci: report the release binary size and cap the smoke CPU
* ci: floor the slowest-test limit at 30 s
* ci: check docs links on every change and skip the Rust lanes for prose-only pull requests
* ci: add the ebpf compile guard, the eBPF path filter and the label-triggered full lanes
* ci: add the weekly drift workflow
* ci(release): start the x86_64 artefacts once before publishing
* ci: surface hidden data and easy-to-miss signals in one pull-request comment
* docs(design): point control-plane.md at routing.md's current headings
Audit of every resolver in the tree found six spots still bypassing
honk's DNS stack; all now share it:
- urltest (clash delay): optional UrltestResolver hook, installed by
honk-core against DnsController::resolve_domain — delay measurements
follow dns.routing/cache/serve-stale instead of the system resolver
- alive: raw-TCP fallback probe and startup check-URL seed resolution
use the same ResolveHook instead of lookup_host
- udp_check_dns: domain entries resolve through the internal DNS hook
(literal entries still win), reload-safe via DnsController
- subscriptions: reqwest gets a reqwest::dns::Resolve backed by the
bootstrap resolver (bypass-marked), so subscription fetches no
longer depend on a poisonable system resolver
Verified live on the gateway with a split-DNS config
(223.5.5.5 UDP + dns.alidns.com DoH + dns.alidns.com DoQ + 1.1.1.1
DoH3): baidu/google/bing resolve via their designated upstreams, the
environment-blocked DoH3 upstream fails isolated (other domains
unaffected), and health-check resolution degrades to the system
fallback when the internal path has no answer.
Adds ci/dns-ci.sh + just dns-ci gate (fmt, clippy, config, dns,
control, outbound suites) — ALL GREEN.
Audit-driven cleanup (4-way parallel audit):
- ProxyHandler::test_connectivity gets a default implementation;
eight byte-identical copies across handlers deleted
- util.rs TCP keepalive now uses socket2's safe API (was two raw
libc::setsockopt blocks) and connect_marked_addr is one code path
instead of two 90-line branches; marked UDP socket creation unified
between quic.rs and util.rs
- alive: remove the RecoveryState dead state machine (~100 lines),
extract probe_backoff, DialerCollection::update_moving_average and
PerProtocolState::reset_on_success (each was triplicated)
- group: std RwLock -> parking_lot (drops a dozen unwraps, matches
the rest of the crate)
- quic_boring: HKDF expand-label info builder shared between
sha256/sha384 variants; anytls md5_hex hand-roll replaced with a
fmt::Write fold; transport wrote_preface/wrote_headers dead fields
removed
No behavior change intended; 264 lib tests + clippy clean.
eBPF BTF: build.rs now verifies the object it embeds actually contains
.BTF (aya refuses BTF-less objects at runtime on the gateway), rebuilds
when missing or BTF-less, and strips RUSTFLAGS/CARGO_ENCODED_RUSTFLAGS
from the child env — an environment RUSTFLAGS overrides
crates/honk-ebpf/.cargo/config.toml's --btf flags and silently produces
BTF-less objects (the 'no BTF parsed for object' incident). A stale
BTF-less copy from an earlier build also sat in the musl OUT_DIR
because build.rs never reran there.
Cross builds (ci/zigcc, ci/zigcxx, ci/zig-bindgen-env): boring-sys
needs a clang-compatible toolchain under cross — CMake injects
clang-style --target flags into its ASM rules that real GCC rejects
and zig rejects in Rust-triple spelling, and bindgen needs zig's target
headers instead of the host's. The wrappers strip/rewrite those flags
(plus rustc's aarch64 errata linker args); musl targets link with
-C link-self-contained=no so zig supplies the CRT (duplicate _start
otherwise). Verified locally: x86_64-musl (static, runs), aarch64-gnu
(glibc 2.28), aarch64-musl (static) — all with BTF-ful embedded objects.
Justfile: build-musl uses the zig wrappers; build-ebpf warns on
RUSTFLAGS and verifies .BTF; test-ci mirrors the CI gate; clean-all
also removes the live table-100 policy routes (2023/iptables lines are
now marked legacy); dropped run/deploy/docker* recipes whose scripts/
Dockerfile don't exist in this tree.
release.yml: test job installs cmake+libclang and skips only the 3
known-failing pre-existing tests; build job verifies eBPF BTF and
cross-builds via the zig wrappers (zig 0.14.1) instead of cross.