Repository navigation
ax-server: take the router URL from --router-url, not ATENET_ROUTER_ADDR - #757
Merged
Merged
Conversation
rakyll
approved these changes
Nov 24, 2026
The flag defaults to the in-cluster router address, and ax-server exits at startup unless it is an http:// or https:// URL.
yongruilin
force-pushed
the
ax-aterouter-flag
branch
from
November 24, 2026 21:43
1d30ae4 to
26a7d2e
Compare
ghchinoy
added a commit
to ghchinoy/ax
that referenced
this pull request
Nov 25, 2026
ghchinoy
added a commit
to ghchinoy/ax
that referenced
this pull request
Nov 25, 2026
ghchinoy
added a commit
to ghchinoy/ax
that referenced
this pull request
Nov 25, 2026
ghchinoy
added a commit
to ghchinoy/ax
that referenced
this pull request
Nov 25, 2026
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.
ax-server now takes the router URL from a
--router-urlflag and no longer readsATENET_ROUTER_ADDR;ax sshstill does. Fixes #710.--router-urldefaults tohttps://atenet-router.ate-system.svc.cluster.local:443, and ax-server exits at startup unless the value is anhttp://orhttps://URL.cmd/ax-serverpasses the URL toTaskManager.RouterURLandNewHTTPSetupRunner.routerBaseURL, which read the variable and turned a barehost:portinto a URL, is gone, and tests set the URL directly instead of witht.Setenv.deploy/ax-server.yamlandtest/e2e/manifests/ax-server.yamlpass the flag underargsinstead of setting the variable. An ax-server image from before this change exits on the unknown flag when started from the new manifest; a new one started from an old manifest uses the default.Known pre-existing issue:
TaskManager.Resumestill returns success without pushing the task when the router URL is empty. After this change only tests that resume without a router reach that case.