Skip to content

transport-streamable-http-server-session does not build with the server role #1555

Todo

Description

@LambdaBytes

Building rmcp with the session feature and the server role, without the full transport-streamable-http-server feature, fails on main (043f22d):

cargo clippy -p rmcp --lib --no-default-features --features server,transport-streamable-http-server-session -- -D warnings

The build fails with E0432/E0433 errors involving server_side_http, WorkerTransport and worker.

server_side_http is only compiled with transport-streamable-http-server, and the session feature does not enable transport-worker, uuid or the HTTP/SSE dependencies its code uses.

CI does not catch this combination because cargo hack --each-feature disables the default features and the role-gated transport module is skipped.

I hit this while packaging rmcp for Debian, where individual features are tested by autopkgtest.

I have a patch ready that adds the missing feature dependencies, adjusts the module gating and adds a CI clippy step for this combination. The dependency set of transport-streamable-http-server remains unchanged.

Tested on main (043f22d) with Rust 1.96.1: the original code fails, the patched code passes, and the default and full HTTP server feature combinations also pass.

I can open a PR if the approach looks right.

Activity

  1. added
    bug
    P1
    T-transport
    T-config
    ready for work
    on Dec 3, 2026
  2. github-actions commented on Dec 3, 2026

    @github-actions
    Contributor

    @connor4312 is on triage rotation this week and is the reviewer for this one.

    Codex labeled this bug / P1 (T-transport, T-config). Please confirm or correct those labels.

    Automated triage. Labels are a first pass and the assigned maintainer has the final say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1T-configT-transportbugready for work

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions