Per-run / per-case test log isolation for PresentMonAPI2Tests
Maintainer thường phản hồi trong vòng 2 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
- 45/100
Hướng nghiên cứu
Start by locating PresentMonAPI2Tests, TEST_MODULE_INITIALIZE, and the shared TestArtifacts helper, then trace how PMON_TEST_RUN_ID and PMON_TEST_RUN_ID_FILE control run rotation. Check the CTest fixture and agent script paths mentioned in the issue. Done means each case keeps its own logs and output, runs rotate with one .prev retained, and wipe failures are recorded while execution continues.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
PresentMonAPI2Tests write shared suite folders under TestLogs\<Suite> and TestOutput\<Suite>. TEST_MODULE_INITIALIZE used to wipe a hand-maintained list of those folders, which is a poor fit for current runners:
- CTest loads the DLL once per method, so a wipe either destroys earlier cases in the same
ctestinvocation or never clears unlisted suites (e.g.CaptureCliWait,UiLaunch). - Shared suite folders let log assertions (e.g.
ClientLogContains_inCaptureCliWaitTests) match stale files from prior cases or runs. - We need post-mortem data after failures; cavalier deletion of the current run's artifacts is not acceptable.
Proposed solution
Keep every case's logs for the duration of a run; rotate only between runs; keep one previous run as .prev.
- Shared helper (
TestArtifacts) decides rotate vs join fromPMON_TEST_RUN_ID/PMON_TEST_RUN_ID_FILE(CTest fixture + agent script) or standalone (IDE / manual vstest). - Per-case folders:
TestLogs\<Suite>\<NNNN>-<label>\withcase.txt, child process logs, andoutput\. - Preserve
AgentDiagnosticsfor the agent script; resetMachineExpectationswith the output root each run; wipe failures warn and continue (rotation-warnings.txt).
- Ngôn ngữ chính
- C++
- Star
- 2.6k
- Fork
- 201
- Merge trung bình
- 2 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 16
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 GameTechDev/PresentMon
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
GameTechDev/PresentMon#745 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
GameTechDev/PresentMon#684 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Runtime-generated FSR/AFMF presents may suppress simulation intervals and report 0 Simulation FPSĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
GameTechDev/PresentMon#742 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Reduce nonpaged memory reserved by the PresentMon ETW session at startupCó thể đã có người làm @markgalvan-intel đã nhận 3 ngày trước. Đang mởPresentData
GameTechDev/PresentMon#740 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
-
CLI usability issuesCó thể đã có người làm @planetchili đã nhận 10 ngày trước. Đang mở
GameTechDev/PresentMon#734 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của GameTechDev/PresentMon
Issue tương tự
-
area/build-framework kind/enhancement priority/low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
yugabyte/yugabyte-db#38826 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug compositor:other void
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
noctalia-dev/noctalia#5451 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Missing caret on soft keyboardĐang mở
Độ 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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 69/100
maplibre/maplibre-native#5072 ·
Maintainer thường phản hồi trong vòng 1 ngày