Skip to content

reflex cloud apps delete <unknown id> exits 0 #7295

Closed

Description

@masenf

Package: reflex-hosting-cli (reproduced on main at ea035ea47 and on #7207 at 988718e78)

Deleting an app ID that does not exist prints a warning and exits 0:

$ reflex cloud apps delete 00000000-0000-0000-0000-000000000000 --no-interactive
Warning: No application found with ID '00000000-0000-0000-0000-000000000000'
[exit=0]

The same lookup failure exits 1 elsewhere:

$ reflex cloud apps delete --app-name no-such-app-xyz --no-interactive
Warning: App 'no-such-app-xyz' not found.
[exit=1]

$ reflex cloud apps inspect 00000000-0000-0000-0000-000000000000 --no-interactive
no app with given id found
[exit=1]

A script that runs apps delete $ID && echo deleted reports success when the ID is wrong (typo, wrong account or project).

Expected: an error, and a non-zero exit, when the app ID is not found. This matches --app-name and the other apps subcommands.

Activity

  1. linear-code commented on Sep 24, 2026

    @linear-code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions