want a test utility to inject an arbitrary async closure between saga nodes
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- distributed-systems, testing
Direzione di ricerca
Start by reading the existing saga_inject_error, saga_inject_error_undo, and saga_inject_repeat utilities and how saga nodes execute. Design a way for the SEC to run an arbitrary async closure before or after a selected node, then add regression tests that interleave external state changes and verify saga behavior under races.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Presently, steno provides the SecClient::saga_inject_error, SecClient::saga_inject_error_undo, and SecClient::saga_inject_repeat functions for injecting errors into a saga's execution or repeating the execution of its actions. These are very useful for testing the unwinding and idempotency properties of a saga. However, there isn't currently a way to interleave arbitrary code with the saga's execution. I imagine it could be very useful to have a way to provide an arbitrary Fn() -> impl Future and have the SEC run it before or after a particular saga node. This could be used to test the saga's behavior when something external to the saga (say, another saga, or another process) mutates state that the saga interacts with in a particular way. This could be used for regression testing for issues that occur when a saga races with some other process that touches the same state it interacts with.
- Lingua principale
- Rust
- Stelle
- 174
- Fork
- 15
- Merge medio
- 1g 23h
- PR unite (30g)
- 8
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 oxidecomputer/steno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
oxidecomputer/steno#164 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
oxidecomputer/steno#390 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
oxidecomputer/steno#302 · 3 commenti ·
-
Dependency DashboardAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
oxidecomputer/steno#173 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
oxidecomputer/steno#156 · 2 commenti ·
Tutte le issue di oxidecomputer/steno
Issue simili
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedApertaunconfirmed possible issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jerney-nexus/epikrise#364 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Yeachan-Heo/gajae-code#8058 ·
I maintainer di solito rispondono entro 1 giorno
-
bug daemon
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno