[Server] Stdio session expires after an hour of silence
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 66/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- php
調査の方向性
Read the stdio server setup and InMemorySessionStore implementation, then trace how the stdio transport creates and uses its session. The issue reproduces with a two-second TTL, five seconds of silence, and a ping; use that sequence to check the behavior. Done means an idle stdio session still answers after the default one-hour TTL without requiring reconnection.
索引モデルが issue の本文から書いたものです。
説明
A stdio server stops answering after an hour without input: every request then gets Session not found or has expired, without an id, so the client cannot match it to its call, until it reconnects. InMemorySessionStore applies its default TTL of 3600 seconds and nothing renews the session on an idle connection. A stdio session has one client and lasts as long as the process, so it should not expire.
Reproduced on main on Linux with setSession(new InMemorySessionStore(2)), 5 seconds of silence and a ping. A workaround is setSession(new InMemorySessionStore(ttl: PHP_INT_MAX)).
- 主要言語
- PHP
- スター
- 1.7k
- フォーク
- 206
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 102
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
modelcontextprotocol/php-sdk のほかの issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
modelcontextprotocol/php-sdk#746 ·
メンテナーはふだん 1 日以内に返信
-
[Server] Handler type uses bare Closure, hard to decorate RegistryInterface under strict PHPStanオープンServer
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
modelcontextprotocol/php-sdk#468 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement P3
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
modelcontextprotocol/php-sdk#733 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
[Server] Handle notifications/cancelled on the handshake era対応中かも @ump45nose が 5 日前に担当しました。 オープンhelp wanted improves spec compliance Server
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
modelcontextprotocol/php-sdk#732 ·
メンテナーはふだん 1 日以内に返信
-
[Client][Server] Ship extension classes for the two authorization extensions対応中かも @chr-hertel が 6 日前に担当しました。 オープンauth Client Server
modelcontextprotocol/php-sdk#721 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
modelcontextprotocol/php-sdk の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
pluginsGLPI/carbon#396 ·
-
[BUG] Bundle products lose their price in RSS feeds: getPrices() was removed対応中かも @pcvelz が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
OpenMage/magento-lts#5869 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
OpenGIS/waymark-wp#82 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信