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

Open
github-bot wants to merge 1 commit from github-bot/gh-1194 into main AGit
Owner

@⁠muhammadumairmustafa on GitHub · 2026-11-24 19:57 UTC · original
muhammadumairmustafa:test-shader-link-publish → main · +18 −0 · 1 files · 1 commits · open

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.
**@⁠muhammadumairmustafa** on GitHub · 2026-11-24 19:57 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1194) `muhammadumairmustafa:test-shader-link-publish` → `main` · +18 −0 · 1 files · 1 commits · open 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:42:21 +00:00
Author
Owner

@⁠Deedlyy on GitHub · 2026-11-24 20:08 UTC · original

Recommendation: [MERGE]

Reasoning: Adds a PublishTest to tests/test_shader_link_check.py covering JSON report publishing and temp-file cleanup when os.replace fails. Test-only, synthetic data; 51 tests pass per the author. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with main. Merge once the queued checks are green.

Impact level: 1/10

**@⁠Deedlyy** on GitHub · 2026-11-24 20:08 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/1194#issuecomment-7143091766) **Recommendation:** [MERGE] **Reasoning:** Adds a `PublishTest` to `tests/test_shader_link_check.py` covering JSON report publishing and temp-file cleanup when `os.replace` fails. Test-only, synthetic data; 51 tests pass per the author. CI (label, change-scope, no-game-data and the Runtime jobs) is still queued awaiting maintainer workflow approval, so nothing has run in CI yet; GitHub reports no merge conflict with `main`. Merge once the queued checks are green. **Impact level:** 1/10
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1194/head:github-bot/gh-1194'
git switch 'github-bot/gh-1194'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1194'
git switch 'github-bot/gh-1194'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1194'
git switch 'github-bot/gh-1194'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1194'
git switch 'main'
git merge --squash 'github-bot/gh-1194'
git switch 'main'
git merge --ff-only 'github-bot/gh-1194'
git switch 'main'
git merge 'github-bot/gh-1194'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.