You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ax-server: take the actor router URL from a flag, not ATENET_ROUTER_ADDR #710
ax-server reaches every actor through the router, and reads the router's address from the ATENET_ROUTER_ADDR environment variable inside internal/controller, on every request. Its other Substrate settings are flags (--substrate-endpoint, --substrate-authority).
Why change it:
The variable has no default. When it is unset, a resume succeeds without pushing the task to the runner. A flag with a default, as --substrate-endpoint has, removes that case.
It is process-wide state, so every test that needs a router sets it with t.Setenv.
Proposal: add --router-url to ax-server (default https://atenet-router.ate-system.svc.cluster.local:443), pass it from cmd/ax-server/main.go to the controller, and set it under args in deploy/ax-server.yaml and test/e2e/manifests/ax-server.yaml. ax-server stops reading ATENET_ROUTER_ADDR; ax ssh keeps reading it.
Activity
ax-server: take the router URL from --router-url, not ATENET_ROUTER_A…