Add an source index to RESP3ParsingError
还没有人认领这个 Issue。
评估
调研方向
Start by locating RESP3ParsingError and the RESP3 parser code that creates it, then trace how parsing advances through the received ByteBuffer. Add an index that records where parsing failed and check the relevant parser tests. Done means parsing errors expose the failure position so it can be correlated with the buffer.
由索引模型根据 Issue 内容生成。
描述
We should add an index to the RESP3ParsingError, so that we can track where in the buffer parsing failed. This can be immensely helpful when trying to debug RESP3 values with a more complex structure.
Original Issue
Could we add an index here? That way we can correlate the error back to a specific location in the received ByteBuffer. Definitely helps debugging should this ever trigger
Originally posted by @Joannis in https://github.com/swift-server/RediStack/pull/71#discussion_r1253053557
- 主要语言
- Swift
- 星标
- 182
- 派生
- 29
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
swift-server/RediStack 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 55/100
swift-server/RediStack#135 ·
-
难度 3/5 1-2 天 新手友好度 45/100
swift-server/RediStack#133 · 5 条评论 ·
-
难度 5/5 一周以上 新手友好度 25/100
swift-server/RediStack#131 ·
-
难度 5/5 一周以上 新手友好度 25/100
swift-server/RediStack#129 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
swift-server/RediStack#127 ·
查看 swift-server/RediStack 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 67/100
deltachat/deltachat-ios#3402 ·
维护者通常 1 天内回复
-
🚀 [firebase_core] Bump Firebase iOS SDK (13.0.0 → 13.1.0)可能已有人在做 @SelaseKay 今天认领。 未关闭Needs Attention type: enhancement
难度 2/5 1-3 小时 新手友好度 67/100
firebase/flutterfire#18848 · 1 条评论 ·
维护者通常 1 天内回复
-
a:false-positive
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
Idle CPU stays at ~8% after the "Text wasn't inserted" card is shown once可能已有人在做 @nickbecker 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 74/100
altic-dev/FluidVoice#1217 ·
维护者通常 1 天内回复
-
🎉 Add Tiny RDM未关闭addition
难度 1/5 1 小时以内 新手友好度 79/100
jaywcjlove/awesome-mac#3733 ·
维护者通常 1 天内回复