Workers SDK Issue Reports

← Back to Dashboard

#7814 Hotkey bar renders when used with turborepo

Recommendation:KEEP OPEN
Difficulty:easy
Reasoning:

Valid bug: hotkey bar displays but doesn't function under turborepo. PR #10191 was approved but closed due to CI failures. Workaround exists (--show-interactive-dev-session=false). Similar fix merged for Vite plugin in PR #11875.

Suggested Action:

Resume turborepo detection work from PR #10191; fix CI test fixture issues

Analysis Report

Issue #7814: Hotkey bar renders when used with turborepo

Summary

Field Value
Issue #7814
Title Hotkey bar renders when used with turborepo
Created 2025-01-18
Updated 2025-10-30
State OPEN
Labels bug, quick win
Reporter Version wrangler@3.103.2
Current Version wrangler@4.60.0

Issue Description

When using wrangler with turborepo, the hotkey bar is rendered even though it's not usable. The hotkeys display but don't function when running wrangler dev under turborepo, creating a confusing user experience.

Investigation

Related PRs

  1. PR #10191 - "fix: prevent hotkey bar rendering when running under turborepo"

    • Created by Devin AI bot based on @penalosa's request
    • Implementation was approved by @petebacondarwin
    • Closed without merging on 2025-09-10 due to CI failures
    • The approach: detect turborepo via environment variables (TURBO_HASH, TURBO_TASK, TURBO_INVOCATION_DIR) and prevent hotkey registration
  2. PR #10194 - v3 backport of #10191

    • Also closed without merging
  3. PR #11875 - "fix(vite-plugin-cloudflare): prevent interactive shortcuts in Turbo environment"

    • Merged on 2026-01-21
    • This only fixes the Vite plugin, not wrangler dev

Existing Workaround

PR #5099 (merged March 2024) added --show-interactive-dev-session=false flag:

  • Allows users to manually disable interactive mode
  • Documented for use with turborepo and nx
  • Not an automatic fix - requires user to know about and use the flag

Changelog Search

No entry in wrangler CHANGELOG.md mentions fixing issue #7814.

Version Analysis

  • Reporter version: 3.103.2
  • Current version: 4.60.0
  • Major version change but issue remains unfixed

Recommendation

KEEP OPEN - Difficulty: easy

Reasoning

  1. The bug is valid and confirmed - hotkey bar renders but doesn't function under turborepo
  2. PR #10191 showed a working solution that was maintainer-approved
  3. The PR failed CI tests around interactive dev test fixtures, not the core fix
  4. A workaround exists (--show-interactive-dev-session=false) but automatic detection would improve UX
  5. Similar fix was implemented for Vite plugin in PR #11875 (merged Jan 2026)
  6. Labeled as "quick win" by maintainers

Suggested Action

Resume work on turborepo detection for wrangler dev. The fix approach from PR #10191 was correct - detect TURBO_HASH/TURBO_TASK/TURBO_INVOCATION_DIR environment variables and return false from isInteractive() when running under turborepo. The CI failures were related to test fixtures, not the core implementation.

Suggested Comment

This issue remains valid. PR #10191 implemented a working fix that was approved by maintainers but was closed due to CI failures in interactive dev test fixtures.

The similar fix for the Vite plugin was merged in PR #11875 (Jan 2026).

Current workaround: Users can pass --show-interactive-dev-session=false to wrangler dev when running under turborepo.

Should this be reopened for a fresh implementation attempt? The turborepo detection approach (checking TURBO_HASH, TURBO_TASK, TURBO_INVOCATION_DIR environment variables) was validated.

Notes & Feedback (0)

No notes yet.

Add Note