Skip to content

Commit af18a05

Browse files
aninibreadcmsparks
andauthored
builds name mismatch changelog (#20122)
* name mismatch changelog * Update src/content/changelog/workers/2025-02-20-builds-name-conflict.mdx Co-authored-by: Christian Sparks <[email protected]> * new updates * remove we * telling the story * message change --------- Co-authored-by: Christian Sparks <[email protected]>
1 parent e647d79 commit af18a05

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed
245 KB
Loading
44.6 KB
Loading
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: Autofix Worker name configuration errors at build time
3+
description: Workers Builds automatically creates a pull request to update the name field in the wrangler file if it doesn’t match your Worker's name in the Cloudflare dashboard.
4+
products:
5+
- workers
6+
date: 2025-02-20T11:00:00Z
7+
---
8+
9+
![Auto-fixing Workers Name in Git Repo](~/assets/images/workers/platform/ci-cd/gh-auto-pr-name.png)
10+
11+
Small misconfigurations shouldn’t break your deployments. Cloudflare is introducing automatic error detection and fixes in [Workers Builds](/workers/ci-cd/builds/), identifying common issues in your wrangler.toml or wrangler.jsonc and proactively offering fixes, so you spend less time debugging and more time shipping.
12+
13+
Here's how it works:
14+
15+
1. Before running your build, Cloudflare checks your Worker's Wrangler configuration file (wrangler.toml or wrangler.jsonc) for common errors.
16+
2. Once you submit a build, if Cloudflare finds an error it can fix, it will submit a pull request to your repository that fixes it.
17+
3. Once you merge this pull request, Cloudflare will run another build.
18+
19+
We're starting with fixing name mismatches between your Wrangler file and the Cloudflare dashboard, a top cause of build failures.
20+
21+
This is just the beginning, we want your feedback on what other errors we should catch and fix next. Let us know in the Cloudflare Developers Discord, [#workers-and-pages-feature-suggestions](https://discord.com/channels/595317990191398933/1064502845061210152).

0 commit comments

Comments
 (0)