Make Exchanger handler dispatch recoverable after process restart
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Python
- Estrellas
- 81
- Forks
- 79
- Merge medio
- 2 d 14 h
- PR fusionados (30 d)
- 25
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de WebOfTrust/keripy
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
WebOfTrust/keripy#1787 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
WebOfTrust/keripy#1765 ·
Los mantenedores suelen responder en 1 día
-
`kli vc create` crashes on an aggregate credential when reading the issuance timestampPosiblemente ocupada @jaelliot la tomó hace 46 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
WebOfTrust/keripy#1679 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 1-2 días Aptitud para principiantes 52/100
WebOfTrust/keripy#1788 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 12/100
WebOfTrust/keripy#1768 ·
Los mantenedores suelen responder en 1 día
Todos los issues de WebOfTrust/keripy
Issues similares
-
priority: low research
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
LearningCircuit/local-deep-research#10088 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
logging pod-log-review security severity: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
smarter-sh/smarter#1124 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Resource]: PersephoneAbiertoresource-submission validation-passed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
hesreallyhim/awesome-claude-code#3773 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
lightninglabs/layertree#28 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
tabatkins/railroad-diagrams#129 ·