A crash (CLI.INTERNAL_ERROR) suggests no next action, so users are not pointed at prisma feedback

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

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ó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/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ệ
typescript
Lĩnh vực
cli

Hướng nghiên cứu

Start in packages/cli-engine/src/execution/settlement.ts at settleBug and trace how CLI.INTERNAL_ERROR produces nextActions. Compare the legacy CLI behavior, then verify that a crashed command's output points users to prisma feedback without losing the engine release-chain requirements.

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

Mô tả

When a command crashes, the engine settles the run as CLI.INTERNAL_ERROR with nextActions: [] (settleBug in packages/cli-engine/src/execution/settlement.ts). There is no hook for the host to add an action, so the output never suggests prisma feedback, which the CLI ships. The legacy CLI offered this.

This needs an engine change, so it rides the next engine release chain.

Recorded in the prisma-cli-v8 project ledger, which is being deleted at project close-out: https://github.com/prisma/prisma-cli/blob/4356b361adf7044bae59aa0bc70340eda89fdad6/.drive/projects/prisma-cli-v8/deferred.md#L160

🤖 Generated with Claude Code

Ngôn ngữ chính
TypeScript
Star
25
Fork
4
Merge trung bình
18 giờ 22 phút
Pull request đã merge (30 ngày)
34

Chuẩn bị môi trường

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.

Issue khác của prisma/prisma-cli

Tất cả issue của prisma/prisma-cli

Issue tương tự

Thêm issue về TypeScript

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.