[PR #188] check_d3d12_trace: finish communicate() after killing a timed-out fixture #240

Open
opened 2026-11-26 20:17:14 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/188
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open

Base: main ← Head: old-pr/9920


📝 Commits (2)

  • 0b7b8fe check_d3d12_trace: finish communicate() after killing a timed-out fixture
  • cc2e281 check_d3d12_trace: capture the fixture's output in files so a timeout cannot wait for its children

📊 Changes

2 files changed (+54 additions, -12 deletions)

View changed files

📝 runtime/test/check_d3d12_trace.py (+38 -12)
📝 tests/test_check_d3d12_trace.py (+16 -0)

📄 Description

Carried over from old PR 9920 by Sunkiller-qc in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9920, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
Sunkiller-qc: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

Thanks for 433edaa. The subprocess docs recommend finishing with communicate() after killing a timed-out child so the pipes are drained. The call has a limit so a stray process holding the pipes can't stretch the timeout.

Not run on my side; tests/test_check_d3d12_trace.py should cover it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/188 **Author:** [@Andretuta](https://github.com/Andretuta) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `old-pr/9920` --- ### 📝 Commits (2) - [`0b7b8fe`](https://github.com/ubiquitarianism/leonida/commit/0b7b8fe6314087d00598c8c78319883bbca3497a) check_d3d12_trace: finish communicate() after killing a timed-out fixture - [`cc2e281`](https://github.com/ubiquitarianism/leonida/commit/cc2e28195926db2cfdc2ea9a3f3824f8282e7f54) check_d3d12_trace: capture the fixture's output in files so a timeout cannot wait for its children ### 📊 Changes **2 files changed** (+54 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `runtime/test/check_d3d12_trace.py` (+38 -12) 📝 `tests/test_check_d3d12_trace.py` (+16 -0) </details> ### 📄 Description > Carried over from **old PR 9920** by `Sunkiller-qc` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9920`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `Sunkiller-qc`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): Thanks for 433edaa. The subprocess docs recommend finishing with communicate() after killing a timed-out child so the pipes are drained. The call has a limit so a stray process holding the pipes can't stretch the timeout. Not run on my side; `tests/test_check_d3d12_trace.py` should cover it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
starred/leonida#240
No description provided.