Test server sometimes fails to include signal in first WFT
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- distributed-systems, testing-qa
Hướng nghiên cứu
Bắt đầu bằng cách chạy test tests/worker/test_workflow.py::test_unfinished_signal_handler_with_workflow_failure khi áp dụng job dưới --workflow-environment=time-skipping, lặp lại trên một runner macos-intel, và so sánh các biến thể ApplicationError và cancel. Đọc các lỗi của sdk-python PR #556 được liên kết và lần theo lý do WFT đầu tiên có thể bỏ qua signal; hoàn tất nghĩa là test server luôn bao gồm signal trước start_workflow.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Using the Python SDK, I did
handle = await start_workflow()await handle.signal()- run worker
Expected Behavior
I expect Python to process a signal_workflow job and then a start_workflow in the activation for the first WFT.
Actual Behavior
Nearly always, we see the expected behavior. Occasionally (on macos-intel builds) Python processes a start_workflow activation job first. Almost certainly this is because the first WFT has no signal in it, although I have not yet investigated further and actually proved that (the test in question exits immediately if it sees start_workflow before signal_workflow).
Steps to Reproduce the Problem
Run the sdk-python test tests/worker/test_workflow.py::test_unfinished_signal_handler_with_workflow_failure applying job under --workflow-environment=time-skipping multiple times on a GitHub macos-intel runner until you see this failure.
Note: There are two variants of the python test; one involves the workflow throwing ApplicationError, and the other involves the client sending a cancel request, again before starting the worker. Interestingly, I've only seen the error described in this ticket for the ApplicationError variant of the test, suggesting that handling the cancel request somehow causes the test server to include all of them in the first WFT, whereas without the cancel request sometimes the signal event is omitted.
See failures in build history of https://github.com/temporalio/sdk-python/pull/556
- Ngôn ngữ chính
- Java
- Star
- 447
- Fork
- 278
- Merge trung bình
- 3 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
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 temporalio/sdk-java
-
Support the certificate with linebreak strings from env variableCó thể đã có người làm @officialasishkumar đã nhận 22 ngày trước. Đang mởenhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
temporalio/sdk-java#1825 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Spring Boot drops mainDataConverter when a non-root namespace is configuredCó thể đã có người làm @yumingjs đã nhận 1 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 74/100
temporalio/sdk-java#3245 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Spring Boot ignores Ordered on TemporalOptionsCustomizer beansCó thể đã có người làm @Quinn-With-Two-Ns đã nhận 2 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
temporalio/sdk-java#3244 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 38/100
temporalio/sdk-java#3238 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fix graceful shutdown of the shared worker-command pollerCó thể đã có người làm @yuandrew đã nhận 9 ngày trước. Đang mởsdk-java
temporalio/sdk-java#3234 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của temporalio/sdk-java
Issue tương tự
-
area-integrations
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
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 75/100
isXander/YetAnotherConfigLib#376 ·
-
? - Needs Triage bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
NVIDIA/cudf-spark-jni#5598 ·
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 76/100
oracle/graalvm-reachability-metadata#12264 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[source-facebook-pages] post stream never returns attachments.media_typeCó thể đã có người làm @v-k-data đã nhận hôm nay. Đang mởarea/connectors needs-triage type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
Maintainer thường phản hồi trong vòng 1 ngày