Skip to content

test(ocaml): demonstrate private aliases missing sandbox dependencies - #16937

Merged
anmonteiro merged 2 commits into
ocaml:mainfrom
anmonteiro:test-ocaml-private-alias-sandbox
Nov 10, 2026
Merged

anmonteiro merged 2 commits into
ocaml:mainfrom
anmonteiro:test-ocaml-private-alias-sandbox

Conversation

@anmonteiro

Copy link
Copy Markdown
Collaborator

Demonstrate that private wrapper aliases compile without sandboxing but fail in a fresh copy sandbox because the private CMI is unavailable. Found while checking the Melange counterparts of #16629.

01a12d8e-c091-7010-b0cd-3fdc40400e80

@anmonteiro
anmonteiro merged commit f0f6a3d into ocaml:main Nov 10, 2026
36 of 37 checks passed
@anmonteiro
anmonteiro deleted the test-ocaml-private-alias-sandbox branch November 10, 2026 13:55
anmonteiro added a commit that referenced this pull request Nov 10, 2026
Track private CMIs as compilation dependencies so wrapper aliases work in sandboxes and private interface changes rebuild consumers.

Uses the regression test from #16937. Fixes #16071.

01a12d8e-c091-7010-b0cd-3fdc40400e80

Signed-off-by: Antonio Nuno Monteiro <[email protected]>
@Alizter Alizter added this to the 3.26.0 milestone Nov 11, 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