Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

fix(breg-review): refuse sign-in limits that cannot complete one flow

未关闭 适合新手
#1,753 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
rust

调研方向

从 crates/registry-breg-review/src/config.rs 开始,然后跟踪 /signin 和 /signin/callback 的限额消耗。确认修复是否强制至少允许两次 burst,或者只对完整流程计费一次。完成的标准是,慢速补充配置不会让 sign-in 卡在开始和 callback 之间。

由索引模型根据 Issue 内容生成。

描述

A sign-in charges limits.globalSignIn twice (/signin and /signin/callback), but crates/registry-breg-review/src/config.rs accepts burst: 1 with any refill rate. With burst: 1 and a slow refill, the start spends the only token, the immediate callback is throttled (which now ends the pending flow), and no one can sign in. Require a burst of at least two, or charge the complete flow once.

Found by Codex review on #1534 at 5ac4feb56; deferred under the rule that only security or data-integrity findings block that merge. breg-mcp and breg-review are held out of releases (BREG_SERVICES_FIRST_RELEASE = None), so this should land before that constant names a first release.

主要语言
Rust
星标
2
派生
0
平均合并
10 小时 32 分钟
30 天内合并 PR
256

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

registrystack/registry-stack 的其他 Issue

查看 registrystack/registry-stack 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。