Make Exchanger handler dispatch recoverable after process restart
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start with src/keri/peer/exchanging.py, especially Exchanger.processEvent() and the persistence and handler-dispatch steps linked in the issue. Trace how persisted exchanges and startup recovery are handled before choosing a durable strategy; the issue does not name specific tests or storage files. Done means focused crash/restart tests show accepted EXNs are recoverable, rejected EXNs stay out of the work path, and repeated handler processing is safe.
由索引模型根据 Issue 内容生成。
描述
Feature request description/rationale
Exchanger.processEvent() persists a successfully verified exchange message and then dispatches it to the registered behavior handler:
There is no durable indication that handler dispatch still needs to occur or a startup path that re-dispatches a persisted exchange whose handler did not finish. If the process stops after logEvent() but before or during behavior.handle(), the EXN can remain saved while the application-layer work triggered by that EXN is lost.
This matters for downstream handlers that drive IPEX and multisig workflows. It is the KERIpy side of the application-layer reliability concern described in WebOfTrust/keria#433.
Expected behavior
Once KERIpy accepts and persists an EXN for handler processing, a process restart must not permanently lose the associated handler work.
KERIpy should use a durable queue, escrow, or another appropriate storage strategy so incomplete handler dispatch can be recovered after startup. The implementation should also define safe repeated processing where recovery may cause an exchange to be presented to a handler more than once.
Suggested scope
- Preserve pending handler work across process shutdown or failure.
- Recover and resume or safely repeat incomplete dispatch on startup.
- Keep rejected or unverifiable EXNs outside the durable work path.
- Make the ownership boundary between Exchanger persistence and application handler completion explicit.
- Add focused crash/restart tests around persistence, dispatch, and completion.
Related: WebOfTrust/keria#433
- 主要语言
- Python
- 星标
- 81
- 派生
- 79
- 平均合并
- 2 天 14 小时
- 30 天内合并 PR
- 25
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
WebOfTrust/keripy 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
WebOfTrust/keripy#1787 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
WebOfTrust/keripy#1765 ·
维护者通常 1 天内回复
-
`kli vc create` crashes on an aggregate credential when reading the issuance timestamp可能已有人在做 @jaelliot 于 46 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 67/100
WebOfTrust/keripy#1679 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 4/5 1-2 天 新手友好度 52/100
WebOfTrust/keripy#1788 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 12/100
WebOfTrust/keripy#1768 ·
维护者通常 1 天内回复
查看 WebOfTrust/keripy 的全部 Issue
相似的 Issue
-
priority: low research
难度 2/5 1-3 小时 新手友好度 75/100
LearningCircuit/local-deep-research#10088 · 1 条评论 ·
维护者通常 1 天内回复
-
logging pod-log-review security severity: medium
难度 2/5 1-3 小时 新手友好度 76/100
smarter-sh/smarter#1124 · 1 条评论 ·
维护者通常 1 天内回复
-
resource-submission validation-passed
难度 1/5 1 小时以内 新手友好度 82/100
hesreallyhim/awesome-claude-code#3773 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
lightninglabs/layertree#28 ·
-
难度 2/5 1-3 小时 新手友好度 73/100
tabatkins/railroad-diagrams#129 ·