want a test utility to inject an arbitrary async closure between saga nodes
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- distributed-systems, testing
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 174
- Fork
- 15
- Merge trung bình
- 1 ngày 23 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của oxidecomputer/steno
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
oxidecomputer/steno#164 · 1 bình luận ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
oxidecomputer/steno#390 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
oxidecomputer/steno#302 · 3 bình luận ·
-
Dependency DashboardĐang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 20/100
oxidecomputer/steno#173 · 1 bình luận ·
-
`SecStore` has no read methodsĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
oxidecomputer/steno#156 · 2 bình luận ·
Tất cả issue của oxidecomputer/steno
Issue tương tự
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedĐang mởunconfirmed possible issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jerney-nexus/epikrise#364 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Yeachan-Heo/gajae-code#8058 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug daemon
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày