Skip to content

test(promotion): demonstrate absolute path failure - #16139

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

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

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

Add a regression test recording the current internal error when a promotion
subcommand receives an absolute source path inside the workspace.

This is test-only groundwork for using the shared Common.source_path handling
for promotion file and directory arguments.

Record the internal error raised when a promotion subcommand receives an
absolute source path inside the workspace.

Signed-off-by: Rudi Grinberg <[email protected]>
@rgrinberg
rgrinberg merged commit 88d635a into ocaml:main Aug 23, 2026
37 of 38 checks passed
rgrinberg added a commit that referenced this pull request Aug 23, 2026
Resolve promotion file and directory arguments through
`Common.source_path`.
Absolute paths inside the workspace now select the same pending
promotions as
their relative forms.

This fixes the internal error recorded in #16139.

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