Skip to content

kotlinlang-mcp-server sample: flaky test, and the sample isn't built in CI #1051

Description

@devcrocod

KotlinlangServerTest connects the client and the server concurrently over ChannelTransport.createLinkedPair(), so it hits the transport startup race (#1035) and fails intermittently. The sample is also missing from the Build Sample CI matrix, so CI never catches it.

Proposal: create the server session before connecting the client, as the SDK tests do since #885, and add the sample to the CI matrix

Activity

  1. added
    tests
    samples
    on Sep 29, 2026
  2. added theissue type on Sep 29, 2026
  3. added
    P3
    on Sep 29, 2026
  4. added this to the 0.22.0 milestone on Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3samplestests

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions