Skip to content

fix: report Wrangler config parse locations - #779

Closed
zachshallbetter wants to merge 1 commit into
cloudflare:mainfrom
zachshallbetter:fix/migration-parse-location
Closed

zachshallbetter wants to merge 1 commit into
cloudflare:mainfrom
zachshallbetter:fix/migration-parse-location

Conversation

@zachshallbetter

Copy link
Copy Markdown

Fixes #697.

When cf migrate hits malformed Wrangler JSONC, it now prints the filename, line, and column with the parser error. The fixture in #697 now reports wrangler.jsonc:1:11: ValueExpected.

The regression test uses the real parser and checks that the dry run leaves the input untouched and creates no output config.

Validation: pnpm check and the 20 migration command tests.

@zachshallbetter
zachshallbetter requested a review from a team as a code owner November 24, 2026 22:32
@github-actions

Copy link
Copy Markdown
Contributor

Hi @zachshallbetter. Thanks for contributing to cf!

During the release candidate phase, we’re being very intentional about the changes we accept so that we can prioritise stability for GA. We’re limiting pull requests to contributions coordinated with the team in advance, so this PR has been automatically closed.

We’d still love to hear about your use case, so please make sure it’s captured in a cf issue. If the proposed change fits our priorities, we’d be happy to take another look at this PR.

@github-actions github-actions Bot closed this Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(migrate): report the location of malformed Wrangler JSONC

1 participant