Skip to content

Add versionCommand to the autoconfig_summary field in the autoconfig output entry#12292

Merged
dario-piotrowicz merged 1 commit intomainfrom
dario/DEVX-2441/autoconfig-summary-versioncommand
Feb 2, 2026
Merged

Add versionCommand to the autoconfig_summary field in the autoconfig output entry#12292
dario-piotrowicz merged 1 commit intomainfrom
dario/DEVX-2441/autoconfig-summary-versioncommand

Conversation

@dario-piotrowicz
Copy link
Copy Markdown
Member

@dario-piotrowicz dario-piotrowicz commented Jan 29, 2026

Fixes https://jira.cfdata.org/browse/DEVX-2441

This PR adds the version upload command to the output being printed by wrangler deploy to WRANGLER_OUTPUT_FILE_DIRECTORY/WRANGLER_OUTPUT_FILE_PATH. This complements the existing buildCommand and deployCommand fields and allows CI systems to know how to upload new versions of Workers.

For example, for a standard npm project this would be:

  • Version command: npx wrangler versions upload

While for a Next.js project it would be:

  • Version command: npx @opennextjs/cloudflare upload

  • 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):
    • Documentation not necessary because: this is mostly for internal usage

A picture of a cute animal (not mandatory, but encouraged)


Open with Devin

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 29, 2026

🦋 Changeset detected

Latest commit: b2589da

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

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

@claude
Copy link
Copy Markdown
Contributor

claude Bot commented Jan 29, 2026

Claude finished @dario-piotrowicz's task —— View job


Changeset Review

  • Read changeset guidelines
  • Review changeset file
  • Check for cute animal image
  • Post findings

All changesets look good

The changeset .changeset/cyan-bugs-hunt.md follows all guidelines:

  • Version Type: Correctly marked as patch (adds a new field to output, no breaking changes)
  • Changelog Quality: Clear, descriptive explanation with concrete examples showing usage for standard npm and Next.js projects
  • Markdown Headers: No h1/h2/h3 headers used
  • Format: Proper title and detailed body explaining the feature and use cases

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jan 29, 2026

create-cloudflare

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@12292

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

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

wrangler

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

commit: b2589da

@dario-piotrowicz dario-piotrowicz marked this pull request as ready for review January 30, 2026 00:06
@dario-piotrowicz dario-piotrowicz requested a review from a team as a code owner January 30, 2026 00:06
Copy link
Copy Markdown
Contributor

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

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View issue and 3 additional flags in Devin Review.

Open in Devin Review

Comment thread packages/wrangler/src/__tests__/autoconfig/run-summary.test.ts Outdated
@dario-piotrowicz dario-piotrowicz force-pushed the dario/DEVX-2441/autoconfig-summary-versioncommand branch from 6051548 to b2589da Compare January 30, 2026 00:18
@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk Jan 30, 2026
@dario-piotrowicz dario-piotrowicz merged commit 4c4d5a5 into main Feb 2, 2026
40 of 41 checks passed
@dario-piotrowicz dario-piotrowicz deleted the dario/DEVX-2441/autoconfig-summary-versioncommand branch February 2, 2026 14:06
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Feb 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants