Skip to content

Comments

feat: tree/path for all metadataResolver use W-20175875#821

Merged
mshanemc merged 11 commits intomainfrom
sm/more-cwd-stuff
Nov 24, 2025
Merged

feat: tree/path for all metadataResolver use W-20175875#821
mshanemc merged 11 commits intomainfrom
sm/more-cwd-stuff

Conversation

@mshanemc
Copy link
Contributor

@mshanemc mshanemc commented Nov 11, 2025

What does this PR do?

after getting #820 merged, I ran into a similar problem elsewhere, same root cause.

so this pr fixes all the places SDR might have constructed a tree without cwd for MetadataResolver.

with a shared fn for returning the tree/undefined

that process.env.ESBUILD_PLATFORM is a bundle-time esbuild define value so that code can be "dropped" when it'll never apply. We use that in other places for web-only stuff in the extensions/libraries (also means it should have no effect outside of our bundled web ext)

What issues does this PR fix or reference?

@W-20175875@

@mshanemc mshanemc requested a review from a team as a code owner November 11, 2025 21:26
@mshanemc mshanemc merged commit 21f06fe into main Nov 24, 2025
19 checks passed
@mshanemc mshanemc deleted the sm/more-cwd-stuff branch November 24, 2025 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants