v1.0.115 remote CLI session switch hangs with reported memory leak and an auth-change log storm
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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, node.js
- Lĩnh vực
- cli
Hướng nghiên cứu
Start by tracing remote/local session activation and session-context handling, then inspect how unsupported extension methods and auth or state notifications are handled. The report identifies no specific files or tests, so use the session/activeClientSet and extensions/getSessionModels events as entry points. Confirm a reproducible failure and bounded behavior without a repeated state-message storm; the memory-growth cause remains unverified.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
No original logs or protocol bodies attached.
Summary
Switching from the local CLI to a Copilot CLI session running on another machine
failed to yield a responsive interactive session. The user observed continued
memory growth until the local machine became unusable and stopped the affected
process. This is a user-observed incident, not a confirmed memory-leak diagnosis
or a deterministic reproducer.
Environment
- Local Copilot CLI: 1.0.115.
- Embedded Node: v24.22.3.
- Local OS: macOS 26.6.2, arm64.
- Target: an existing Copilot CLI session on another machine, not a cloud
coding-agent task. - Remote CLI version: also 1.0.115, confirmed by the user; not independently
queried. Remote OS: not yet supplied. - Connection handshakes report protocol 0.9.0, not an application release version.
- Incident date: November 25, 2026.
User-reported trigger and impact
- Use
/resumeor the session list to select the other machine's CLI session.
The exact entry point used during this incident still needs confirmation. - The switch does not complete as a usable interactive session.
- The local UI hangs and memory continues growing until the host is unusable.
These are incident steps, not verified minimal reproduction instructions.
No rerun was performed during diagnosis.
Local log evidence
All times below are UTC.
11:09:57.402: the inspected remote transport reportsconnected.11:12:42.402: local client sendsdispatchActionwith
session/activeClientSet.11:12:42.514:session.permissions.locations.applyfails with
Session filesystem approval storage provider is unavailable.11:12:42.615:session.skills.inspectInventoryfails with
Skill resource management requires a local session context.11:12:42.708: dense repeatedResolved LSP telemetry consentrecords begin,
withtelemetry_level: off,source: auth_change, androtated_clients: 0.11:12:42.916,11:12:43.959, and11:12:45.006: three
extensions/getSessionModelsrequests receive JSON-RPC method-not-found
responses (-32601).11:12:43.202: an incomingsession/activeClientSetaction is recorded;
transport traffic continues after log-storm onset.
Across four retained local process logs spanning 11:09:49.268 to
11:14:10.678, there are 256,896 lines and 39,593,326 bytes of disk output:
| Message pattern | Count |
|---|---|
Resolved LSP telemetry consent |
230,345 |
Of those, containing auth_change |
230,340 |
tgrep status changed |
18,220 |
Remote session access enabled |
5,364 |
The three state-message patterns peak at 5,122 entries in the aligned UTC second
11:12:57. This measures log output, not memory or unique event handlers.
Expected
Remote switching should complete responsively or fail with a bounded error,
without an uncontrolled state-message storm or memory growth that destabilizes
the local host. Unsupported remote extension methods should not cause such
behavior.
Uncertainty
- No process RSS/heap time series or allocation profile was captured.
- The log storm and session-context errors correlate with switching but do not
establish the cause of memory growth. - Both endpoints reportedly run 1.0.115. An application-release mismatch is not
supported; capability negotiation and method/context routing remain unverified. - No matching
SessionClient poll loop error,
Cannot invoke native session after disposal, orheap out of memory
was found in the four local process logs inspected. - This should not be classified as the same disposed-session polling issue as
#5263 without further evidence.
Areas to investigate
Please check remote/local session-context handling during activation, handling
of unsupported extension methods, and possible repeated auth/state notifications
or listener registration. These are investigation leads, not confirmed causes.
Sharing boundary
The original logs include private protocol/session data and are not attached.
Any further evidence should be minimized and manually reviewed before sharing.
- Ngôn ngữ chính
- Python
- Star
- 11.5k
- Fork
- 2k
- Merge trung bình
- 6 giờ 34 phút
- Pull request đã merge (30 ngày)
- 3
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 github/copilot-cli
-
area:plugins
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
github/copilot-cli#5567 ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
github/copilot-cli#5489 ·
-
Built-in functions.view returns no content for large files despite documenting automatic truncationĐang mởarea:tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#5476 ·
-
triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
github/copilot-cli#5377 ·
-
area:platform-windows area:tools
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
github/copilot-cli#5340 ·
Tất cả issue của github/copilot-cli
Issue tương tự
-
fidelity
Độ 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 1 ngày
-
backlog
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
sagemathinc/sagebrush#3434 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
marketing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation good first issue help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
wuisabel-gif/MemWhale#576 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Status: Triage Suggestion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
GTNewHorizons/GT-New-Horizons-Modpack#27957 ·
Maintainer thường phản hồi trong vòng 1 ngày