Skip to content

Conversation

@fmeum
Copy link
Collaborator

@fmeum fmeum commented Dec 21, 2025

Before this commit, FileRoot objects were stringified to their absolute (!) path with a derived/source suffix, which is neither hermetic nor useful.

In the future, when path mapping is restricted to path stripping, which can be applied to prefixes of full exec paths without knowing the full path, FileRoot objects can be path mapped automatically. Even before that happens, allowing users to e.g. do args.add(ctx.bin_dir) avoids a gotcha and makes it easier to write code that can be path mapped in the future.

Along the way improve test coverage by parametrizing tests in the choice of NestedSet vs. list.

Before this commit, `FileRoot` objects were stringified to their absolute (!) path with a `derived/source` suffix, which is neither hermetic nor useful.

Along the way improve test coverage by parameterizing tests in the choice of `NestedSet` vs. list.
@fmeum fmeum marked this pull request as ready for review December 21, 2025 23:27
@fmeum fmeum requested a review from a team as a code owner December 21, 2025 23:27
@fmeum fmeum requested review from aranguyen and justinhorvitz and removed request for a team and aranguyen December 21, 2025 23:27
@github-actions github-actions bot added team-Performance Issues for Performance teams team-Configurability platforms, toolchains, cquery, select(), config transitions awaiting-review PR is awaiting review from an assigned reviewer labels Dec 21, 2025
@justinhorvitz justinhorvitz added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels Dec 23, 2025
@fmeum fmeum mentioned this pull request Dec 23, 2025
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally team-Configurability platforms, toolchains, cquery, select(), config transitions team-Performance Issues for Performance teams

2 participants