Skip to content

Test servers: a showcase config that broadcasts resource updates, for manual --load-subscribe fan-out runs #2964

Closed

Description

@cliffhall

Found in the v2.15.0 release smoke (#2960), while driving --load-subscribe (#2913 / PR #2927) by hand.

Problem

No showcase test-server config broadcasts a resource update to every subscribed session. Over Streamable HTTP, each session of the composable server is its own server instance, so update_resource notifies only the session that called it. A manual fan-out run against the stock fixture therefore looks like lost deliveries:

server-composable.js with subscriptions:true + numbered_resources + update_resource
$ … --method tools/call --tool-name update_resource --tool-arg uri=test://resource_1 \
    --tool-arg 'text=v{{seq}}' --load --load-requests 10 \
    --load-subscribe test://resource_1 --load-subscribers 5
Delivered: 10 of 50 … 40 missed across 4 sessions

The CLI is reporting this correctly. Against a broadcasting server built with onResourceSubscribe, the way the CLI's own test builds one, the same run delivered 200 of 200.

Ask

Add a showcase config, or a composable option, whose resource updates reach every subscribed session. Point the --load-subscribe docs at it so the feature can be tried by hand without writing a server.

Activity

  1. added this to the v2.16.0 milestone on Nov 11, 2026
  2. cliffhall commented on Nov 11, 2026

    @cliffhall
    MemberAuthor

    Triage: Priority Low (total 4)

    • Severity 2: minor friction. The feature works, and the workaround is writing a broadcasting server.
    • Urgency 1: no time pressure.
    • Bonuses: +1 milestone (v2.16.0).

    Board: #28, Status Todo.

  3. self-assigned this
    on Nov 12, 2026
  4. cliffhall commented on Nov 12, 2026

    @cliffhall
    MemberAuthor

    Shipped in #2972 (merge ddf3f41).

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature requestv2Issues and PRs for v2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions