Make Exchanger handler dispatch recoverable after process restart
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 81
- Fork
- 79
- Merge medio
- 2g 14h
- PR unite (30g)
- 25
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di WebOfTrust/keripy
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
WebOfTrust/keripy#1787 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
WebOfTrust/keripy#1765 ·
I maintainer di solito rispondono entro 1 giorno
-
`kli vc create` crashes on an aggregate credential when reading the issuance timestampForse già presa @jaelliot l’ha presa 46 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
WebOfTrust/keripy#1679 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 1-2 giorni Idoneità per principianti 52/100
WebOfTrust/keripy#1788 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 12/100
WebOfTrust/keripy#1768 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di WebOfTrust/keripy
Issue simili
-
priority: low research
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
LearningCircuit/local-deep-research#10088 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
logging pod-log-review security severity: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
smarter-sh/smarter#1124 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Resource]: PersephoneApertaresource-submission validation-passed
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
hesreallyhim/awesome-claude-code#3773 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
lightninglabs/layertree#28 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
tabatkins/railroad-diagrams#129 ·