Wizard should set users up for production success
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- next.js, typescript
調査の方向性
issue にはファイル、テスト、エントリポイントが記載されていません。まず、サポート対象のプロジェクトタイプ全体で、Wizard が生成する設定と、テスト用またはデバッグ用のエンドポイントを追跡し、その後、開発用および本番用のセットアップに対して本番環境で安全な動作を定義してください。Wizard がこの区別を明確にし、本番環境で不要な攻撃対象領域を有効にしないようにすれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Using Next.js as an example, but I believe this problem is wider spread.
When you run through the process you're asked a series of questions. This helps you get things setup (in my experience) pretty well. Two things however that it does do not make it the easiest to succeed when going to production:
-
There is no explicit or implicit environmental awareness for disabling Sentry in development. This was intentional to make it easy for people to verify its setup correctly, but is not desired behavior outside of that setup test.
-
There is an error trigger mechanism in some situations, which creates a DoS or otherwise undesirable abuse vector in production environments.
From an outcomes point of view, there's a number of ways it can be solved, but what we desire is:
-
(1) Users understand - and have low friction - to disable Sentry in development environments outside unless its explicitly desired (its not for most people, and provides a worse experience, especially out of the box)
-
(2) Sentry does not expose any attack vectors in production that could otherwise be avoided. That means any kind of endpoint which is specifically designed for testing or debug should not be enabled in a production stack.
(1) likely exists outside of the Wizard, as most of our docs no longer talk about dev vs production anywhere (as far as I can tell), and these days many apps are not configured via env variables (thus less obvious how you should or even can disable it). I believe Wizard makes this worse as users are even less hands on, and they're assuming things are "correct" out of the box, vs if they had gone through the instructions themselves.
(2) I did not step through to verify what our approach is to this everywhere, but its something we should be aware of and I know it hasn't been top of mind in the past. We likely need to adjust some of the implementations of this and/or make it very clear that folks should remove it before shipping to production.
- 主要言語
- TypeScript
- スター
- 297
- フォーク
- 88
- 平均マージ
- 5時間 29分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
getsentry/sentry-wizard のほかの issue
-
bug Next.js
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
getsentry/sentry-wizard#1397 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/sentry-wizard#1396 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
React Router Framework
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
getsentry/sentry-wizard#1392 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
getsentry/sentry-wizard#1391 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Cocoa Improvement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
getsentry/sentry-wizard#989 ·
メンテナーはふだん 1 日以内に返信
getsentry/sentry-wizard の issue をすべて見る
似ている issue
-
generate_image reference URL guard lets through IPv4-mapped IPv6 hosts and 100.64.0.0/10対応中かも @goranai が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
Inbox permission: an allow sent with `updatedInput` is ignored by Claude Code on its own safety checks対応中かも @Raj1v が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
backnotprop/plannotator#4046 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
traPtitech/knoQ_R-UI#290 ·
メンテナーはふだん 24 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
farion1231/cc-switch#9981 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
account bug course exam iris lecture
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信