refactor: replace local proto compilation with smg-grpc-proto package (#18682)

This commit is contained in:
Simo Lin
2026-02-12 05:29:24 -08:00
committed by GitHub
parent c59b9223e6
commit 92c5749f41
11 changed files with 22 additions and 981 deletions

View File

@@ -32,19 +32,3 @@ jobs:
extensions: h,c,cpp,hpp,cu,cuh,cc
clangFormatVersion: 18
style: file
- name: Check proto files are in sync
run: |
if ! diff -q python/sglang/srt/grpc/sglang_scheduler.proto sgl-model-gateway/src/proto/sglang_scheduler.proto; then
echo "❌ ERROR: Proto files are out of sync!"
echo ""
echo "The following files must be kept identical:"
echo " - python/sglang/srt/grpc/sglang_scheduler.proto"
echo " - sgl-model-gateway/src/proto/sglang_scheduler.proto"
echo ""
echo "Please ensure both files have the same content."
echo ""
echo "Differences:"
diff python/sglang/srt/grpc/sglang_scheduler.proto sgl-model-gateway/src/proto/sglang_scheduler.proto || true
exit 1
fi