Package: reflex-hosting-cli (reproduced on main at ea035ea47 and on #7207 at 988718e78)
When --app-id is given, --project-name is not validated. A project name that does not exist is ignored, and a full deploy of the app starts:
$ reflex deploy --app-id <existing app id> --project-name nope-project --no-interactive
... Compiling ... Creating Production Build ... Zipping Frontend ...
[exit=0]
A new deployment appears in reflex cloud apps history <app id>. The same happens with any --project-name that doesn't match the app's actual project.
Expected: fail before building, in either of these cases:
- the named project does not exist, or
--project/--project-name names a different project than the one that owns --app-id.
A mistyped or mismatched project should not trigger a deploy to whichever project the app is in.
Package:
reflex-hosting-cli(reproduced onmainatea035ea47and on #7207 at988718e78)When
--app-idis given,--project-nameis not validated. A project name that does not exist is ignored, and a full deploy of the app starts:A new deployment appears in
reflex cloud apps history <app id>. The same happens with any--project-namethat doesn't match the app's actual project.Expected: fail before building, in either of these cases:
--project/--project-namenames a different project than the one that owns--app-id.A mistyped or mismatched project should not trigger a deploy to whichever project the app is in.