Repository navigation
ci(probe): drop runtime-DLL PATH injection (#3129 A6) - #3205
Conversation
Three call sites in the meson build prepended clang-tool-chain runtime directories (ASan, MinGW) to the test PATH so DLLs would be discoverable even when zccache caches the link and skips ctc-clang++'s post-link deployment. The upstream-blessed replacement is ZCCACHE_LINK_DEPLOY_CMD= clang-tool-chain-libdeploy, set at ci/meson/runner_helpers.py:374-375 (zccache#33). The commit message that added the env var explicitly says: "runtime_dll_paths PATH workaround is kept as belt-and-suspenders." Probe PR: remove the belt-and-suspenders injection and let CI watch for 0xc0000135 (STATUS_DLL_NOT_FOUND) failures on Windows. If green for a week the workaround stays gone; if any test or example fails to find ASan/MinGW DLLs at runtime, revert. Files touched: - ci/meson/native/meson.build: remove the run_command(...) that populates runtime_dll_paths; keep `runtime_dll_paths = []` so dead references don't error if anything was missed. - tests/meson.build: drop two foreach loops (test_env, this_test_env). - examples/meson.build: drop one foreach loop (example_test_env). ci/meson/get_runtime_dll_paths.py is left in place so revert is a single-line restoration of the run_command(...) call. Part of #3129 (Section A6). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe PR removes the Windows runtime DLL PATH-injection mechanism from the Meson CI build system. ChangesRemove runtime_dll_paths PATH injection from Meson CI builds
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
Probe PR: removes three call sites that prepended clang-tool-chain runtime directories (ASan, MinGW) to the test PATH so DLLs would be discoverable even when zccache caches the link and skips
ctc-clang++'s post-link deployment.The upstream-blessed replacement is already in place:
ZCCACHE_LINK_DEPLOY_CMD=clang-tool-chain-libdeploy, set atci/meson/runner_helpers.py:374-375(zccache#33). The commit message that added the env var explicitly described the PATH workaround as belt-and-suspenders.What changes
ci/meson/native/meson.buildrun_command(uv_prog, ...)that populatesruntime_dll_paths; leaveruntime_dll_paths = []so dead references don't errortests/meson.buildforeach _rtdll_dir : runtime_dll_pathsloops (test_env, this_test_env)examples/meson.buildforeach _rtdll_dir : runtime_dll_pathsloop (example_test_env)ci/meson/get_runtime_dll_paths.pyis intentionally left in place so revert is a single-line restoration of therun_command(...).How to read CI on this branch
0xc0000135(STATUS_DLL_NOT_FOUND) or "DLL not found" failures.3 files changed, 20 insertions(+), 39 deletions(-).
Part of #3129 (Section A6).
🤖 Generated with Claude Code
Summary by CodeRabbit