Skip to content

test(sandbox): cover nested overlapping dependencies - #16808

Merged
Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-xnvqzwqrompy
Oct 26, 2026
Merged

Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-xnvqzwqrompy

Conversation

@Alizter

@Alizter Alizter commented Oct 26, 2026

Copy link
Copy Markdown
Collaborator

Cover nested directory/file dependencies, a similarly prefixed sibling, and an empty directory across sandbox modes.

Record the current copy-mode File exists failure before the fix in #16806.

Record the copy-mode failure with dependencies on a directory, one of its
subdirectories, and a file inside both. Include a similarly named sibling
that sorts between the directory and its descendants, and check that empty
directories are preserved.

Symlink and hardlink modes expose the expected inputs, but copy mode
reports File exists before the action starts.

Signed-off-by: Ali Caglayan <[email protected]>
@Alizter
Alizter merged commit 72f6fef into ocaml:main Oct 26, 2026
36 of 38 checks passed
@Alizter
Alizter deleted the push-xnvqzwqrompy branch October 26, 2026 21:05
@Alizter Alizter added this to the 3.26.0 milestone Oct 27, 2026
Alizter added a commit that referenced this pull request Oct 28, 2026
Populate overlapping directory/file dependencies only once, preserving
all dependency facts. This follows the shared traversal in #16675 and
fixes copy-mode package dependency failures.

Uses the regression test merged in #16808.

Fixes #16547.
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