Move mechanical Bugbot rules to lint and CI checks
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- eslint, typescript
调研方向
Start with .cursor/BUGBOT.md and the existing lint rules linked in issues #26860, #26861, #26880, and #26881; then inspect the node, browser, and E2E test helpers and the CI scripts for the checks listed here. The issue describes several independent workstreams, so pick one unchecked item and trace its existing conventions and tests. Done means that check is enforced and the corresponding Bugbot rule is removed where applicable.
由索引模型根据 Issue 内容生成。
描述
Several rules in .cursor/BUGBOT.md are mechanical enough to enforce with Oxlint, test harness checks, or CI scripts instead of AI review. Counts below are rough scans of packages/*/src at cee40e6.
Zero/near-zero baseline (turn on now)
- getsentry/sentry-javascript#26854
- getsentry/sentry-javascript#26856
New sdk/* lint rules
- getsentry/sentry-javascript#26861
- getsentry/sentry-javascript#26860
- getsentry/sentry-javascript#26881
- getsentry/sentry-javascript#26880
- Hard-coded attribute/op strings that have a
@sentry/conventionsconstant (src and tests). - Literal
sentry.originvalues matching the trace origin spec (0 current violations).
Test harness checks
- Validate
sentry.origin,sentry.op, andmechanism.typeon every captured span/event in node, browser, and E2E test helpers. MoststartSpan*calls pass attributes through variables, so lint can't see them.
CI scripts
-
dependenciesallowlist forcore,browser,browser-utils. -
bundler-testscheck that a bareimport '@sentry/browser'/ core tree-shakes to an empty bundle (both declaresideEffects: false). - Export snapshot per package that fails on removals unless changelog/migration docs change.
Stale Bugbot rules to remove
- getsentry/sentry-javascript#26854
Judgment rules (error swallowing vs double capture, dataCollection and sanitization through helpers, scope/client API necessity, breaking changes, test quality) stay in Bugbot. Once a rule is enforced, remove it from BUGBOT.md.
via @mydea.
--
- 主要语言
- TypeScript
- 星标
- 8.8k
- 派生
- 1.9k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 744
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
getsentry/sentry-javascript 的其他 Issue
-
AWS Lambda Waiting for: Product Owner
难度 1/5 1 小时以内 新手友好度 82/100
getsentry/sentry-javascript#26910 · 1 条评论 ·
维护者通常 1 天内回复
-
Only create Nuxt database and storage spans when there is a parent span可能重新可做 关联的 PR 已关闭且未合并。 未关闭Improvement Nuxt
难度 2/5 1-3 小时 新手友好度 83/100
getsentry/sentry-javascript#25805 · 3 条评论 ·
维护者通常 1 天内回复
-
Only create Cloudflare storage and D1 db spans when there is a parent span可能重新可做 关联的 PR 已关闭且未合并。 未关闭Cloudflare Workers Improvement Spans
难度 2/5 1-3 小时 新手友好度 78/100
getsentry/sentry-javascript#25804 · 1 条评论 ·
维护者通常 1 天内回复
-
Core Feature: Typescript Meta: Breaking
难度 2/5 1-3 小时 新手友好度 65/100
getsentry/sentry-javascript#25286 · 2 条评论 ·
维护者通常 1 天内回复
-
javascript
难度 2/5 1-3 小时 新手友好度 75/100
getsentry/sentry-javascript#24200 · 2 条评论 ·
维护者通常 1 天内回复
查看 getsentry/sentry-javascript 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
garrytan/gbrain#10437 · 1 条评论 ·
维护者通常 1 天内回复
-
Bedrock "Too many tokens" throttle is not auto-retried, unlike "Too many requests"可能已有人在做 @acmerfight 今天认领。 未关闭untriaged
难度 2/5 1-3 小时 新手友好度 78/100
earendil-works/pi#12573 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
agentes-chat/agentes-chat#1506 ·
维护者通常 1 天内回复
-
comp/desktop desktop/files os/windows P2 type/perf
难度 2/5 1-3 小时 新手友好度 80/100
NousResearch/hermes-agent#160359 ·
维护者通常 1 天内回复
-
Missing repro Platform: Android
难度 2/5 1-3 小时 新手友好度 76/100
software-mansion/react-native-reanimated#11554 · 1 条评论 ·
维护者通常 1 天内回复