CommandCodeAI / CommandCodeAI/command-code

The session has been destroyed

Đang mở
#814 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
4k
Fork
350
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Summary

✖ CRITICAL: Uncaught Exception!
This is an unexpected error. Please file a bug report at https://github.com/CommandCodeAI/command-code/issues/new
✖ ERROR → Error
ℹ REASON → The session has been destroyed
ℹ ERROR STACK ↓
Error [ERR_HTTP2_INVALID_SESSION]: The session has been destroyed
at ClientHttp2Session.request (node:internal/http2/core:1813:13)
at requestStream (node:internal/deps/undici/undici:8763:26)
at writeH2 (node:internal/deps/undici/undici:8883:16)
at Object.write (node:internal/deps/undici/undici:8355:18)
at _resume (node:internal/deps/undici/undici:9749:54)
at resume (node:internal/deps/undici/undici:9682:7)
at node:internal/deps/undici/undici:9503:32

Trace ID: 25be7b1ac5c17e2a496f3eb5ac1c61d1

Expected Behavior

Command Code coding.

Actual Behavior

Command Code crashing.

Steps to reproduce the issue

nil. Happens randomly

Command Code Version

1.50.0

Operating System

macOS

Terminal/IDE

vscode

Shell

powershell

Session file (optional)

No response

Fix prompt (optional)

No response

Additional context

No response

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách lần theo đường đi của request xung quanh ClientHttp2Session.request, requestStream và writeH2 trong stack Node.js/undici, sau đó kiểm tra cách Command Code quản lý các HTTP/2 session. Hãy thử tái hiện lỗi ngẫu nhiên trên macOS với phiên bản 1.50.0; công việc được xem là hoàn tất khi các request không còn bị crash khi một session đã bị hủy.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
node.js
Lĩnh vực
cli, networking
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.