test: the replay oracle never asserts silence
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 84/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
从 tests/wire_parity.rs 开始,阅读重放判定器的 none 标志和 collect 逻辑。使用 req-close-abort fixture,其中 send=true 且 expect 为空,以检查静默情况,并查看会话结束前如何处理后续帧。完成的标准是检查记录的 CLOSE 是否保持静默,并检测到意外的后续帧。
由索引模型根据 Issue 内容生成。
描述
tests/wire_parity.rs: the none flag is send/drain/connect all null. Recorded silent steps carry a send object and an empty expect, so the flag is always false for exactly the steps that need silence asserted; collect then reads zero frames and returns immediately. Verified in the fixture: req-close-abort has send=true with an empty expect, so its recorded CLOSE is never checked for silence.
Fix: derive the silent case from the expectation (empty expect) rather than from the absence of a send, and check for unexpected trailing frames before ending a session.
Evidence: #948.
- 主要语言
- TypeScript
- 星标
- 829
- 派生
- 234
- 平均合并
- 17 小时 40 分钟
- 30 天内合并 PR
- 90
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cameri/nostream 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug factory rewrite rust
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug factory rewrite rust
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
bug factory rewrite rust
难度 2/5 1-3 小时 新手友好度 75/100
维护者通常 1 天内回复
-
Website
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
相似的 Issue
-
bug require-triage
难度 2/5 1-3 小时 新手友好度 72/100
expressjs/expressjs.com#2549 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
umami-software/umami#4686 · 1 条评论 ·
维护者通常 2 天内回复
-
[Bug]: Device screenshot fails with 500 on iPhone Duo (Xcode 27.2): serve-sim calls simctl without --display可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 66/100
pingdotgg/t3code#24900 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
inu-appcenter/UNIDorm-web#411 ·
维护者通常 1 天内回复
-
🐛 bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 2 天内回复