Skip to content

feat(website): serve the vanity Go import path aethermesh.dev (proposal 035) - #631

Merged
bpalermo merged 1 commit into
mainfrom
feat/vanity-import-path
Aug 8, 2026
Merged

bpalermo merged 1 commit into
mainfrom
feat/vanity-import-path

Conversation

@bpalermo

@bpalermo bpalermo commented Aug 8, 2026

Copy link
Copy Markdown
Owner

What

Proposal 035 + its serving half: aethermesh.dev becomes a Go vanity import host, served by the docs site.

  • docs/proposals/035_vanity-import-path.md — the decision record: apex over go. subdomain, bare apex over /aether suffix, the coupling risk and its guard, and the follow-up rename PR this gates.
  • website/overrides/main.html — go-import + go-source meta in the shared extrahead block, deliberately outside the {% if page %} guard: 404.html renders with page = None and is the page that answers for arbitrary package subpaths (/agent/internal/...?go-get=1); the go tool parses the tags regardless of HTTP status.
  • website/build_site.py — verify_go_import: the required //website:site_test gate now fails if index.html or 404.html loses the exact tag, so a future site redesign breaks CI instead of go get.

Verified

  • //website:site_test passes.
  • Built tar inspected: the exact go-import meta present on index.html, 404.html, and a deep docs page.
  • aethermesh.dev custom domain confirmed live (HTTPS 200 apex, correct A records, site 404 page serving).

Not in this PR

The module rename (module aethermesh.dev, gazelle prefix, all imports, proto go_package) is the follow-up, gated on this deploying:

curl -s 'https://aethermesh.dev/common/udspath?go-get=1' | grep go-import

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

…al 035)

Decision: apex aethermesh.dev (tailscale.com/gvisor.dev precedent), not a
go. subdomain — the docs site already serves the apex and already has the
fail-closed verification culture to keep the tag honest.

go-import + go-source meta land in the shared extrahead block OUTSIDE the
'if page' guard: 404.html renders with page=None and is the page that
answers for package subpaths (?go-get=1 parses meta regardless of status).

verify_go_import in build_site.py fails the required site gate if
index.html or 404.html ever loses the exact tag — a site redesign breaks
CI, not 'go get'.

The module rename to 'module aethermesh.dev' is the follow-up PR, gated on
this meta being live on the deployed site.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo merged commit f6b0e70 into main Aug 8, 2026
16 checks passed
@bpalermo
bpalermo deleted the feat/vanity-import-path branch August 8, 2026 14:08
bpalermo added a commit that referenced this pull request Aug 8, 2026
The vanity import path is live: aethermesh.dev serves go-import/go-source
meta on every page including 404.html (PR #631), verified with
?go-get=1 on a real package subpath before this merges.

Mechanical, atomic:
- go.mod module line + gazelle:prefix
- every import across **/*.go (240 files; URL occurrences untouched)
- option go_package in all 11 protos
- make gazelle (importpaths) + make tidy
- hand-written x_defs linker paths in cmd BUILD files (version stamping
  would have silently broken otherwise)
- CLAUDE.md + README note

BREAKING CHANGE: go get github.com/bpalermo/aether is frozen at
pre-rename tags; new versions are importable only as aethermesh.dev.

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo added a commit that referenced this pull request Aug 8, 2026
The vanity import path is live: aethermesh.dev serves go-import/go-source
meta on every page including 404.html (PR #631), verified with
?go-get=1 on a real package subpath before this merges.

Mechanical, atomic:
- go.mod module line + gazelle:prefix
- every import across **/*.go (240 files; URL occurrences untouched)
- option go_package in all 11 protos
- make gazelle (importpaths) + make tidy
- hand-written x_defs linker paths in cmd BUILD files (version stamping
  would have silently broken otherwise)
- CLAUDE.md + README note

BREAKING CHANGE: go get github.com/bpalermo/aether is frozen at
pre-rename tags; new versions are importable only as aethermesh.dev.


Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Co-authored-by: Claude Fable 5 <[email protected]>
bpalermo added a commit that referenced this pull request Sep 15, 2026
Phase E1 of #772: correct every statement the stale-docs review found to be
factually wrong. Comment- and doc-only; no behaviour change, no Go code touched
outside doc comments.

Go package / declaration doc comments:

- agent/internal/meshdns/server.go:1-6 — "the node agent's in-process resolver
  ... answers <svc>.<meshDomain> ... and forwards everything else to the upstream
  resolver (kube-dns)" → the name shape is <svc>.<ns>.<meshDomain> (proposal 020;
  the same file answers the flat form NODATA at :726), and upstream forwarding
  belongs to the standalone agent/cmd/mesh-dns daemon (#578/#583), not the agent.
- agent/internal/gamma/reconciler.go:1-5 — "watches HTTPRoutes ... projects into
  the outbound routing" → also GRPCRoute, ReferenceGrant and HTTPFilter, and the
  projection feeds the capture (cap_http) path as well as outbound.
- common/constants/annotations/annotations.go:23 — "REQUIRES the agent
  --capture-redirect-all flag" → that flag was retired by proposal 031; the
  passthrough chain is always rendered and redirect-all is the managed-pod
  default. (The old text made a working feature read as unusable.)
- controller/internal/podmutate/mutator.go:14 — "ndots is opt-in (default off)"
  → the chart ships it ON (controller.injectPodNdots: true). Also :2 "does two
  things" → three (it lists three bullets).
- agent/internal/xds/cache/cache.go:268 — "Empty unless --l4-routes is enabled"
  → gated on the TCPRoute CRD being installed (flag retired by 031).
- agent/internal/xds/proxy/l4route.go:173 — "when --l4-routes is enabled" → the
  CNI UDP redirect is unconditional; the listener exists only when UDPRoute
  backends do.
- registry/internal/k8s/kubernetes.go:103 — "HTTP/h2 over :15008" → :18008
  (proposal 030); :108 — "true for etcd/ddb" → "true for etcd" (the DynamoDB
  backend was removed in #760).
- registry/registry.go:3 — "(e.g., etcd)" → names the three real backends
  (Kubernetes, etcd, registrar).

Proposal status lines:

- docs/proposals/035_vanity-import-path.md:3 — "Accepted ... the module rename is
  the follow-up PR and is gated on the meta being live" → Implemented; go.mod is
  already `module aethermesh.dev` (#631-#633) and every import uses it.
- docs/proposals/021_per-gateway-addressing.md:3 — "is the default
  (edge.perGatewayAddressing=true)" → unconditional; that chart value was deleted
  by proposal 031, so an operator --setting it gets a no-op.

CLAUDE.md / AGENTS.md:

- CLAUDE.md:11 — "Go 1.26.x" → Go 1.27.x (MODULE.bazel:43 go_sdk.download =
  1.27.1; README.md and AGENTS.md already said 1.27.1). Same line now records
  nogo, which runs as a build-time validation action on every Go target.
- CLAUDE.md:38 — notes that `make deps-audit` is also the required `deps-audit`
  CI job.
- CLAUDE.md:61 — "### Binaries (under `cmd/`)" → there is no top-level cmd/;
  states the real layout (agent/cmd, cni/cmd, registrar/cmd, controller/cmd,
  prober/cmd).
- AGENTS.md:26 — mirrors the nogo note.
- AGENTS.md:81 — "SPIRE integration enabled by default" → true for agent and
  registrar; the controller's --spire-enabled defaults to false.

Other docs:

- charts/README.md:26 — the proxy image is digest-pinned too (tag + digest, and
  the aether.image helper prefers the digest).
- charts/README.md:46 — prober chart 0.2.0 → 0.3.0, and the hard-coded aether
  chart version (0.92.4, now 0.92.18) replaced by a `<version>` placeholder plus
  a pointer to Chart.yaml / the publish workflow output.
- charts/README.md:88-91 — the copy-pasteable `helm install --version
  0.92.4-<git-commit>` (14 chart versions stale) replaced with
  `<aether-version>`/`<crds-version>` placeholders and an explicit "do not copy a
  version out of this file". Chose placeholders over a fresh literal so the one
  file whose job is "how to install" cannot go stale again.
- charts/README.md:116-124 — image table was missing the prober and proxy images.
- docs/observability/README.md:12-20 — the mesh-DNS alert table listed 7 of the 8
  alerts in mesh-dns-alerts.yml; added MeshDNSForwardConnsRecyclingOnError (#674).
- proxy/README.md:55 — proxy.yml is the PR check; the release path is
  proxy-release.yml (multi-arch push + automated chart pin PR, #703/#727), which
  the file never mentioned.
- docs/conformance/gateway-api-features.md:11 — "e2e-validated on talos (aether
  0.41.0)" read as never-revalidated; now says first validated at 0.41.0, carried
  since (0.92.x), with the e2e.yaml conformance jobs as the standing gate.
- docs/runbook.md:528-529 — `spire.NotReadyDwell` / `spire.ServiceNotReadyDwell`
  are Go constants, not values.yaml paths; the notation said otherwise.

charts/README.md sits outside any charts/<name>/ directory, so no Chart.yaml bump
is required (and none of the chart directories are touched).

Not done here (Phase E2, "document what shipped"): the prober CLI section,
--lame-duck-max, --spire-wait-warn-after, the edge.config.* value table, and the
CLAUDE.md/AGENTS.md package/binary additions. Proposal 032's v1.6.1-vs-v1.6.2
mention is left alone: the proposal is historical and the report marked it skip.

Verification: bazel build //... //test/e2e:e2e_test; bazel test //...
--test_output=errors (98 pass); bazel run //:format.check; bazel build
--config=lint --@aspect_rules_lint//lint:fail_on_violation //...; bazel run
//:gazelle (no churn); bazel test //website:all (site_test PASSED — docs feed the
site); scripts/go-deps-audit.sh exit 0.


Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Co-authored-by: Claude Fable 5.1 <[email protected]>
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