Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .changeset/pretty-preview-output.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
"@cloudflare/deploy-helpers": patch
"wrangler": patch
---

Clean up Worker Preview and custom domain deploy success output.

`wrangler preview` now prints a compact success summary with Preview URL(s), Deployment ID, Deployment URL(s), and a Pull Request link when CI metadata is detected. It no longer prints box art, configuration source markers, observability/logpush settings, or preview bindings in the success output.

`wrangler deploy` custom domain targets are now grouped under a `Custom Domains:` section and no longer include internal `(custom domain)` or preview-state annotations.
3 changes: 3 additions & 0 deletions packages/deploy-helpers/src/preview/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ export type CreatePreviewDeploymentRequestParams = {
compatibility_flags?: string[];
annotations?: {
"workers/message"?: string;
"workers/pull_request_number"?: string;
"workers/pull_request_url"?: string;
"workers/repository_url"?: string;
"workers/tag"?: string;
};
migrations?: CfWorkerInit["migrations"];
Expand Down
Loading
Loading