Ensure `events.jsonl` honors inherited file-size limits
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 領域
- cli
調査の方向性
まず、~/.copilot/session-state//events.jsonl の永続化と、SDK_SESSION_ERROR(persistence) を発行するパスを追跡します。継承された 50 MB のファイルサイズ制限と EFBIG エラーが書き込みにどのような影響を与えるかを確認し、その後、長時間実行されるセッションが制限内に収まり、永続化エラーなしで再開可能であることを検証します。
索引モデルが issue の本文から書いたものです。
説明
Summary
The Copilot CLI persists session events to:
~/.copilot/session-state/<sessionId>/events.jsonl
The CLI inherits the hosting process’s file-size limit. During sufficiently long
sessions, events.jsonl reaches that limit and the next persistence write fails:
I/O error: File too large (os error 27)
This emits SDK_SESSION_ERROR(persistence) and fails the active turn.
Request
Please ensure that events.jsonl remains within the file-size limit inherited by
the Copilot CLI while preserving supported session persistence and resume behavior.
If this behavior is owned by the bundled CLI runtime rather than the SDK wrappers,
please route the issue to the appropriate owner.
Environment
- SDK:
github-copilot-sdk==1.0.7 - Bundled CLI: 1.0.71
- Host file-size limit: 50 MB
- Platform: Linux container
- Error:
EFBIG/os error 27
Acceptance criteria
events.jsonldoes not exceed the inherited file-size limit.- Long-running sessions do not fail with EFBIG due to event-log growth.
- Persisted sessions remain resumable with their expected state.
Impact
Observed in production across real user conversations, causing repeated
Service-class turn failures.
Reference
Internal tracking: https://microsoft.ghe.com/bic/mcs-dracarys/issues/7127
- 主要言語
- Java
- スター
- 10.5k
- フォーク
- 1.5k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 130
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/copilot-sdk のほかの issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
github/copilot-sdk#2760 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
github/copilot-sdk#2759 ·
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
github/copilot-sdk#2758 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
github/copilot-sdk#2709 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
github/copilot-sdk#2673 ·
github/copilot-sdk の issue をすべて見る
似ている issue
-
area/plugin
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
kestra-io/plugin-kestra#190 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/rocketmq-dashboard#5064 ·