Skip to content

Conversation

@pjreiniger
Copy link
Contributor

This anecdotally fixes a problem that occurs when building with bzlmod. At least for me this fixes the problem, and now that there is a function for it it can be easier to deal with any other special casing that needs to happen (windows, remote execution, etc). It is still a bit naive, but should fix the major problem at the moment.

@pjreiniger pjreiniger requested a review from a team as a code owner December 30, 2025 22:01
@github-actions github-actions bot added the 2027 2027 target label Dec 30, 2025
root_dir = pathlib.Path(
include_root[: include_root.find("__main__/") + len("__main__/")]
)
root_dir = find_root_dir(include_root)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason both sides of the if statement duplicate this exact line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2027 2027 target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants