[PR #1194] TEST-SHADER-LINK-PUBLISH: add PublishTest to tests/test_shader_link_check.py #1226

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

📋 Pull Request Information

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

Base: main ← Head: test-shader-link-publish


📝 Commits (1)

  • 534c159 Update test_shader_link_check.py

📊 Changes

1 file changed (+18 additions, -0 deletions)

View changed files

📝 tests/test_shader_link_check.py (+18 -0)

📄 Description

Claimed in the coordination issue as: TEST-SHADER-LINK-PUBLISH (in #14)

What and why

Adds PublishTest to tests/test_shader_link_check.py so direct runs of the test file exercise write_report JSON publishing and temporary file cleanup when os.replace fails, using synthetic data only.

Tested

Ran python -I tests/test_shader_link_check.py locally on Windows (CPU-only, synthetic data only, no game files): 51 tests run, OK.

AI-assisted: yes

Checklist

  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.

🔄 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/1194 **Author:** [@muhammadumairmustafa](https://github.com/muhammadumairmustafa) **Created:** 11/24/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `test-shader-link-publish` --- ### 📝 Commits (1) - [`534c159`](https://github.com/ubiquitarianism/leonida/commit/534c159bc4c2742db9cd309dc9c18df1e744f345) Update test_shader_link_check.py ### 📊 Changes **1 file changed** (+18 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_shader_link_check.py` (+18 -0) </details> ### 📄 Description Claimed in the coordination issue as: TEST-SHADER-LINK-PUBLISH (in #14) ### What and why Adds `PublishTest` to `tests/test_shader_link_check.py` so direct runs of the test file exercise `write_report` JSON publishing and temporary file cleanup when `os.replace` fails, using synthetic data only. ### Tested Ran `python -I tests/test_shader_link_check.py` locally on Windows (CPU-only, synthetic data only, no game files): 51 tests run, OK. AI-assisted: yes ### Checklist - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. --- <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#1226
No description provided.