VS Code: queued follow-up retries legacy thread resume hundreds of times per second
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust, vscode
- Lĩnh vực
- backend-api-design, desktop
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 136k
- Fork
- 21.6k
- Merge trung bình
- 1 phút
- Pull request đã merge (30 ngày)
- 997
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của openai/codex
-
app bug rate-limits
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Windows PowerShell 5.1: non-ASCII text piped into a native command arrives as `?`Có thể đã có người làm @akhil9tiet đã nhận hôm nay. Đang mởbug CLI tool-calls windows-os
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
openai/codex#64139 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug CLI connectivity
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
core-plugins: remote bundle install keeps the temp directory before a fallible rename and leaves it behind on failureCó thể đã có người làm @akhil9tiet đã nhận 1 ngày trước. Đang mởbug CLI skills
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openai/codex#63907 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug CLI
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
openai/codex#63906 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
kornia/kornia-rs#1416 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 2 ngày
-
My Caps shows "Shared" on private Caps that were never sharedCó thể đã có người làm @AksharP5 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
CapSoftware/Cap#4569 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày