Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Cloudflare deploy fails when the newest version has no bindings

Đang mở
#457 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

@aayushbtw đang làm issue này rồi.

Từ ngày 16/10/2026.

  • #458 của @aayushbtw — đang mở

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript
Lĩnh vực
cloud

Hướng nghiên cứu

Start with the versions.view operation in packages/void/src/cli/cf-version-runner.ts, where the issue says versions without bindings are treated as unreadable. Check the Cloudflare response for a version with no bindings and trace how that affects secret inheritance verification. Done means a binding-free version can be read and deploy proceeds to upload; pull request #458 is already open.

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

Mô tả

void deploy --platform cloudflare stops before uploading when the Worker's newest version has no bindings:

◇ Checking the current Worker deployment...
■ deploy: could not verify which Worker Version would supply inherited secrets; production traffic is unchanged.

cf workers versions get leaves out bindings for a version that has none. The versions.view operation in packages/void/src/cli/cf-version-runner.ts requires bindings to be an array, so it reports the version as unreadable and the secret-inheritance check stops.

I got such a version when a build ran through vp run build, which drops Void's deploy env vars, so the upload had no __VOID_VERSION_METADATA binding. A version that another tool uploaded without bindings would cause the same failure.

Fix: #458

void 1.1.11, cf 1.0.0-beta.17, direct Cloudflare target.

Ngôn ngữ chính
TypeScript
Star
402
Fork
32
Merge trung bình
13 giờ 14 phút
Pull request đã merge (30 ngày)
73

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 voidzero-dev/void

Tất cả issue của voidzero-dev/void

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.