Skip to content

Unexpected CLI prompt to save deployment configuration part 2 #17437

@ddeepwell

Description

@ddeepwell

Bug summary

Unfortunately, #17410 which was meant to fix #17409 did not remove the prompt since should_prompt_for_save still returns True. should_prompt_for_save is an alias for app.console.is_interactive where console is a Rich Console which returns true for the is_interactive property (as seen here) when executing the command prefect deploy.

Version info

Version:             3.2.12
API version:         0.8.4
Python version:      3.13.2
Git commit:          826eb1a7
Built:               Mon, Mar 10, 2025 4:36 PM
OS/Arch:             darwin/arm64
Profile:             local
Server type:         server
Pydantic version:    2.10.6

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions