Wizard should set users up for production success
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 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 分钟
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 天内回复