Repository navigation
fix(gateway): pin internal crate dependencies to exact versions - #19224
Merged
Merged
Conversation
Change version specifiers from ~1.0.0 (allows patch bumps) to =1.0.0 (exact pin) for all internal smg/wfaas crates in sgl-model-gateway. The ~1.0.0 range allowed cargo to resolve newer patch versions (e.g. smg-wasm 1.0.1, wfaas 1.0.2) which introduced breaking API changes (WasmModuleManager::new return type, Arc<Vec<u8>> field type), causing CI Docker builds to fail since Cargo.lock is gitignored. What changed: - sgl-model-gateway/Cargo.toml: pin 11 internal crates from ~1.0.0 to =1.0.0 (reasoning-parser, openai-protocol, tool-parser, llm-tokenizer, smg-auth, wfaas, data-connector, smg-mcp, smg-wasm, smg-mesh, smg-grpc-client) Verified: clean build with lock file removed and maturin build --release. Signed-off-by: Simo Lin <[email protected]>
Contributor
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Kangyan-Zhou
pushed a commit
that referenced
this pull request
Feb 24, 2026
Signed-off-by: Simo Lin <[email protected]>
magicYang1573
pushed a commit
to magicYang1573/sglang
that referenced
this pull request
Mar 9, 2026
…project#19224) Signed-off-by: Simo Lin <[email protected]>
2 of 5 tasks
Wangzheee
pushed a commit
to Wangzheee/sglang
that referenced
this pull request
Mar 21, 2026
…project#19224) Signed-off-by: Simo Lin <[email protected]>
JustinTong0323
pushed a commit
to JustinTong0323/sglang
that referenced
this pull request
Apr 7, 2026
…project#19224) Signed-off-by: Simo Lin <[email protected]>
4 of 5 tasks
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.
Summary
Fix CI Docker build failures caused by unpinned internal crate dependencies resolving to newer versions with breaking API changes.
What changed
sgl-model-gateway/Cargo.toml: Pin 11 internal crates from~1.0.0to=1.0.0Why
The
~1.0.0version specifier allows patch bumps (1.0.1, 1.0.2, etc.). SinceCargo.lockis gitignored, CI resolves fresh dependencies and picks up newer versions ofsmg-wasm,wfaas, etc. that have breaking API changes (WasmModuleManager::new()return type,Arc<Vec<u8>>field type), causing Rust compilation failures.Pinning to
=1.0.0ensures CI builds use the same versions that work locally.Refs: https://github.com/sgl-project/sglang/actions/runs/22335011921/job/64625492351
Test plan
Cargo.lockand ranmaturin build --release --features vendored-openssl— builds successfully