[PR #1561] [MERGED] Fix two repository checks that fail on main #1585

Closed
opened 2026-11-26 20:21:46 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1561
Author: @ytsodacan
Created: 11/25/2026
Status: ✅ Merged
Merged: 11/26/2026
Merged by: @aslan2142

Base: main ← Head: fix-red-tests


📝 Commits (4)

  • eaa5095 Fix two repository checks that fail on main
  • 4b10cbe game_run_summary, stage_timeline: set errors="replace" on stdout
  • b88fba3 Merge main into fix-red-tests (#1561)
  • d9bb374 Fix the third red check, and guard the scripts that landed since (#1561 review)

📊 Changes

8 files changed (+28 additions, -0 deletions)

View changed files

📝 .github/workflows/runtime.yml (+2 -0)
📝 scripts/check_compute_journal_overlay.py (+5 -0)
📝 scripts/compute_workers_win.py (+4 -0)
📝 scripts/corpus_watch.py (+4 -0)
📝 tests/test_runner_calls_all_tests.py (+1 -0)
📝 tools/compute_heap_layout_census.py (+4 -0)
📝 tools/game_run_summary.py (+4 -0)
📝 tools/stage_timeline.py (+4 -0)

📄 Description

What and why

Two repository checks fail on main:

  • tests/test_tool_stdout_encoding.py: tools/compute_heap_layout_census.py, tools/game_run_summary.py and tools/stage_timeline.py don't set errors="replace" on stdout, so a redirected run can stop on a name the Windows code page can't encode. They get the guard the other tools have.
  • tests/test_runner_calls_all_tests.py: test_out_named_like_the_optional_spirv_index in tests/test_feature_scan.py isn't in the checker's list. Its runner already calls it (through globals(), which the checker doesn't follow in that form), so it joins the file's other tests in RUNNER_SKIPS.

Overlaps #1673, which fixes the same two checks and a third, without the last two guards.

Tested

macOS, Python 3.14.4. On main both checks fail; with this change both pass, and so do tests/test_feature_scan.py, tests/test_compute_heap_layout_census.py and tests/test_game_run_summary.py. OguzSoykan verified the first commit on native Windows; the two newer guards have no Windows run.

GPUs tested: n/a

Checklist

  • Based on current main and merges cleanly.
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption.

🔄 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/1561 **Author:** [@ytsodacan](https://github.com/ytsodacan) **Created:** 11/25/2026 **Status:** ✅ Merged **Merged:** 11/26/2026 **Merged by:** [@aslan2142](https://github.com/aslan2142) **Base:** `main` ← **Head:** `fix-red-tests` --- ### 📝 Commits (4) - [`eaa5095`](https://github.com/ubiquitarianism/leonida/commit/eaa5095f2cd2f200b535609d679317bc183cf649) Fix two repository checks that fail on main - [`4b10cbe`](https://github.com/ubiquitarianism/leonida/commit/4b10cbe91edce03c1dd2becd57bc981e943a88ce) game_run_summary, stage_timeline: set errors="replace" on stdout - [`b88fba3`](https://github.com/ubiquitarianism/leonida/commit/b88fba3956c05c5832ead10e789606e4d2287025) Merge main into fix-red-tests (#1561) - [`d9bb374`](https://github.com/ubiquitarianism/leonida/commit/d9bb374655c89a04f04544b05149166e31a9b598) Fix the third red check, and guard the scripts that landed since (#1561 review) ### 📊 Changes **8 files changed** (+28 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/runtime.yml` (+2 -0) 📝 `scripts/check_compute_journal_overlay.py` (+5 -0) 📝 `scripts/compute_workers_win.py` (+4 -0) 📝 `scripts/corpus_watch.py` (+4 -0) 📝 `tests/test_runner_calls_all_tests.py` (+1 -0) 📝 `tools/compute_heap_layout_census.py` (+4 -0) 📝 `tools/game_run_summary.py` (+4 -0) 📝 `tools/stage_timeline.py` (+4 -0) </details> ### 📄 Description ### What and why Two repository checks fail on `main`: - `tests/test_tool_stdout_encoding.py`: `tools/compute_heap_layout_census.py`, `tools/game_run_summary.py` and `tools/stage_timeline.py` don't set `errors="replace"` on stdout, so a redirected run can stop on a name the Windows code page can't encode. They get the guard the other tools have. - `tests/test_runner_calls_all_tests.py`: `test_out_named_like_the_optional_spirv_index` in `tests/test_feature_scan.py` isn't in the checker's list. Its runner already calls it (through `globals()`, which the checker doesn't follow in that form), so it joins the file's other tests in `RUNNER_SKIPS`. Overlaps #1673, which fixes the same two checks and a third, without the last two guards. ### Tested macOS, Python 3.14.4. On `main` both checks fail; with this change both pass, and so do `tests/test_feature_scan.py`, `tests/test_compute_heap_layout_census.py` and `tests/test_game_run_summary.py`. OguzSoykan verified the first commit on native Windows; the two newer guards have no Windows run. GPUs tested: n/a ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 20:21:46 +01:00
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#1585
No description provided.