`execute_test.py` pollutes test output with error traces (MacOS)
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
Hướng nghiên cứu
Start with app/execute_test.py, especially the multiprocessing-related lines linked in the issue, then compare its behavior with app/execute.py on MacOS and Linux. Reproduce the unwanted error traces and investigate approaches that silence test-only output without changing production behavior; done means the MacOS test output is clean while Linux behavior remains intact.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Follow-up issue of https://github.com/tiny-pilot/tinypilot/issues/1642.
We were able to silence the undesired stacktrace printing via https://github.com/tiny-pilot/tinypilot/pull/1708 – this, however, only appears to work on Linux systems and not on MacOS, because on MacOS, the multiprocessing package behaves differently.
We weren’t able to find a suitable workaround for MacOS, except if we’d account for this issue inside the underlying execute.py module (e.g. by trying to silence stderr there, with a /dev/null redirect). That is probably not a good trade-off, because we’d potentially be risking to change production behaviour only to fix a minor, local testing issue. There might be other approaches to solve this problem, though.
- Ngôn ngữ chính
- Python
- Star
- 3.5k
- Fork
- 292
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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 tiny-pilot/tinypilot
-
bug medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
tiny-pilot/tinypilot#1419 ·
-
bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
tiny-pilot/tinypilot#1961 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
tiny-pilot/tinypilot#1929 · 3 bình luận ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
tiny-pilot/tinypilot#1899 · 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
tiny-pilot/tinypilot#1896 ·
Tất cả issue của tiny-pilot/tinypilot
Issue tương tự
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 68/100
FavioVazquez/showtime#101 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/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 65/100
rossant/awesome-math#199 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
nautechsystems/nautilus_trader#5365 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Examples say cnxĐang mởdocumentation embedded
Độ 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