Add Python Worker project support to `cf dev`

Đang mở
#56 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python, typescript
Lĩnh vực
cli, developer-experience

Hướng nghiên cứu

No files, tests, or entry points are named. Start by locating the existing cf dev implementation and supported Worker project handling, then identify where project detection, tooling validation, option forwarding, process lifecycle, and fixtures are covered. Done means a documented Python Worker fixture passes startup, reload, bindings, dependency-failure, and shutdown tests.

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

Mô tả

enhancement priority: p3

Summary

Define and implement a supported local-development path for Python Worker projects.

Scope

  • Detect an agreed Python Worker project shape from public project metadata.
  • Validate required runtime, package, and environment tooling.
  • Build or prepare the Worker and start the supported local runtime.
  • Forward relevant cf dev options, including mode, bindings, and persistence.
  • Report environment and dependency failures with actionable guidance.
  • Shut down child processes cleanly on exit and cancellation.

Acceptance criteria

  • A documented Python Worker fixture starts with cf dev.
  • Source changes trigger the expected reload behavior.
  • Bindings and environment configuration reach the Worker correctly.
  • Missing or incompatible tooling produces a clear installation or upgrade message.
  • Automated tests cover startup, reload, dependency failure, and shutdown.
Ngôn ngữ chính
TypeScript
Star
960
Fork
62
Merge trung bình
19 giờ 17 phút
Pull request đã merge (30 ngày)
183

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 cloudflare/cf

Tất cả issue của cloudflare/cf

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.