Skip to content

Wrangler deploy: Add framework id, build command and deploy command to autoconfig_summary field in the deploy output entry#11971

Merged
dario-piotrowicz merged 16 commits intomainfrom
dario/DEVX-2399/autoconfig_summary-split-commands
Jan 29, 2026
Merged

Wrangler deploy: Add framework id, build command and deploy command to autoconfig_summary field in the deploy output entry#11971
dario-piotrowicz merged 16 commits intomainfrom
dario/DEVX-2399/autoconfig_summary-split-commands

Conversation

@dario-piotrowicz
Copy link
Copy Markdown
Member

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

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

The changes here add the framework id alongside the commands to build and deploy the project to the output being printed by wrangler deploy to WRANGLER_OUTPUT_FILE_DIRECTORY or WRANGLER_OUTPUT_FILE_PATH.

For example for an npm astro project these would be:

  • framework id: 'astro'
  • build command: 'npm run build'
  • deploy command: 'npx wrangler deploy'

While for a Next.js project they would instead be:

  • framework id: 'next'
  • build command: 'npx @opennextjs/cloudflare build'
  • deploy command: 'npx @opennextjs/cloudflare deploy'

  • 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 undocumented behavior mostly for internal purposes

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


Open with Devin

@dario-piotrowicz dario-piotrowicz requested a review from a team as a code owner January 19, 2026 15:51
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jan 19, 2026

🦋 Changeset detected

Latest commit: d89a3a7

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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Jan 19, 2026

create-cloudflare

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

@cloudflare/kv-asset-handler

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

miniflare

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

@cloudflare/pages-shared

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

@cloudflare/unenv-preset

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

@cloudflare/vite-plugin

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

@cloudflare/vitest-pool-workers

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

@cloudflare/workers-editor-shared

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

@cloudflare/workers-utils

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

wrangler

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

commit: d89a3a7

@dario-piotrowicz dario-piotrowicz force-pushed the dario/DEVX-2399/autoconfig_summary-split-commands branch from a35d15c to 6923c62 Compare January 19, 2026 16:47
Comment thread .changeset/few-cameras-notice.md Outdated
Comment thread .changeset/few-cameras-notice.md
Comment thread packages/wrangler/src/autoconfig/frameworks/analog.ts Outdated
Comment thread packages/wrangler/src/autoconfig/frameworks/astro.ts Outdated
Comment thread packages/wrangler/src/autoconfig/frameworks/index.ts Outdated
Comment thread packages/wrangler/src/autoconfig/frameworks/index.ts
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: No Issues Found

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

View in Devin Review to see 4 additional flags.

Open in Devin Review

@dario-piotrowicz dario-piotrowicz force-pushed the dario/DEVX-2399/autoconfig_summary-split-commands branch from 0488a40 to 317ff1e Compare January 21, 2026 21:57
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 new potential issue.

View issue and 8 additional flags in Devin Review.

Open in Devin Review

Comment thread packages/pages-functions/tsconfig.json Outdated
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 new potential issue.

View issue and 8 additional flags in Devin Review.

Open in Devin Review

Comment thread packages/wrangler/src/autoconfig/run.ts Outdated
@dario-piotrowicz dario-piotrowicz marked this pull request as draft January 23, 2026 15:57
@dario-piotrowicz dario-piotrowicz marked this pull request as ready for review January 24, 2026 21:49
@dario-piotrowicz dario-piotrowicz force-pushed the dario/DEVX-2399/autoconfig_summary-split-commands branch from aeec702 to 338a379 Compare January 27, 2026 15:41
Comment thread .changeset/few-cameras-notice.md Outdated
Comment thread packages/wrangler/src/autoconfig/frameworks/next.ts
Comment thread packages/wrangler/src/autoconfig/details.ts
Comment thread packages/wrangler/src/autoconfig/details.ts
Comment thread packages/wrangler/src/autoconfig/details.ts Outdated
@claude
Copy link
Copy Markdown
Contributor

claude Bot commented Jan 28, 2026

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


Changeset Review

✅ All changesets look good

The changeset .changeset/few-cameras-notice.md follows all the guidelines:

  1. Version Type: Correctly set as patch - this is adding new fields to an undocumented internal output format
  2. Changelog Quality: Clear description with helpful examples showing the framework id, build command, and deploy command for both Astro and Next.js projects
  3. Markdown Headers: No h1/h2/h3 headers used ✓
  4. Analytics: No analytics changes in this PR
  5. Format: Proper title and body structure with concrete examples

The changeset clearly explains what's being added and provides user-friendly examples that make the change easy to understand.

Comment thread packages/wrangler/src/autoconfig/details.ts
@github-project-automation github-project-automation Bot moved this from Untriaged to Approved in workers-sdk Jan 29, 2026
@dario-piotrowicz dario-piotrowicz added this pull request to the merge queue Jan 29, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 29, 2026
@dario-piotrowicz dario-piotrowicz added this pull request to the merge queue Jan 29, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jan 29, 2026
@dario-piotrowicz dario-piotrowicz added this pull request to the merge queue Jan 29, 2026
@penalosa penalosa removed this pull request from the merge queue due to the queue being cleared Jan 29, 2026
@dario-piotrowicz dario-piotrowicz merged commit fdd7a9f into main Jan 29, 2026
56 of 57 checks passed
@dario-piotrowicz dario-piotrowicz deleted the dario/DEVX-2399/autoconfig_summary-split-commands branch January 29, 2026 15:59
@github-project-automation github-project-automation Bot moved this from Approved to Done in workers-sdk Jan 29, 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