VS Code: queued follow-up retries legacy thread resume hundreds of times per second
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- rust, vscode
調査の方向性
Start by tracing queued follow-up dispatch and thread resume in the VS Code extension and bundled app-server; the payload does not name source files or tests, so locate these entry points first. Reproduce with a queued message on a legacy-history thread and observe handling of list_turns is not supported yet. Done means the item remains pending, automatic retries pause after this error, the error is surfaced, and transient failures use bounded backoff.
索引モデルが issue の本文から書いたものです。
説明
What version of the IDE extension are you using?
openai.chatgpt 26.1120.50957 with bundled codex-cli 0.171.0-alpha.13.2.
What subscription do you have?
Not provided.
Which IDE are you using?
VS Code 1.147.0.
What platform is your computer?
macOS 26.7.2 (25G332), arm64.
What issue are you seeing?
Automatic dispatch of an existing queued follow-up tries to resume a local thread with history_mode=legacy. Resume fails with list_turns is not supported yet, and the extension immediately tries again.
- First occurrence: 11,706 resume attempts in about 35 seconds (~330/s). The bundled
codex app-serverprocess sustained 94–100% CPU in macOS process measurements. The MacBook became hot. - Second occurrence: another already-open VS Code window made 5,405 attempts in 18.5 seconds (~292/s). The extension logged
app_server_restart_recovery_donewith no current conversation, then started the retries about 0.46 seconds later.
Representative events with identifiers omitted:
maybe_resume_started previousResumeState=needs_resume
VM lifecycle vmEvent=thread_resume_failed
Failed to execute queued message errorMessage="list_turns is not supported yet"
What steps can reproduce the bug?
Observed sequence on the affected installation:
- Have a pending
Queuefollow-up for a persisted local chat whose history mode islegacy. - Let VS Code's Codex extension recover its local app-server connection and automatically process the pending message.
- When resuming that thread returns
list_turns is not supported yet, observe repeatedthread/resumeattempts without a visible delay.
I have not verified a clean-profile reproduction or what initiated the app-server recovery in the second window.
What is the expected behavior?
After the unsupported-history response, pause automatic dispatch for that item, retain the pending message, and surface the resume error. Retry transient failures with bounded backoff.
Additional information
After backing up and removing only the affected item from the persisted extension queue, the first loop stopped and app-server CPU fell to 0.5–3.1%. The second window later retried the same chat while the persisted item was still absent and the follow-up setting was already steer. That window may have retained an in-memory copy.
Related: #45703 reports the same history error. #42589 reports a multi-window resume loop with active-writer conflicts. The failure here occurs during queued dispatch and returns list_turns is not supported yet.
- 主要言語
- Rust
- スター
- 136k
- フォーク
- 21.6k
- 平均マージ
- 1分
- マージ済み PR(30日)
- 997
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openai/codex のほかの issue
-
app bug rate-limits
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Windows PowerShell 5.1: non-ASCII text piped into a native command arrives as `?`対応中かも @akhil9tiet が今日担当しました。 オープンbug CLI tool-calls windows-os
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
openai/codex#64139 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug CLI connectivity
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
core-plugins: remote bundle install keeps the temp directory before a fallible rename and leaves it behind on failure対応中かも @akhil9tiet が 1 日前に担当しました。 オープンbug CLI skills
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openai/codex#63907 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug CLI
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openai/codex#63906 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
triage
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
kornia/kornia-rs#1416 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 2 日以内に返信
-
My Caps shows "Shared" on private Caps that were never shared対応中かも @AksharP5 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CapSoftware/Cap#4569 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信