Repository navigation
docs: document shipped features found undocumented by the 2026-09-15 review (#772) - #787
Merged
Merged
Conversation
…review (#772) Phase E2 of the review: the docs were not wrong here, they were silent. Each addition below is sourced from the code or chart it describes. docs/configuration.md - New § 3 `prober` section (proposal 013, `charts/prober`): the binary's whole flag set with defaults from `prober/internal/prober/prober.go` DefaultConfig + `prober/internal/cmd/root.go`; the two metrics it exports (`aether_probe_requests_total`, `aether_probe_request_duration_seconds`), their tier/target/result attributes and the full `result` value set; why per-node identity is an OTel *resource* attribute rather than a metric label; and the chart's deployment shape (DaemonSet into a mesh-managed namespace, derived `config.aether.io/upstreams`, deliberately no CPU limit, #735). The prober takes none of the shared manager flags, which the section says. - `--lame-duck-max` (`10s`, #729) added to the `mesh-dns` flag list, with the successor-observation semantics and the derived terminationGracePeriodSeconds. - `--spire-wait-warn-after` (`2m`, #740) added to the agent identity flag list, with a paragraph saying it is a logging threshold everywhere except the node agent, where it doubles as the readiness dwell. - Chart values that shipped undocumented: `spire.waitWarnAfter`, `agent.meshDnsDaemon.{forwardPoolSize,lameDuckMax,debug}`, and a new `edge.config` table covering all 11 keys of the proposal-029 fleet-default EdgeConfig (`name`, `useRemoteAddress`, `headersWithUnderscoresAction`, `streamIdleTimeout`, `requestTimeout`, `idleTimeout`, `perConnectionBufferLimitBytes`, `http2.*` ×3, `http3.enabled`), sourced from values.yaml, `edge-defaultconfig.yaml` and `api/aether/config/v1/edge_config.proto`. The rest of the review's "28 undocumented keys" turned out to be false positives of its dotted-path matcher: `edge.httpsPort`, `edge.geoip.database.fileName`, `edge.gateway.tlsSecretNamespace`, `edge.admin.*`, `edge.service.*`, `edge.overload.*`, `edge.spire.clusterSpiffeID.*`, `registrar.service.*` and `proxy.hotRestart.adminUnresponsiveDeadline` are all already documented in combined table rows. CLAUDE.md / AGENTS.md - Binaries that existed but were listed nowhere: `agent/cmd/proxy-ready` (#673), `agent/cmd/mesh-dns-ready` (#683), `prober/cmd/prober` (proposal 013). - Packages that existed but were described nowhere: `common/spire` (the #740 identity-wait/readiness model), `agent/internal/identity`, `agent/internal/node` + `controller/internal/nodetaint` (proposal 033 taint lifecycle, split across its two writers), `agent/internal/cniconflist` (#645), `registrar/internal/replicator` (proposal 006 Phase 2). - The race detector next to the build/test commands, and the `scripts/go-deps-audit.sh` "reclassify, don't drop" rule next to `make deps-audit`. nogo and the `deps-audit` CI job were added by #773 and are not duplicated here. docs/runbook.md - New "The race gate" subsection under § 3 Test: the `--config=race` spelling from .bazelrc, the scoped and `--runs_per_test=3 --nocache_test_results` forms, why a bare `//...` run currently reports failures that are not yours (#772 phase A2), and why a clean run is not evidence of absence. - Cross-reference from the standalone-charts paragraph to the new prober section. The § "Go dependency hygiene" cross-reference from #769 was verified present and left alone. No race CI job is claimed: `.bazelrc` ships `--config=race` and the Makefile ships `make test-race`, but ci.yaml has no `race` job on main (it arrives with #776), so the docs describe only the commands that exist today. Verification: `bazel run //:format.check`, `bazel test //website:all` (the docs feed the site; its link/nav check passes), `bazel build //... //test/e2e:e2e_test`. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase E2 of #772.
docs: document shipped features found undocumented by the 2026-09-15 review (#772)
Phase E2 of the review: the docs were not wrong here, they were silent. Each
addition below is sourced from the code or chart it describes.
docs/configuration.md
probersection (proposal 013,charts/prober): the binary's wholeflag set with defaults from
prober/internal/prober/prober.goDefaultConfig +
prober/internal/cmd/root.go; the two metrics it exports(
aether_probe_requests_total,aether_probe_request_duration_seconds),their tier/target/result attributes and the full
resultvalue set; whyper-node identity is an OTel resource attribute rather than a metric label;
and the chart's deployment shape (DaemonSet into a mesh-managed namespace,
derived
config.aether.io/upstreams, deliberately no CPU limit, prober: mesh_dns-tier probes cost ~180 ms at the median (liveness tier 9 ms, resolver server-side p50 1 ms) — ~170 ms of fixed client-side cost per probe, same on both DNS targets #735).The prober takes none of the shared manager flags, which the section says.
--lame-duck-max(10s, mesh-dns: add a lame-duck window on SIGTERM so the predecessor's SO_REUSEPORT socket keeps answering until the successor is serving (in-flight datagram loss on every roll, #726 root) #729) added to themesh-dnsflag list, with thesuccessor-observation semantics and the derived
terminationGracePeriodSeconds.
--spire-wait-warn-after(2m, agent: startup is fatally coupled to the SPIRE Workload API — a 25 s SVID wait exits the process (2–4 restarts per node on every cold boot; #662 family) #740) added to the agent identity flag list,with a paragraph saying it is a logging threshold everywhere except the node
agent, where it doubles as the readiness dwell.
spire.waitWarnAfter,agent.meshDnsDaemon.{forwardPoolSize,lameDuckMax,debug}, and a newedge.configtable covering all 11 keys of the proposal-029 fleet-defaultEdgeConfig (
name,useRemoteAddress,headersWithUnderscoresAction,streamIdleTimeout,requestTimeout,idleTimeout,perConnectionBufferLimitBytes,http2.*×3,http3.enabled), sourced fromvalues.yaml,
edge-defaultconfig.yamlandapi/aether/config/v1/edge_config.proto.The rest of the review's "28 undocumented keys" turned out to be false
positives of its dotted-path matcher:
edge.httpsPort,edge.geoip.database.fileName,edge.gateway.tlsSecretNamespace,edge.admin.*,edge.service.*,edge.overload.*,edge.spire.clusterSpiffeID.*,registrar.service.*andproxy.hotRestart.adminUnresponsiveDeadlineare all already documented incombined table rows.
CLAUDE.md / AGENTS.md
agent/cmd/proxy-ready(proxy readiness probe re-execs the whole agent binary every 2s: >=31% of supervisor CPU is Go package init #673),agent/cmd/mesh-dns-ready(mesh-dns: exec readiness probe re-launches the whole daemon every 15s (~3–4% of mesh-dns CPU) — #673 redux #683),prober/cmd/prober(proposal 013).common/spire(the agent: startup is fatally coupled to the SPIRE Workload API — a 25 s SVID wait exits the process (2–4 restarts per node on every cold boot; #662 family) #740identity-wait/readiness model),
agent/internal/identity,agent/internal/node+controller/internal/nodetaint(proposal 033 taintlifecycle, split across its two writers),
agent/internal/cniconflist(kube-flannel pod recreation clobbers the chained aether-cni conflist entry (Talos manifest re-sync) — silent fleet-wide unmeshing #645),registrar/internal/replicator(proposal 006 Phase 2).scripts/go-deps-audit.sh"reclassify, don't drop" rule next tomake deps-audit. nogo and thedeps-auditCI job were added by docs: correct stale facts found by the 2026-09-15 review (#772) #773 and arenot duplicated here.
docs/runbook.md
--config=racespellingfrom .bazelrc, the scoped and
--runs_per_test=3 --nocache_test_resultsforms, why a bare
//...run currently reports failures that are not yours(Codebase review 2026-09-15: phased fix plan (correctness, races, binary size, tests, dead code, docs) #772 phase A2), and why a clean run is not evidence of absence.
section. The § "Go dependency hygiene" cross-reference from chore(deps): Go dependency audit, go.sum prune, and unused-module removal (#767) #769 was verified
present and left alone.
No race CI job is claimed:
.bazelrcships--config=raceand the Makefileships
make test-race, but ci.yaml has noracejob on main (it arrives with#776), so the docs describe only the commands that exist today.
Verification:
bazel run //:format.check,bazel test //website:all(the docsfeed the site; its link/nav check passes),
bazel build //... //test/e2e:e2e_test.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr