mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:50:53 +01:00
[PR #756] ci: collect all failures in Linux and macOS standard-library jobs, reconfigure runner streams #794
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#794
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/756
Author: @abnalstlll-byte
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:feat/pipeline-ci-resilience📝 Commits (1)
f9af30bci: collect all failures in Linux and macOS standard-library jobs, reconfigure runner streams📊 Changes
6 files changed (+42 additions, -3 deletions)
View changed files
📝
.github/workflows/ci.yml(+12 -2)📝
scripts/run_semantic_tests.py(+2 -1)📝
scripts/run_wine_tests.py(+5 -0)📝
tests/test_ci_registration.py(+12 -0)📝
tests/test_run_semantic_tests.py(+5 -0)📝
tests/test_run_wine_tests.py(+6 -0)📄 Description
Summary
.github/workflows/ci.yml, updatestdlib-tests-linuxandmacos-pythonjobs to collect all failed files infailed+=("$t")and emit::error file=$t::$t failedbefore exiting non-zero (mirroring the Windowscheckjob), preventing early-exit from concealing downstream test failures.macos-python, ensures the backgroundsemanticdiscover job is reliably waited on and its log output printed even when standard-library test files fail.scripts/run_semantic_tests.pyandscripts/run_wine_tests.py, addssys.stderr.reconfigure(errors="replace")underif __name__ == "__main__":so redirected streams on strict ANSI code pages underpython -Ihandle unencodable characters gracefully without raisingUnicodeEncodeError.tests/test_ci_registration.py(asserting Linux and macOS jobs collect all failures),tests/test_run_semantic_tests.py, andtests/test_run_wine_tests.py.Verification
python -I tests/test_ci_registration.pyPASS (17 tests in 12.4s).python -I tests/test_run_wine_tests.pyPASS (64 tests in 2.3s).python -I tests/test_run_semantic_tests.pyPASS (20 tests in 10.4s).python -I tests/test_runner_calls_all_tests.pyPASS (3 tests in 2.3s).python -I scripts/check_no_game_data.pyclean (0 matches, 100% clean-room compliant).AI-assisted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.