Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

`reflex deploy --app-id X --project-name <nonexistent>` ignores the project and deploys

クローズ 初心者向け
#7,296 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
cli, python
領域
cli, cloud

調査の方向性

reflex-hosting-cli パッケージ、特に deploy コマンドのロジックを調べてください。問題は、--app-id と --project-name が処理される引数の検証にある可能性が高いです。まず deploy コマンドのエントリーポイントを見つけ、次にこれらのフラグがどのように解析され検証されるかをトレースします。アプリのプロジェクトと指定されたプロジェクト名を比較する検証ステップがあるかどうかを確認してください。失敗したコマンドをデバッグ出力付きでローカルで実行すると、不足しているチェックを特定するのに役立ちます。

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
28.9k
フォーク
1.8k
平均マージ
3日 1時間
マージ済み PR(30日)
187

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

reflex-dev/reflex のほかの issue

reflex-dev/reflex の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。