Workers SDK Issue Reports

← Back to Dashboard

#5709 Non-interactive version of versions deploy still being interactive

Recommendation:KEEP OPEN
Difficulty:easy
Reasoning:

Maintainer acknowledged: should skip prompts when args provided. Workaround: use -y flag.

Suggested Action:

Implement behavior change to skip prompts when args provided

Analysis Report

Issue Review: cloudflare/workers-sdk#5709

Summary

wrangler versions deploy command prompts interactively even when version IDs and percentages are provided as arguments.

Findings

  • Created: 2024-04-25
  • Updated: 2025-10-30
  • Version: wrangler 3.52.0 → 4.61.0
  • Component: wrangler
  • Labels: bug, wrangler
  • Comments: 2

Key Evidence

  • User provides version IDs and percentages on command line but still gets interactive prompts
  • Workaround documented: add -y flag to automatically accept defaults
  • Maintainer @RamIdeas acknowledged (Sep 2024): "Based on user feedback, we should change the behaviour to skip the prompt if the arg is provided when running the command"
  • No PR has been merged to implement this behavior change

Recommendation

Status: KEEP OPEN

Reasoning: Valid UX bug - maintainer acknowledged the behavior should change to skip prompts when args are provided. Workaround exists (-y flag) but the default behavior is counterintuitive. The fix is straightforward but hasn't been implemented.

Action: Implement the behavior change to skip prompts when version IDs/percentages are provided as command arguments.

Suggested Comment

N/A - Maintainer already acknowledged; awaiting implementation.

Notes & Feedback (0)

No notes yet.

Add Note