Stage 12 coordinator can outlive its timeout while waiting and leaves workers running
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 20/100
Hướng nghiên cứu
The issue does not name the coordinator's source file, so start by finding where the Stage 12 coordinator waits on the baseline and reform workers, using the 3,000 s wait and 4,500 s Modal timeout as search terms. Check the existing pull request #793 before starting, since it already targets this work. Done means both waits share one deadline that leaves time to save the outcome, and a failed or timed-out worker cancels the unfinished sibling and records it as failed.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
The Stage 12 coordinator can be killed before it records a failure, and it leaves workers running after a comparison has failed.
- Separate wait timeouts: the coordinator waits up to 3,000 s for the baseline worker, then up to a fresh 3,000 s for the reform worker. Its own Modal timeout is 4,500 s. When workers are queued, the two waits can exceed that, and Modal kills the coordinator before it saves the failure.
- Siblings keep running: when one worker's wait fails or times out, the other worker keeps running. That can mean a 32 GB container for up to 50 minutes on a comparison that has already failed.
One production report from 6 to 13 October 2026 waited 3,000.0175 s for baseline and then stored TimeoutError. Its reform worker had already been interrupted after about 305 s.
Expected
- Both waits share one deadline that leaves the coordinator time to save the outcome before its Modal timeout.
- When one worker fails or times out, the coordinator cancels every unfinished worker and records the cancelled one as failed.
Observing baseline and reform concurrently is out of scope here; it is part of #712.
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 1
- Merge trung bình
- 1 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 27
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- 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 PolicyEngine/policyengine-sim-api
-
Integration tests fail due to missing UV virtual environment setupCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
PolicyEngine/policyengine-sim-api#314 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update policyengine to 6.3.4Có thể đã có người làm @policyengine đã nhận 1 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 40/100
PolicyEngine/policyengine-sim-api#796 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Segmented US national runs wait on stuck regional children until the parent times outCó thể đã có người làm @anth-volk đã nhận 1 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
PolicyEngine/policyengine-sim-api#794 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Stage 12 failure records keep only the exception class nameCó thể đã có người làm @anth-volk đã nhận 1 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
PolicyEngine/policyengine-sim-api#790 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Stage 12 runs exhaust the database session pooler's 15-client limitCó thể đã có người làm @anth-volk đã nhận 1 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
PolicyEngine/policyengine-sim-api#788 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của PolicyEngine/policyengine-sim-api
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
[Bug]: Importing weave changes the process-wide localeCó thể đã có người làm @himanshu748 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/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 68/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
-
UX
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
mediajunkie/piper-morgan-product#2008 · 2 bình luận ·