Skip to content

chore: remove the expired deprecated shims — agent proxy-supervisor alias, supervisor and mesh-dns --readiness-check - #1080

Merged
bpalermo merged 2 commits into
mainfrom
chore/remove-expired-deprecations
Sep 30, 2026
Merged

bpalermo merged 2 commits into
mainfrom
chore/remove-expired-deprecations

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

Do NOT merge until the running proving soak is graded.

Removes three deprecated compatibility shims whose promised removal window has passed. charts/ is not touched: a sibling PR owns every chart edit, including the alias paragraph in charts/aether/values.yaml.

Removals

1. agent proxy-supervisor alias

2. supervisor --readiness-check

3. mesh-dns --readiness-check

  • History: mesh-dns: exec readiness probe re-launches the whole daemon every 15s (~3–4% of mesh-dns CPU) — #673 redux #683 deprecated this flag. The chart execs /mesh-dns-ready from the same image instead.
  • Removed: the flag and its RunE branch in agent/cmd/mesh-dns/main.go, plus a new TestRetiredFlagsGone. Also fixed the stale meshdns.WithReadyMarker comment in agent/internal/meshdns/server.go, which named a nonexistent agent mesh-dns --readiness-check.
  • Left for the chart PR: charts/aether/templates/mesh-dns-daemonset.yaml:143-144 has a stale comment ("/mesh-dns --readiness-check is retained but…"). This PR does not touch it.

Proof nothing still uses them

I ran git grep over the whole repo (including e2e/, scripts/, .github/, docs/, charts/) on origin/main (84fb413) before removing anything:

git grep -n -e 'readiness-check'
git grep -n -e 'proxy-supervisor'
git grep -n -e 'proxy-ready' -- charts e2e scripts .github
  • readiness-check: outside the three implementations, the only hits were their own tests, comments and docs, docs/proposals/001 (historical), and one comment in charts/aether/templates/mesh-dns-daemonset.yaml:143. No chart, e2e script, workflow or script passes the flag.
  • proxy-supervisor: every chart, e2e, workflow and Makefile hit refers to the image or binary proxy-supervisor ($(img proxy.supervisor proxy-supervisor), IMAGES=(...), check-proxy-supervisor-deps.sh). None of them invoke the agent proxy-supervisor subcommand. The proxy DaemonSet runs the proxy.supervisor.image with --install-path / --install-readiness-path, and the proxy container's command is the staged binary with no subcommand word. The only remaining alias mention outside this PR's scope is the charts/aether/values.yaml:375 paragraph, which the sibling chart PR owns.
  • proxy-ready: every hit is /opt/aether/proxy-ready, which is staged from the proxy-supervisor image. Nothing reads /proxy-ready from the agent image.

Tests

  • bazel test //agent/... //common/...: all pass, including //agent/cmd/agent:image_test, //agent/cmd/proxy-supervisor:deps_test, //agent/cmd/proxy-supervisor:image_test, //agent/internal/supervisorcmd:supervisorcmd_test (the chart flag scan) and //agent/cmd/mesh-dns:mesh-dns_test.
  • bazel test --test_tag_filters=-integration //...: 134/134 pass.
  • bazel test --config=race on the touched test targets (supervisorcmd, agent/internal/cmd, mesh-dns, meshdns, readymarker): all pass.
  • scripts/check-proxy-supervisor-deps.sh: OK.
  • bazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //...: clean.
  • make format-check: clean.
  • make deps-audit: OK.
  • make gazelle: applied.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

bpalermo and others added 2 commits September 30, 2026 10:04
…lias, supervisor and mesh-dns --readiness-check

- Drop the `agent proxy-supervisor` alias (#772/#790) and the /proxy-ready
  layer on the agent image that only it read; the chart stages proxy-ready
  from the proxy-supervisor image. The agent image test now asserts
  /proxy-ready is absent, and a test pins the subcommand as retired.
- Drop the supervisor's deprecated --readiness-check (#673/#775); replace
  TestDeprecatedFlagsStayRegistered with TestRetiredFlagsGone.
- Drop mesh-dns's deprecated --readiness-check (#683), with a matching
  TestRetiredFlagsGone, and fix the stale meshdns.WithReadyMarker comment.
- Update docs/configuration.md, CLAUDE.md, AGENTS.md and common/readymarker
  comments accordingly. charts/ is intentionally untouched.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
@bpalermo
bpalermo merged commit 06df177 into main Sep 30, 2026
24 checks passed
@bpalermo
bpalermo deleted the chore/remove-expired-deprecations branch September 30, 2026 13:24
bpalermo added a commit that referenced this pull request Sep 30, 2026
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