tests: start pixel_aot checks through runpy so cached bytecode is reused #2354
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2362"
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?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T13:39:30Z.
Part of #448
What this unblocks: each
pixel_aot_*andcompute_store_*test start no longer recompiles the 25k-linetests/pixel_aot_check.pyor the 9k-linetests/compute_store_check.py, which saves a fraction of a second per start across about 134 starts per ctest phase.What changes
Python never caches bytecode for the script it is started with. Every such CTest line starts the script by path, so each start recompiles the whole file, even when a valid
.pycexists (for example underPYTHONPYCACHEPREFIX, which-Bstill reads).tests/pyc_main.py <module> [args...]: drops its own argv entry and runstests/<module>.pywithrunpy.run_module(module, run_name="__main__", alter_sys=True). Arguments, exit status and exit-time side effects (such as the form-coverage record) stay those of the module's__main__.CMakeLists.txt: a smalladd_testwrapper, defined right afterenable_testing(), swaps/tests/<name>.pyfor/tests/pyc_main.py;<name>forpixel_aot_checkandcompute_store_check. The existingadd_testlines are untouched, so open PRs that add such tests do not conflict. Any argument that is empty or holds;stops the configure with a clear message. Add a script tox2w_pyc_main_modulesto cover it.pyc_main_entrytest (tests/pyc_main_check.py): for both scripts, runs a fast-failing invocation by path and through the entry, and requires the same exit status and the forwarded arguments in stderr; forpixel_aot_checkalso an identical form-coverage record.check_controlsusesProcessPoolExecutor, which spawns workers on Windows. Started throughrun_module,__main__.__spec__names the module, so spawned workers import it the same way as withpython -m.Verification
Linux (this branch):
Windows Server 2025 WARP on head
b898fb66: dev 168/168 passed (build 181s, tests 161s) and release/O2168/168 passed (build 358s, tests 188s); full receipt in the PR comments.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-25T13:53:58Z.
The forwarding claim holds on this machine — both entry points behave identically; one assertion is locale-dependent and fails here
I could not run the check as written (it failed at line 30), so I compared the two entry points directly, which is what the check is about:
Same exit status, same traceback shape, and both write the coverage record (
a.txtandb.txtboth exist, and the two files compare equal). Sorun_module(..., alter_sys=True)forwards arguments, exit status and the exit-time record, which is the behaviour this PR is for.Where it differs: the assertion at line 30 assumes an English
FileNotFoundErrorOn this machine the stderr of both runs is:
No path, no basename — Windows'
CreateProcesserror carries the OS message and not the file name, and the message is localized. So the assertion can only pass if the runtime prints the path (the POSIX form is[Errno 2] No such file or directory: '/tmp/...', which does). Both entry points are equally "correct" here; the assertion picks a property of the message text, not of the forwarding.Your Windows CI job is green on this head, which means the runner's message does contain the path or its locale is English — either way the check is locale- and platform-dependent as written. If that is acceptable, fine; if you want it portable, the robust form is to assert on something the check itself controls, for example:
entry.returncode == direct.returncode(already there) and the coverage records (already there), andargvthat the module echoes.direct.returncode != 0plus equal records already distinguishes a wrapper that swallows arguments from one that forwards them; the basename assertion is the part that depends on the OS.One design note on the CMake wrapper
Overriding
add_testat file scope makes every lateradd_testargument list pass through a string replace, andmessage(FATAL_ERROR)turns an empty or;-bearing argument into a configure failure. It does keep the substitution in one place, which is the point — but it also means a future test cannot namepixel_aot_check.pydeliberately (to compare the two entries, say) without knowing about the wrapper, and a configure error from an unrelated test will point here. A named helper (pixel_aot_test(...)) called at each site would cost one word per line and keepadd_testintact.Not a blocker. Your
pixel_aot_main_entryregistration and theEXISTS "${INTAKE_PYTHON}"guard both look right.AI-assisted; both runs above were made on Windows 11 build 26300.9974 with a Chinese-locale system message, DXC not required.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T14:45:31Z.
Review: COMMENTED
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
b898fb665cℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T14:54:42Z.
Review: COMMENTED
No description provided.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T14:15:06Z.
Thanks for the run. You are right: the assertion at line 30 of
tests/pyc_main_check.pyexpected the missing file's name in stderr. On Windows that text comes from the OS and is localized, so it is not a property of the forwarding.What it means for the PR: your comparison of the two entry points (same exit status, same exit-time record) confirms the forwarding works. The failing line was a test bug, not a wrapper bug.
Fix (pushed as
b898fb66): the check now runsbinarywith no further arguments. The script prints its own fixed line,usage: pixel_aot_check.py binary ..., and the check asserts that line in the entry's stderr. This needs no compiler, no GPU and no OS message. It still compares exit status and the exit record.Head you ran: the PR head at the time of your run (
932dca2fis the head I checked). Current head:b898fb66.Checked locally on Linux:
python3 -B tests/pyc_main_check.pyprintspyc_main forwards arguments, exit status and the exit record.Note: your comment names
pixel_aot_main.py; on this head the entry istests/pyc_main.pyand the check istests/pyc_main_check.py. The assertion you describe is the same one.On the CMake
add_testoverride: noted. Not a blocker; we will keep the substitution in one place.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T14:36:32Z.
Win2025 WARP receipt for head
b898fb66.Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
b898fb665c94fe54ed3153087e72223be731f7a3:--preset dev):cmake --build --preset dev -- -j 2):181.07s(configure1.60s)ctest --preset dev -R '^(pyc_main_entry|pixel_aot_.*_warp|compute_store_aot_.*_warp|form_coverage)' --parallel 4 --no-tests=error --output-on-failure): 168/168 passed (161.16s:pixel_aot_bits_warp11.00s,pixel_aot_buffer_color_warp5.66s,form_coverage21.79s,pixel_aot_three_way_warp5.96s,pixel_aot_compare_warp26.28s,pixel_aot_e64_warp5.36s,pixel_aot_comparisons_warp6.28s,compute_store_aot_heap_view_load_warp6.54s,compute_store_aot_guard_read_warp6.08s,pixel_aot_blend_scalar_warp7.60s,compute_store_aot_lds_qword_warp5.90s,compute_store_aot_lds_arithmetic_warp5.64s,compute_store_aot_heap_view_store_warp4.71s,pixel_aot_gather_warp3.14s,compute_store_aot_mimg_mip_warp4.25s,pixel_aot_cvt_flr_rpi_warp5.30s,compute_store_aot_mimg_load_warp4.18s,pixel_aot_cvt_f64_f32_warp6.44s,pixel_aot_cmpx_regions_warp6.22s,pixel_aot_f16_arith_warp5.62s,compute_store_aot_lds_private_warp4.33s,pixel_aot_predicate_rounding_warp4.98s,compute_store_aot_lds_f32_warp3.76s,compute_store_aot_mimg_packed_warp3.54s,pixel_aot_compare_gather_warp3.07s,compute_store_aot_gfx1013_gather4_l_warp1.52s,compute_store_aot_gfx1013_image_atomics_warp1.69s,compute_store_aot_vcmp_select_warp2.31s,pixel_aot_sample_coarse_gradient_warp2.42s,pixel_aot_compare_sample_warp2.95s,pixel_aot_core_vector_warp5.57s,pixel_aot_sample_gradient_warp2.53s,compute_store_aot_alu_lane_gaps_warp1.69s,pixel_aot_cmpx_e64_warp5.04s,compute_store_aot_lane_mask_warp2.14s,compute_store_aot_lds_replacement_warp2.80s,compute_store_aot_mubuf_reduction_x2_warp2.51s,compute_store_aot_lds_packed_warp2.81s,pixel_aot_exec_regions_warp5.42s,compute_store_aot_mimg_atomic_counter_warp2.01s,compute_store_aot_mimg_atomic_float_warp1.74s,pixel_aot_dpp_f16_warp3.70s,compute_store_aot_sub_co_warp1.24s,compute_store_aot_mtbuf_store_warp2.37s,pixel_aot_sample_offset_warp1.84s,compute_store_aot_descriptor_load_format_warp77.49s,compute_store_aot_mimg_store_packed_warp2.44s,compute_store_aot_mimg_store_warp2.41s,compute_store_aot_dot_u_warp1.44s,compute_store_aot_mubuf_reduction_warp2.83s,compute_store_aot_mubuf_d16_warp2.53s,compute_store_aot_alu_bcnt_warp2.20s,compute_store_aot_add_co_warp1.49s,compute_store_aot_descriptor_store_format_warp2.16s,compute_store_aot_ff1_scalar_warp2.53s,compute_store_aot_mubuf_store_format_warp3.52s,compute_store_aot_mtbuf_load_warp3.78s,compute_store_aot_mimg_resinfo_warp3.20s,compute_store_aot_cvt_u32_f32_warp1.69s,compute_store_aot_scratch_base_warp1.74s,compute_store_aot_mubuf_store_subword_warp2.17s,compute_store_aot_salu_absdiff_warp1.47s,pixel_aot_cvt_int_f64_warp4.87s,compute_store_aot_f32_warp2.32s,pixel_aot_f16_round_warp4.77s,compute_store_aot_mbcnt_warp1.64s,compute_store_aot_vadd_nc_i32_warp1.59s,compute_store_aot_alu_minmax3_warp2.00s,compute_store_aot_salu_i32_warp1.58s,compute_store_aot_lds_wide_replacement_warp2.28s,compute_store_aot_alu_xor3_warp2.06s,compute_store_aot_mac_f32_warp1.53s,compute_store_aot_bcnt_exec_warp1.46s,compute_store_aot_alu_mad_i24_warp1.64s,compute_store_aot_writelane_warp1.58s,compute_store_aot_alu_cvt_pk_u8_warp1.98s,compute_store_aot_ff1_exec_warp1.39s,pixel_aot_get_lod_warp2.11s,compute_store_aot_bfe_warp1.66s,compute_store_aot_mubuf_subword_warp2.17s,pixel_aot_rndne_warp1.75s,compute_store_aot_mimg_atomic_minmax_warp2.10s,compute_store_aot_lds_strided_warp2.14s,compute_store_aot_mimg_atomic_integer_warp2.13s,pixel_aot_dpp_extra_warp3.64s,pixel_aot_sample_lod_warp2.07s,compute_store_aot_readlane_warp1.33s,compute_store_aot_alu_med3_warp1.57s,pixel_aot_dmask_warp1.65s,compute_store_aot_mubuf_load_format_d16_warp1.84s,compute_store_aot_mubuf_format_warp1.91s,compute_store_aot_mubuf_csub_warp1.26s,compute_store_aot_mubuf_exchange_warp1.56s,pixel_aot_u32_from_f32_warp1.47s,pixel_aot_attribute_warp1.12s,compute_store_aot_gfx1013_image_store_warp1.06s,compute_store_aot_mimg_msaa_warp1.29s,compute_store_aot_dpp_warp1.20s,pixel_aot_cmp_f64_warp4.62s,compute_store_aot_mubuf_counter_warp1.39s,pixel_aot_shift64_warp4.28s,compute_store_aot_mubuf_exchange-x2_warp1.60s,pixel_aot_f16_fmac_ldexp_warp3.83s,compute_store_aot_mubuf_counter-x2_warp1.44s,compute_store_aot_mubuf_vector_warp1.64s,compute_store_aot_mimg_atomic_exchange_warp1.31s,compute_store_aot_ds_route_warp1.39s,pixel_aot_cmp64_warp3.14s,pixel_aot_vop3_ternary_int_warp1.56s,compute_store_aot_gfx1013_image_store_d16_warp1.00s,compute_store_aot_gfx1013_image_uav_load_warp0.92s,compute_store_aot_mubuf_store_format_xyz_warp1.19s,compute_store_aot_desc_numeric_warp1.39s,pixel_aot_region_body_warp2.46s,pixel_aot_f16_cvt_int16_warp2.58s,pixel_aot_int16_ternary_warp2.84s,pixel_aot_cvt_f64_int_warp2.59s,pixel_aot_dpp_cvt_warp2.68s,pixel_aot_swaprel_warp1.26s,pixel_aot_mac_legacy_warp1.35s,pixel_aot_cvt_float_int_e64_warp2.31s,pixel_aot_plain_bitscan_warp1.65s,pixel_aot_pk_fmac_warp2.31s,pixel_aot_align_warp1.73s,pixel_aot_plain_movrel_warp2.07s,pixel_aot_f16_to_int16_warp2.19s,pixel_aot_scc_skip_warp2.22s,pixel_aot_cvt_f32_f64_warp2.26s,pixel_aot_bitset64_warp2.13s,pixel_aot_int16_vop3_warp2.18s,pixel_aot_flat_scratch_warp2.02s,pixel_aot_sdwa_integer_warp1.86s,pixel_aot_e64_spellings_warp1.81s,pixel_aot_first_bit_warp2.06s,pixel_aot_sdwa_movrel_warp1.61s,pixel_aot_dpp_movrel_warp1.72s,pixel_aot_div_fmas_warp1.71s,pixel_aot_mad64_warp1.57s,pixel_aot_uncompressed_integer_export_warp1.40s,pixel_aot_carry_in_warp1.39s,pixel_aot_carry_out_warp1.29s,pixel_aot_sdwa_unary_warp1.26s,pixel_aot_uncompressed_export_warp1.39s,pixel_aot_region_scalar_load_warp1.98s,pixel_aot_brev_warp1.39s,pixel_aot_swap_warp1.42s,pixel_aot_smovrel_warp1.48s,pixel_aot_s_call_warp1.40s,pixel_aot_region_scalar_alu_warp1.38s,pixel_aot_frexp_exp_warp1.34s,pixel_aot_sdwa_cmp_warp1.54s,pixel_aot_vop1_nops_warp1.12s,pixel_aot_region_waits_warp1.58s,pixel_aot_sopk_hwreg_warp1.25s,pixel_aot_bfm_warp1.54s,pixel_aot_e64_integer_warp1.57s,pixel_aot_sad_warp1.81s,pixel_aot_smem_pointers_warp1.46s,pixel_aot_compressed_export_warp1.45s,pixel_aot_title_loads_warp1.55s,pixel_aot_integer_nc_warp1.53s,pixel_aot_pack_b32_warp1.50s,pixel_aot_ds_swizzle_warp1.44s,pixel_aot_pack_int16_warp1.38s,pixel_aot_sopp_round_mode_warp1.25s,pixel_aot_attribute_sampled_warp1.00s,pixel_aot_e64_approx_warp1.19s,pyc_main_entry27.53s)/O2(--preset release):cmake --build --preset release -- -j 2):357.96s(configure4.17s)ctest --preset release -R '^(pyc_main_entry|pixel_aot_.*_warp|compute_store_aot_.*_warp|form_coverage)' --parallel 4 --no-tests=error --output-on-failure): 168/168 passed (187.78s:pixel_aot_buffer_color_warp13.26s,pixel_aot_three_way_warp13.32s,pixel_aot_bits_warp19.53s,pixel_aot_e64_warp9.80s,pixel_aot_comparisons_warp8.31s,form_coverage14.84s,compute_store_aot_guard_read_warp6.64s,compute_store_aot_heap_view_load_warp7.21s,pixel_aot_compare_warp12.41s,pixel_aot_cmpx_e64_warp5.43s,compute_store_aot_lds_qword_warp6.51s,pixel_aot_blend_scalar_warp8.55s,compute_store_aot_lds_private_warp14.80s,compute_store_aot_lds_arithmetic_warp16.23s,compute_store_aot_mimg_mip_warp14.90s,compute_store_aot_mimg_load_warp4.63s,compute_store_aot_lds_f32_warp4.24s,pixel_aot_cvt_f64_f32_warp12.31s,compute_store_aot_mimg_packed_warp14.16s,compute_store_aot_alu_bcnt_warp2.10s,pixel_aot_compare_gather_warp8.47s,pixel_aot_f16_arith_warp16.12s,compute_store_aot_salu_i32_warp1.48s,compute_store_aot_mimg_atomic_counter_warp2.45s,compute_store_aot_heap_view_store_warp5.50s,compute_store_aot_mimg_store_packed_warp3.04s,pixel_aot_cvt_flr_rpi_warp6.19s,compute_store_aot_mtbuf_load_warp2.64s,compute_store_aot_mimg_atomic_float_warp2.14s,pixel_aot_compare_sample_warp3.41s,pixel_aot_core_vector_warp6.60s,pixel_aot_sample_coarse_gradient_warp2.97s,compute_store_aot_mubuf_reduction_x2_warp3.04s,compute_store_aot_gfx1013_image_atomics_warp2.24s,compute_store_aot_lds_replacement_warp3.42s,compute_store_aot_mubuf_subword_warp2.18s,compute_store_aot_cvt_u32_f32_warp1.74s,compute_store_aot_descriptor_store_format_warp2.38s,compute_store_aot_lane_mask_warp2.51s,compute_store_aot_lds_packed_warp3.30s,compute_store_aot_dot_u_warp1.58s,compute_store_aot_vadd_nc_i32_warp1.61s,compute_store_aot_mubuf_reduction_warp3.00s,compute_store_aot_descriptor_load_format_warp100.36s,compute_store_aot_mbcnt_warp1.78s,compute_store_aot_mtbuf_store_warp2.97s,compute_store_aot_bcnt_exec_warp1.55s,compute_store_aot_alu_cvt_pk_u8_warp2.05s,compute_store_aot_mimg_store_warp3.05s,compute_store_aot_mimg_atomic_minmax_warp2.14s,pixel_aot_sample_gradient_warp3.13s,compute_store_aot_alu_xor3_warp2.25s,compute_store_aot_bfe_warp1.68s,compute_store_aot_mubuf_store_format_warp2.70s,compute_store_aot_alu_minmax3_warp2.15s,compute_store_aot_ff1_scalar_warp1.76s,pixel_aot_predicate_rounding_warp6.27s,compute_store_aot_sub_co_warp1.53s,compute_store_aot_mubuf_d16_warp2.57s,compute_store_aot_mimg_resinfo_warp2.50s,compute_store_aot_desc_numeric_warp1.55s,compute_store_aot_add_co_warp1.64s,pixel_aot_gather_warp3.95s,compute_store_aot_mubuf_store_subword_warp2.30s,compute_store_aot_f32_warp3.04s,compute_store_aot_mimg_atomic_integer_warp2.62s,compute_store_aot_lds_wide_replacement_warp3.35s,compute_store_aot_readlane_warp1.90s,compute_store_aot_scratch_base_warp2.25s,pixel_aot_sample_offset_warp2.70s,compute_store_aot_mubuf_load_format_d16_warp2.21s,pixel_aot_cmpx_regions_warp9.64s,compute_store_aot_alu_mad_i24_warp1.80s,pixel_aot_cvt_int_f64_warp6.42s,compute_store_aot_writelane_warp1.74s,compute_store_aot_gfx1013_image_store_d16_warp1.14s,compute_store_aot_ff1_exec_warp1.50s,compute_store_aot_lds_strided_warp2.11s,compute_store_aot_mubuf_csub_warp1.40s,compute_store_aot_salu_absdiff_warp1.62s,pixel_aot_get_lod_warp2.08s,compute_store_aot_alu_med3_warp1.84s,compute_store_aot_gfx1013_image_store_warp1.22s,compute_store_aot_mimg_msaa_warp1.43s,compute_store_aot_mubuf_format_warp2.03s,compute_store_aot_dpp_warp1.18s,compute_store_aot_mubuf_exchange_warp1.56s,compute_store_aot_mac_f32_warp1.56s,compute_store_aot_mubuf_exchange-x2_warp1.56s,compute_store_aot_mubuf_vector_warp1.69s,compute_store_aot_mubuf_counter_warp1.45s,compute_store_aot_mimg_atomic_exchange_warp1.38s,pixel_aot_f16_round_warp4.58s,compute_store_aot_mubuf_store_format_xyz_warp1.30s,compute_store_aot_mubuf_counter-x2_warp1.79s,compute_store_aot_ds_route_warp1.96s,compute_store_aot_alu_lane_gaps_warp2.72s,pixel_aot_cmp_f64_warp6.27s,pixel_aot_shift64_warp5.77s,compute_store_aot_vcmp_select_warp3.37s,pixel_aot_region_body_warp2.76s,pixel_aot_exec_regions_warp7.64s,pixel_aot_f16_fmac_ldexp_warp4.43s,pixel_aot_sample_lod_warp1.96s,pixel_aot_dmask_warp1.74s,pixel_aot_dpp_extra_warp3.56s,pixel_aot_u32_from_f32_warp1.51s,pixel_aot_cvt_f64_int_warp3.54s,pixel_aot_cmp64_warp3.44s,pixel_aot_f16_cvt_int16_warp3.00s,pixel_aot_int16_ternary_warp3.21s,pixel_aot_flat_scratch_warp1.69s,pixel_aot_dpp_cvt_warp2.77s,pixel_aot_attribute_warp0.95s,pixel_aot_rndne_warp1.62s,pixel_aot_plain_movrel_warp1.86s,pixel_aot_pk_fmac_warp2.09s,pixel_aot_cvt_float_int_e64_warp2.14s,pixel_aot_cvt_f32_f64_warp2.09s,pixel_aot_dpp_f16_warp4.36s,pixel_aot_sdwa_integer_warp1.42s,pixel_aot_scc_skip_warp2.13s,pixel_aot_bitset64_warp2.08s,pixel_aot_int16_vop3_warp2.21s,pixel_aot_f16_to_int16_warp2.11s,pixel_aot_vop3_ternary_int_warp1.92s,pixel_aot_dpp_movrel_warp1.68s,pixel_aot_e64_spellings_warp1.59s,pixel_aot_align_warp1.99s,pixel_aot_div_fmas_warp1.79s,pixel_aot_plain_bitscan_warp1.77s,pixel_aot_swaprel_warp1.40s,pixel_aot_first_bit_warp1.76s,pixel_aot_sdwa_movrel_warp1.50s,pixel_aot_sdwa_unary_warp1.43s,pixel_aot_mac_legacy_warp1.55s,pixel_aot_sopk_hwreg_warp1.06s,pixel_aot_swap_warp1.36s,pixel_aot_carry_in_warp1.40s,pixel_aot_mad64_warp1.53s,pixel_aot_region_scalar_load_warp1.92s,pixel_aot_region_scalar_alu_warp1.37s,pixel_aot_uncompressed_integer_export_warp1.37s,compute_store_aot_gfx1013_gather4_l_warp2.01s,pixel_aot_s_call_warp1.41s,pixel_aot_uncompressed_export_warp1.41s,pixel_aot_title_loads_warp1.38s,pixel_aot_brev_warp1.38s,pixel_aot_smovrel_warp1.48s,pixel_aot_sdwa_cmp_warp1.45s,pixel_aot_vop1_nops_warp1.04s,pixel_aot_region_waits_warp1.40s,pixel_aot_carry_out_warp1.30s,pixel_aot_sad_warp1.34s,pixel_aot_e64_integer_warp1.24s,pixel_aot_frexp_exp_warp1.26s,pixel_aot_bfm_warp1.17s,pixel_aot_integer_nc_warp1.21s,pixel_aot_smem_pointers_warp1.16s,pixel_aot_ds_swizzle_warp1.10s,pixel_aot_compressed_export_warp1.17s,pixel_aot_sopp_round_mode_warp0.95s,pixel_aot_e64_approx_warp1.04s,pixel_aot_pack_b32_warp1.08s,pixel_aot_pack_int16_warp1.09s,pixel_aot_attribute_sampled_warp0.79s,compute_store_aot_gfx1013_image_uav_load_warp0.99s,pyc_main_entry22.06s)sccache: 855/1239 hits; wall901.8sAI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T14:36:36Z.
Independent verification of
b898fb66(reviewer did not write this PR).Verdict: PASS, no blocking findings.
CMakeLists.txt,tests/pyc_main.py,tests/pyc_main_check.py(93 added lines).pyc_main_entryincluded (receipt above).add_testwrapper inCMakeLists.txtrelies on CMake's_add_testalias, which only exists for the first override. It configures fine on Linux and Win2025 today.tests/pyc_main_check.pycompares invocations that fail fast (exit status, arguments, form-coverage records). The spawnedcheck_controlspath is covered by the Win2025 run, not by a dedicated check.AI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T14:36:50Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
b898fb6ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T14:45:31Z.
Code review location:
CMakeLists.txt; line 29When this runs concurrently with other CPU-heavy checks, the new 60-second limit can fail an otherwise correct test. The
binaryprobe inpyc_main_check.pyexecutescheck_controls()before validating arity (tests/pixel_aot_check.py:25493-25497), so the two launch styles run the entire process-pool control suite twice. In a Linux/Python 3.14 minimal CTest fixture with one concurrentpyc_main.py pixel_aot_checkinvocation, this entry timed out at 60.03 seconds; the forwarding check completed successfully without the cutoff.cmake --help-property TIMEOUTspecifies that an overrun means “the test process will be killed.” Use a probe that fails before controls or increase this budget to cover both runs.Useful? React with 👍 / 👎.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T14:54:42Z.
Code review location:
CMakeLists.txt; line 29The forwarding probe now uses
draw-e64with no arguments instead ofbinary. That mode is rejected beforepixel_aot_checkrunscheck_controls(), so the control suite no longer runs twice.The probe still compares exit status, forwarded arguments and the exit record between the direct and the entry launch.
python3 -B tests/pyc_main_check.pywent from 19.40 s to 6.06 s wall time, so the TIMEOUT 60 now has wide margin.ctestwas not run (no configured Linux build tree).AI-assisted; commands listed were executed locally.