Skip to content

fix(rpc): rebase forwarded paths to the workspace root - #16267

Open
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-lytnrzpwrkyp
Open

fix(rpc): rebase forwarded paths to the workspace root#16267
rgrinberg wants to merge 1 commit into
ocaml:mainfrom
rgrinberg:push-lytnrzpwrkyp

Conversation

@rgrinberg

@rgrinberg rgrinberg commented Aug 30, 2026

Copy link
Copy Markdown
Member

Relative build, runtest, and exec paths forwarded to a running Dune process were interpreted from the server's startup directory. Rebase them from the client invocation to the workspace root before sending, and interpret them from that root on the server.

Rebase build targets and runtest paths from the client's directory to the
workspace root before sending them. Interpret those requests from the root on
the server so its startup directory cannot affect their meaning.

Apply the same client-directory prefix when exec chooses its context build
directory.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
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.

1 participant