Skip to content

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

Description

@kenwongkaien

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

cf@1.0.0-beta.5.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions