Repository navigation
chore: remove the expired deprecated shims — agent proxy-supervisor alias, supervisor and mesh-dns --readiness-check - #1080
Merged
Conversation
…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
added a commit
that referenced
this pull request
Sep 30, 2026
…iness-check flag (#1082) The flag was removed in #1080. Chart 1.0.15. Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
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 incharts/aether/values.yaml.Removals
1.
agent proxy-supervisoralias//agent/cmd/proxy-supervisor, with its own image. ab630f2 (perf(proxy): ship the supervisor as its own 15 MiB binary instead of the 65 MiB agent (#772) #790) keptagent proxy-supervisoras acmd.Deprecatedalias for one release, so that ahelm rollbackto a chart predating Codebase review 2026-09-15: phased fix plan (correctness, races, binary size, tests, dead code, docs) #772 still had a working initContainer. The chart has been bumped about 40 times since then. A pre-Codebase review 2026-09-15: phased fix plan (correctness, races, binary size, tests, dead code, docs) #772 chart also pins its own agent image digest, so a rollback to it never needed the alias.agent/internal/cmd/supervisor.go, which also drops//agent/internal/supervisorcmdfrom the agent's deps (gazelle). The/proxy-readytars_layeron//agent/cmd/agent:agent_imageis also removed, because only the alias read it. The chart'sinstall-supervisorinitContainer runs the proxy-supervisor image and stages/proxy-readyfrom that image's own layer (agent/cmd/proxy-supervisor/BUILD.bazel).charts/aether:aether_proxy_supervisor_image_testpins that.agent/cmd/agent/testdata/container_test.yamlnow asserts/proxy-readyis absent from the agent image. It previously asserted the file was present. NewTestRetiredSubcommandsGoneinagent/internal/cmdchecks that the subcommand does not come back.docs/configuration.md,CLAUDE.mdandAGENTS.md.CLAUDE.mdwrongly said proxy-ready ships in the agent image; it now names the proxy-supervisor image.2. supervisor
--readiness-checkMarkDeprecatedafter profiling showed that re-execing the supervisor every 2s cost ≥31% of that container's CPU in package init. The chart has used the stdlib-onlyproxy-readysince 2026-09-04.runbranch and thecommon/readymarkerimport fromagent/internal/supervisorcmd.TestDeprecatedFlagsStayRegisteredonly covered this flag, so it is replaced withTestRetiredFlagsGone. That follows the repo's convention for retired flags (seeagent/internal/cmd,controller,registrar,cni). Thecommon/readymarkerdoc comments now describe the flag as removed.readymarkeritself stays, becauseproxy-readyandmesh-dns-readyuse it.3. mesh-dns
--readiness-check/mesh-dns-readyfrom the same image instead.RunEbranch inagent/cmd/mesh-dns/main.go, plus a newTestRetiredFlagsGone. Also fixed the stalemeshdns.WithReadyMarkercomment inagent/internal/meshdns/server.go, which named a nonexistentagent mesh-dns --readiness-check.charts/aether/templates/mesh-dns-daemonset.yaml:143-144has a stale comment ("/mesh-dns --readiness-checkis retained but…"). This PR does not touch it.Proof nothing still uses them
I ran
git grepover the whole repo (includinge2e/,scripts/,.github/,docs/,charts/) onorigin/main(84fb413) before removing anything:readiness-check: outside the three implementations, the only hits were their own tests, comments and docs,docs/proposals/001(historical), and one comment incharts/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 binaryproxy-supervisor($(img proxy.supervisor proxy-supervisor),IMAGES=(...),check-proxy-supervisor-deps.sh). None of them invoke theagent proxy-supervisorsubcommand. The proxy DaemonSet runs theproxy.supervisor.imagewith--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 thecharts/aether/values.yaml:375paragraph, 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-readyfrom 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=raceon 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