Repository navigation
[wrangler] Hide unusable dev hotkeys under Turborepo - #13742
Conversation
🦋 Changeset detectedLatest commit: c5cc48e The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
I've now thoroughly reviewed the PR. The changes are clean, well-structured, and correct:
No logic bugs, no security issues, no backward compatibility problems. The approach is pragmatic and minimal. LGTM |
|
✅ All changesets look good |
@cloudflare/autoconfig
@cloudflare/build-output-utils
@cloudflare/codemods
@cloudflare/config
@cloudflare/containers-shared
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-functions
@cloudflare/pages-shared
@cloudflare/runtime-types
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-plugin
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
Turborepo's stream output uses a pseudo-TTY without forwarding input, while its terminal UI can forward working hotkeys. Hide the dev hotkey bar only for stream output.
959d23c to
c8d9fda
Compare
|
Codeowners approval required for this PR:
Show detailed file reviewers |
a6839d9 to
af2400d
Compare
af2400d to
c5cc48e
Compare
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
Co-authored-by: Pete Bacon Darwin <[email protected]>
## pnpm-workspace.yaml (default) ## Dependency Updates | Package | From | To | Type | | --- | --- | --- | --- | | `wrangler` | 4.151.0 | 4.151.1 | patch | ## Release Notes <details> <summary><b>wrangler</b> (4.151.0 → 4.151.1)</summary> ### Patch Changes - [#15541](cloudflare/workers-sdk#15541) [`e13d5cc`](cloudflare/workers-sdk@e13d5cc) Thanks [@<!---->mack-erel](https://github.com/mack-erel)! - Keep remote dev sessions alive through transient network failures `wrangler dev --remote` and `getPlatformProxy()` refresh their preview token before it expires, but a single failed refresh — for example while the network was briefly down — stopped refreshing for good, leaving the session broken until restart. A failed refresh now retries every minute until it succeeds. Rebuilds also no longer push the refresh past the session's expiry. - [#16284](cloudflare/workers-sdk#16284) [`42c6912`](cloudflare/workers-sdk@42c6912) Thanks [@<!---->karloper](https://github.com/karloper)! - Fix `wrangler rollback` reporting success after the changed secrets confirmation is declined Previously, declining the "The following secrets have changed…" confirmation printed "Aborting rollback..." and then also printed a success message and the target version as the "Current Version ID", even though no deployment was made and the original version was still live. Wrangler now stops after aborting, so the output matches what is actually deployed. - [#13742](cloudflare/workers-sdk#13742) [`4a5377f`](cloudflare/workers-sdk@4a5377f) Thanks [@<!---->edmundhung](https://github.com/edmundhung)! - Hide the `wrangler dev` hotkey bar when Turborepo does not forward input - Updated dependencies [[`e1d1b77`](cloudflare/workers-sdk@e1d1b77)]: - [email protected] </details> --- *This PR was auto-generated by [catalog-update-action](https://github.com/brandhaug/catalog-update-action).* Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Fixes #7814.
Hide the
wrangler devhotkey bar when running under Turborepo's stream output, where the task can have a pseudo-TTY even though keyboard input is not forwarded. Keep the existing hotkeys available whenTURBO_IS_TUI=true, since Turborepo's terminal UI supports interactive input.Rebased onto current
mainand adapted the guard to the shared Workers/Pages dev startup path. Reuse the same guard when deciding whether to print the existing Local Explorer API hint for agent sessions, so Turbo stream mode does not suppress both the hotkeys and the hint. The change does not alter Turborepo or dev-server behavior.Validation:
A picture of a cute animal (not mandatory, but encouraged)