mirror of
https://github.com/hasso5703/alzeo.git
synced 2026-12-06 21:04:21 +01:00
The SGLang lanes start their engine with SGLANG_ENABLE_REQUEST_HEADER_OVERRIDES=1 so that it takes the request id this proxy names (v6.14). That switch makes the engine apply every override header it knows, from whoever sends it. Read in SGLang v0.5.21 (python/sglang/srt/entrypoints/request_headers.py, fetched at the v0.5.21 tag): x-override-rid, -bootstrap-host, -bootstrap-port, -bootstrap-room, -conversation-id, -routed-dp-rank, -disagg-prefill-dp-rank and -priority. _hdrs relayed every header but the hop-by-hop ones, so any client of the port could set the scheduler's priority, data-parallel rank and disaggregation fields of its own request. None of them is a client's to set. The caller's x-override-* headers are now dropped by their prefix, so a field a later release adds is dropped too. The rid keeps the behaviour it had: the proxy's own, or the caller's when it names one. Found in a cloud review of v1.36.1 (pull request #52). On the reference box none of these fields gives a client anything: its engines run without priority scheduling (a priority is ignored, or aborts that request alone), with one data-parallel rank and no disaggregation, and conversation_id is only stored (read in the scheduler of the flash lane's pinned image). Nothing in this repository sends an x-override-* header but the rid. The new test fails on the old code (all eight headers reach the fake engine) and passes on this one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>