Skip to content

CC-8654 Make container image build output concise - #15613

Open
skepticfx wants to merge 1 commit into
mainfrom
nafeez/CC-8654-compact-container-build-output
Open

CC-8654 Make container image build output concise#15613
skepticfx wants to merge 1 commit into
mainfrom
nafeez/CC-8654-compact-container-build-output

Conversation

@skepticfx

@skepticfx skepticfx commented Sep 11, 2026

Copy link
Copy Markdown
Member

Fixes CC-8654

Wrangler now shows compact image progress with elapsed time while hiding successful Docker build, login, tag, and push output. Failures retain bounded diagnostics, and WRANGLER_LOG=debug restores live Docker output.


  • Tests
    • Tests included/updated
    • Automated tests not possible - manual testing has been completed as follows:
    • Additional testing not necessary because:
  • Public documentation
    • Cloudflare docs PR(s): Not needed
    • Documentation not necessary because: ux/cosmetic change

Devin Review

@changeset-bot

changeset-bot Bot commented Sep 11, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 9beebb1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
wrangler Patch
@cloudflare/vite-plugin Patch
@cloudflare/vitest-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-project-automation github-project-automation Bot moved this to Untriaged in workers-sdk Sep 11, 2026
@workers-devprod
workers-devprod requested review from a team and NuroDev and removed request for a team September 11, 2026 18:32
@workers-devprod

workers-devprod commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Codeowners approval required for this PR:

  • @cloudflare/wrangler
  • ✅ @cloudflare/cloudchamber
Show detailed file reviewers
  • .changeset/quiet-container-builds.md: [@cloudflare/wrangler]
  • packages/containers-shared/src/build.ts: [@cloudflare/wrangler]
  • packages/containers-shared/src/images.ts: [@cloudflare/wrangler]
  • packages/containers-shared/src/login.ts: [@cloudflare/wrangler]
  • packages/containers-shared/src/process-output.ts: [@cloudflare/wrangler]
  • packages/containers-shared/src/utils.ts: [@cloudflare/wrangler]
  • packages/containers-shared/tests/build-and-push.test.ts: [@cloudflare/wrangler]
  • packages/containers-shared/tests/build.test.ts: [@cloudflare/wrangler]
  • packages/containers-shared/tests/login.test.ts: [@cloudflare/wrangler]
  • packages/containers-shared/tests/utils.test.ts: [@cloudflare/wrangler]
  • packages/deploy-helpers/src/deploy/helpers/durable-object-container-applications.ts: [@cloudflare/wrangler]
  • packages/deploy-helpers/tests/durable-object-container-applications.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/tests/containers/deploy.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/tests/deployment-bundle/build-container-images.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/tests/preview/containers.test.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/deployment-bundle/build-container-images.ts: [@cloudflare/wrangler]
  • packages/wrangler/src/preview/containers.ts: [@cloudflare/wrangler]

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@pkg-pr-new

pkg-pr-new Bot commented Sep 11, 2026

Copy link
Copy Markdown
@cloudflare/autoconfig

npm i https://pkg.pr.new/@cloudflare/autoconfig@15613

@cloudflare/build-output-utils

npm i https://pkg.pr.new/@cloudflare/build-output-utils@15613

@cloudflare/codemods

npm i https://pkg.pr.new/@cloudflare/codemods@15613

@cloudflare/config

npm i https://pkg.pr.new/@cloudflare/config@15613

@cloudflare/containers-shared

npm i https://pkg.pr.new/@cloudflare/containers-shared@15613

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@15613

@cloudflare/deploy-helpers

npm i https://pkg.pr.new/@cloudflare/deploy-helpers@15613

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@15613

miniflare

npm i https://pkg.pr.new/miniflare@15613

@cloudflare/pages-functions

npm i https://pkg.pr.new/@cloudflare/pages-functions@15613

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@15613

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@15613

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@15613

@cloudflare/vitest-plugin

npm i https://pkg.pr.new/@cloudflare/vitest-plugin@15613

@cloudflare/workers-auth

npm i https://pkg.pr.new/@cloudflare/workers-auth@15613

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@15613

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@15613

wrangler

npm i https://pkg.pr.new/wrangler@15613

commit: 9beebb1

@ask-bonk

ask-bonk Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

LGTM

github run

@IRCody IRCody left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

output: [null],
on: (reason: string, cbPassed: (code: number) => unknown) => {
if (reason === "exit") {
if (reason === "close") {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the difference between exit and close here?

@@ -0,0 +1,38 @@
const DEFAULT_MAX_OUTPUT_BYTES = 64 * 1024;
const DOCKER_DEBUG_HINT =
"Set WRANGLER_LOG=debug to stream complete Docker output.";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 We should make this set its env var recommendation dynamically set based on whether this is used by Wrangler of cf CLI.

Comment on lines +6 to +8
export function createBoundedOutputCollector(
maxBytes = DEFAULT_MAX_OUTPUT_BYTES
) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit pick: Can we add an explicit return type here

@github-project-automation github-project-automation Bot moved this from Untriaged to In Review in workers-sdk Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

5 participants