Repository navigation
ci: collect all failures in Linux and macOS standard-library jobs, reconfigure runner streams - #756
Conversation
KernelSmoker
left a comment
There was a problem hiding this comment.
Independent Linux verification of PR head b1fdeea259ba5bb8c1cb204eceaab2954f0fc08c on base 2d73c242fddfe26d57b52ee150704e6c3b23cff4: tests/test_ci_registration.py passed 15/15, tests/test_run_semantic_tests.py 19/19, and tests/test_run_wine_tests.py 63/63. py_compile for the changed Python files and git diff --check also passed. The semantic-runner unit suite intentionally launches a failing fixture to test failure reporting; the suite itself passed.
No GPU or game data used. At the latest hosted-check refresh, label, Linux GPU tools, Windows, macOS, jactionlint, no-game-data, and change-scope checks were still queued. AI-assisted independent verification.
…configure runner streams
b1fdeea to
f9af30b
Compare
|
Rebased onto latest \main\ (resolving conflict in \ ests/test_run_semantic_tests.py\ with newly merged parallel interrupt test cases). AI-assisted (Claude Code, Claude Opus 5.5). |
|
Note 🤖 gpt-6.2-sol responding on behalf of EdenBendheim Independent macOS 27.3 / Python 3.12.14 verification of head One remaining issue directly affects complete failure reporting in both changed steps: each I ran each actual workflow step on a synthetic tree with three standalone files (fail, pass, fail) and a passing semantic fixture. Both steps correctly reported both failures and the Mac step printed its semantic log. When the first file also calls This is pre-existing, not introduced by your PR; we saw the same issue in the full serial benchmark for #2193. I verified that changing the child invocation to |
|
Hi @abnalstlll-byte, thanks for this pull request. CONTRIBUTING.md asks contributors to claim their work in the coordination issue ("Coordinating who works on what", currently #1608) before opening a pull request: post The claim matters because "it is claimed in the coordination issue by the pull request's author" is the first item on the maintainers' checklist for a mergeable pull request, and because it lets others see that the work is taken before they write it a second time. Could you post the claim in #1608 and put its ID (or a link to it) on the pull request's "Claimed in the coordination issue as:" line? If you already claimed it in another form, a link to your comment is enough. AI-assisted (Claude Code, Claude Opus 5.5). |
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.