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

`cf deploy --dry-run` shows no diff against the deployed Worker

Đang mở
#63 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
68/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ệ
typescript
Lĩnh vực
cli

Hướng nghiên cứu

Start at the cf deploy --dry-run and --prebuilt deploy flow, then inspect the exported getRemoteConfigDiff and diffJsonObjects helpers in @cloudflare/deploy-helpers. Trace how the Build Output and live Worker configuration are available before upload. Done means dry-run reports changes to bindings, vars, secret names, triggers, custom domains, or other expected configuration without deploying.

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

Mô tả

Problem

cf deploy --dry-run (also with --prebuilt) builds and prints the bindings of the version it would upload, but gives no diff against the currently deployed Worker. There is no way to see changed bindings, custom domains, crons or secret names before a deploy runs. We gate CI on a custom guard over the Build Output instead.

Expected

--dry-run (or a separate cf deploy --diff) reports what would change against the live Worker: bindings, vars, secret names, triggers and custom domains. @cloudflare/deploy-helpers already exports getRemoteConfigDiff / diffJsonObjects.

Environment

[email protected].

Ngôn ngữ chính
TypeScript
Star
916
Fork
53
Merge trung bình
23 giờ 30 phút
Pull request đã merge (30 ngày)
216

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.