fix(breg-review): refuse sign-in limits that cannot complete one flow
维护者通常 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
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
registrystack/registry-stack 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
registrystack/registry-stack#2168 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
registrystack/registry-stack#2162 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 90/100
registrystack/registry-stack#2161 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
registrystack/registry-stack#2160 ·
维护者通常 1 天内回复
-
area:breg bug criticality:p3
难度 2/5 1-3 小时 新手友好度 92/100
registrystack/registry-stack#2150 ·
维护者通常 1 天内回复
查看 registrystack/registry-stack 的全部 Issue
相似的 Issue
-
Make major, minor, and makedev safe on solarish targets可能已有人在做 @xtqqczze 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
Proxy ignores l5d-retry-http and l5d-retry-grpc conditions that follow a comma and space可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 3 天内回复
-
sncast panics when decoding a `u384` value可能已有人在做 @RaphaelFakhri 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
foundry-rs/starknet-foundry#4635 ·
维护者通常 3 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
crmne/omastats#31 · 1 个 reaction ·
维护者通常 1 天内回复
-
area:desktop priority:p2 type:bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复