Skip to content

feat(mlnode): mount GET /api/v1/clock for dapi's ping job - #1586

Open
baychak wants to merge 1 commit into
gonka-ai:vllm-0.25.1-upgradefrom
kaitakuai:feat/mlnode-clock-endpoint
Open

feat(mlnode): mount GET /api/v1/clock for dapi's ping job#1586
baychak wants to merge 1 commit into
gonka-ai:vllm-0.25.1-upgradefrom
kaitakuai:feat/mlnode-clock-endpoint

Conversation

@baychak

@baychak baychak commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Adds the GET /api/v1/clock endpoint requested in #1580 ("Required follow-up: MLNode /api/v1/clock"), per the checklist in the proposal appendix.

Two checklist items needed verification rather than code:

  • bypass auth / tracing / response cache — mlnode has none of the three; ProxyMiddleware passes /api/* straight through
  • join-proxy allowlist — the join nginx proxies location / wholesale (deploy/join/nginx.conf), so the path reaches mlnode unchanged and dapi's permanent-404 demotion cannot trigger

204 + X-Server-Recv-Ns / X-Server-Send-Ns per the host-ping
observability contract (gonka#1580). Without it dapi's mlnode probe
falls back to /readyz + the Date header — second-granular, no clock
divergence. Registered without check_service_conflicts so the probe
answers in every service state, like /metrics.

The join nginx proxies location / wholesale, so no allowlist change is
needed for the path to reach mlnode.
@baychak
baychak force-pushed the feat/mlnode-clock-endpoint branch from 6b3f148 to 4ca78f4 Compare August 13, 2026 00:02
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.

2 participants