Bound pre-lifecycle bootstrap attempts in server initialization
Maintainer thường phản hồi trong vòng 3 ngày
@DaleSeo đang làm issue này rồi.
Từ ngày 2/10/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Follow-up from #1248.
After #1248, serve_server stays in its bootstrap loop until a request selects a lifecycle. Malformed or unsupported requests get an error response and the loop continues. Discover probes also keep the loop open. This lets clients recover, for example after a bare tools/list without _meta. But a client can also keep the connection in the pre-lifecycle state forever by sending requests that never select a lifecycle.
Open question: should rmcp cap the number of pre-lifecycle attempts (or apply a timeout)? Or should the transport that owns the connection handle this?
Options:
- Count rejected/bootstrap-neutral requests and return
ServerInitializeErrorafter N attempts. - Add a configurable bootstrap timeout.
- Leave this to transports and document that expectation.
- Ngôn ngữ chính
- Rust
- Star
- 4k
- Fork
- 654
- Merge trung bình
- 4 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 40
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của modelcontextprotocol/rust-sdk
-
P3 question T-documentation T-enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
modelcontextprotocol/rust-sdk#1155 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug P1 ready for work T-transport
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
modelcontextprotocol/rust-sdk#1325 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
bug P1 ready for work T-transport
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
modelcontextprotocol/rust-sdk#1321 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
ProgressDispatcher: a slow progress subscriber blocks subscribe() and delivery for other tokensĐang mởbug P1 ready for work T-handler
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
modelcontextprotocol/rust-sdk#1312 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
transport::stdio() runs every read and write on tokio's blocking pool, which caps stdio throughputCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởenhancement P2 T-transport
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 58/100
modelcontextprotocol/rust-sdk#1301 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của modelcontextprotocol/rust-sdk
Issue tương tự
-
Signals (Failure Detector): a tool call and its own execution are reported as a repeated callĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
check: a failed re-read of the model file before binding is labelled E_THETA_LEVEL_BINDING on [parameters]Có thể đã có người làm @TeunP đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
Devolutions/picky-rs#546 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày