Skip to content

[3.25] Work around overlapping package dependencies - #16665

Closed
Alizter wants to merge 2 commits into
ocaml:3.25.0-rcfrom
Alizter:push-llvrmnynkzws
Closed

Alizter wants to merge 2 commits into
ocaml:3.25.0-rcfrom
Alizter:push-llvrmnynkzws

Conversation

@Alizter

@Alizter Alizter commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Use per-file package dependencies to work around the sandbox overlap bug exposed by #16507, without engine changes.

3.25-only workaround for #16547.

punchagan and others added 2 commits October 21, 2026 15:44
This is a cram test to reproduce a bug where building a rule that runs a
binary fails with a symlink error, when the rule also has a `(deps ...)`
entry for the package that provides that binary.

Signed-off-by: Puneeth Chaganti <[email protected]>
Use per-file package dependencies to work around the sandbox overlap bug
exposed by ocaml#16507, without engine changes.

This is a 3.25-only workaround for ocaml#16547.

Signed-off-by: Ali Caglayan <[email protected]>
@Alizter Alizter changed the title [3.25] fix(package-deps): work around overlapping sandbox inputs [3.25] Work around overlapping package dependencies Oct 21, 2026
@Alizter
Alizter marked this pull request as ready for review October 21, 2026 13:46
@shonfeder

Copy link
Copy Markdown
Member

I have not found mention of the "the sandbox overlap bug" in our issue tracker or other public discussion. Could you link that in, or create the issue describing the problem if it doesn't exist yet? This seems important and well worth tracking!

As noted in #16664 (comment) , Rudi has identified a significant pref regression that would result from this workaround, with a significant enough down-side to make it unsuitable for merging into the trunk, even as a temporary workaround.

IMO, the correct perspective on releases is that they are stabilizations of the best quality and optimal functionality of the software in question at the time the release is cut. Improvements added to releases branches alone but not first (or simultaneously) to the trunk deviate from this property of being a stabilization, since they make the release divergent feature branches, and anything that would make the release worse than the trunk it is meant to stabilize are simply out of the question. Based on this perspective, since we have not deemed this workaround suitable to be merged into the trunk, it cannot be suitable to merge into the release branch and publicized out to downstream users.

I'm happy to revisit the rationale here or consider other perspectives on this point. But in the meantime, wearing my release manager hat, I will reject this PR into the release branch.

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.

3 participants