Merged
Conversation
Replace duplicated PYTHONPATH-prepending boilerplate across 6 call sites with a single helper in shell_utils. Also adds the missing PYTHONPATH to the concolic test validation subprocess.
cb32a74 to
b6b47ff
Compare
Contributor
PR Review SummaryPrek Checks✅ All checks passed — ruff check and ruff format both clean. No fixes needed. Mypy✅ No new mypy errors introduced by this PR. All 157 errors in the changed files are pre-existing (e.g., Code Review✅ No critical issues found. This is a clean refactoring that extracts the repeated PYTHONPATH setup pattern (5 call sites across 5 files) into a single Changes verified:
Test Coverage
Note: 8 pre-existing test failures in Last updated: 2026-02-13 |
KRRT7
added a commit
that referenced
this pull request
Feb 19, 2026
Unify PYTHONPATH setup for subprocesses
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
make_env_with_project_root()inshell_utils.pysubprocess.runcall and theis_valid_concolic_testsubprocess