[PR #1845] WINE-RESOURCE-LOCK-SHAPE: Validate CTest resource locks before scheduling Wine tests #1856

Open
opened 2026-11-26 21:19:12 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1845
Author: @delysidemanYT1
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: wine-resource-lock-shape


📝 Commits (1)

  • 0f71fcb WINE-RESOURCE-LOCK-SHAPE: Validate CTest resource locks before scheduling Wine tests

📊 Changes

2 files changed (+11 additions, -1 deletions)

View changed files

📝 scripts/run_wine_tests.py (+1 -1)
📝 tests/test_run_wine_tests.py (+10 -0)

📄 Description

Claimed in the coordination issue as: WINE-RESOURCE-LOCK-SHAPE
Claim: https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7163027205

Reject malformed RESOURCE_LOCK entries in the CTest inventory instead of passing them to the parallel scheduler. Accept the string and list-of-strings forms the scheduler already supports. A synthetic inventory with an object in the list reproduced the previous crash; no Wine execution was required. The new inventory test and an isolated lock-scheduling run passed. The full suite intermittently loses lines from the parallel timing journal on Windows. I reproduced the same missing timing event on unchanged main in one of six isolated runs.

Targeted checks on Windows: python -m unittest discover -s tests -p test_run_wine_tests.py -k resource_lock_inventory and git diff --check. No game files. AI-assisted (Codex).


🔄 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/1845 **Author:** [@delysidemanYT1](https://github.com/delysidemanYT1) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `wine-resource-lock-shape` --- ### 📝 Commits (1) - [`0f71fcb`](https://github.com/ubiquitarianism/leonida/commit/0f71fcbcb19fbdb95ff7369c9ea567bec918d061) WINE-RESOURCE-LOCK-SHAPE: Validate CTest resource locks before scheduling Wine tests ### 📊 Changes **2 files changed** (+11 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `scripts/run_wine_tests.py` (+1 -1) 📝 `tests/test_run_wine_tests.py` (+10 -0) </details> ### 📄 Description Claimed in the coordination issue as: WINE-RESOURCE-LOCK-SHAPE Claim: https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7163027205 Reject malformed RESOURCE_LOCK entries in the CTest inventory instead of passing them to the parallel scheduler. Accept the string and list-of-strings forms the scheduler already supports. A synthetic inventory with an object in the list reproduced the previous crash; no Wine execution was required. The new inventory test and an isolated lock-scheduling run passed. The full suite intermittently loses lines from the parallel timing journal on Windows. I reproduced the same missing timing event on unchanged main in one of six isolated runs. Targeted checks on Windows: python -m unittest discover -s tests -p test_run_wine_tests.py -k resource_lock_inventory and git diff --check. No game files. AI-assisted (Codex). --- <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#1856
No description provided.