Skip to content

test(describe): demonstrate absolute directory rejection - #16140

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-oxnnlyrrpnux
Aug 23, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-oxnnlyrrpnux

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Add a regression test recording that dune describe workspace rejects an
absolute directory filter inside the workspace.

This is test-only groundwork for resolving workspace directory filters through
the shared Common.source_path handling.

Record the error returned when `dune describe workspace` receives an
absolute directory filter inside the workspace.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg
rgrinberg merged commit e7f9300 into ocaml:main Aug 23, 2026
37 of 38 checks passed
rgrinberg added a commit that referenced this pull request Aug 23, 2026
Parse `dune describe workspace` directory filters as path strings and
resolve
them through `Common.source_path`.

Absolute directory filters inside the workspace now select the same
source
directory as relative filters, fixing the rejection recorded in #16140.

Signed-off-by: Rudi Grinberg <[email protected]>
@Alizter Alizter added this to the 3.25.0 milestone Aug 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants