Per-run / per-case test log isolation for PresentMonAPI2Tests
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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).
- 主要言語
- C++
- スター
- 2.6k
- フォーク
- 201
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 16
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
GameTechDev/PresentMon のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
GameTechDev/PresentMon#745 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
GameTechDev/PresentMon#684 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
Runtime-generated FSR/AFMF presents may suppress simulation intervals and report 0 Simulation FPSオープン
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
GameTechDev/PresentMon#742 ·
メンテナーはふだん 2 日以内に返信
-
Reduce nonpaged memory reserved by the PresentMon ETW session at startup対応中かも @markgalvan-intel が 3 日前に担当しました。 オープンPresentData
GameTechDev/PresentMon#740 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
CLI usability issues対応中かも @planetchili が 10 日前に担当しました。 オープン
GameTechDev/PresentMon#734 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
GameTechDev/PresentMon の issue をすべて見る
似ている issue
-
area/build-framework kind/enhancement priority/low
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
yugabyte/yugabyte-db#38826 ·
メンテナーはふだん 1 日以内に返信
-
bug compositor:other void
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
noctalia-dev/noctalia#5451 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
maplibre/maplibre-native#5072 ·
メンテナーはふだん 1 日以内に返信