cloudflare / cloudflare/workers-sdk

Wrangler locks up and can't be killed when login fails in multi-project dev session

Open
#11,757 0 comments 0 reactions 2 assignees Claimed by @MattieTK View on GitHub
package:wrangler
Dominant language
TypeScript
Stars
4.5k
Forks
1.5k
Avg merge
3d 8h
Merged PRs (30d)
187

Description

### What versions & operating system are you using?

System:
OS: Linux 6.12 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (32) x64 AMD Ryzen 9 9950X 16-Core Processor
Memory: 71.08 GB / 91.98 GB
Container: Yes
Shell: 5.2.15 - /bin/bash
Binaries:
Node: 22.21.1 - /home/kenton/.nvm/versions/node/v22.21.1/bin/node
npm: 10.9.4 - /home/kenton/.nvm/versions/node/v22.21.1/bin/npm
pnpm: 10.26.2 - /home/kenton/.nvm/versions/node/v22.21.1/bin/pnpm
npmPackages:
wrangler: ^4.56.0 => 4.56.0

### Please provide a link to a minimal reproduction

N/A

### Describe the Bug

* Log out of wrangler.
* Run `wrangler dev -c -c ` where at least one of the configs has a Workers AI binding.
* Wrangler will pop open a browser window to log in. Close it.
* Now the wrangler session has errored, but it's still running in the terminal, and ctrl+C won't close it.
* You have to kill the process from another terminal window.

### Please provide any relevant error logs

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.