mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:30:53 +01:00
[PR #1561] [MERGED] Fix two repository checks that fail on main #1585
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1585
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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)
eaa5095Fix two repository checks that fail on main4b10cbegame_run_summary, stage_timeline: set errors="replace" on stdoutb88fba3Merge main into fix-red-tests (#1561)d9bb374Fix 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.pyandtools/stage_timeline.pydon't seterrors="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_indexintests/test_feature_scan.pyisn't in the checker's list. Its runner already calls it (throughglobals(), which the checker doesn't follow in that form), so it joins the file's other tests inRUNNER_SKIPS.Overlaps #1673, which fixes the same two checks and a third, without the last two guards.
Tested
macOS, Python 3.14.4. On
mainboth checks fail; with this change both pass, and so dotests/test_feature_scan.py,tests/test_compute_heap_layout_census.pyandtests/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
mainand merges cleanly.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.