Skip to content

test(sandbox): overlapping directory deps - #16626

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:repro-sandbox-overlapping-dir-deps
Oct 16, 2026
Merged

Alizter merged 1 commit into
ocaml:mainfrom
Alizter:repro-sandbox-overlapping-dir-deps

Conversation

@Alizter

@Alizter Alizter commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

Minimal engine-level reproduction covering symlink, copy, and hardlink sandboxing, without package management.

Related: #16547

Compare directory-only and overlapping directory/file dependencies in
symlink, copy, and hardlink sandboxes, checking the generated input first.

Signed-off-by: Ali Caglayan <[email protected]>
@Alizter
Alizter marked this pull request as ready for review October 16, 2026 20:03
@Alizter
Alizter merged commit 2a2555f into ocaml:main Oct 16, 2026
36 of 39 checks passed
@Alizter
Alizter deleted the repro-sandbox-overlapping-dir-deps branch October 16, 2026 20:03
@Alizter Alizter added this to the 3.26.0 milestone Oct 17, 2026
Alizter added a commit that referenced this pull request Oct 17, 2026
Normalize Linux/macOS directory-hardlink diagnostics and check the build
exit status separately.

Fixes the [macOS CI
failure](https://github.com/ocaml/dune/actions/runs/38959469955/job/117174992824)
after #16626.
Alizter added a commit that referenced this pull request Oct 21, 2026
Allow `Io.copy_file` callers to choose exclusive creation or
overwriting. Reject existing destinations during copy and patch-back
sandbox population.

This implements [Rudi's request in
#16596](#16596 (comment))
to stop silent overwriting in copy mode before fixing the overlapping
directory dependencies behind #16547. It updates the reproduction from
#16626; resolving the overlap itself remains a separate change.
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.

1 participant