Repository navigation
Conversation
Alternative to the directory-symlink overlap fix. Use cached produced-target metadata to create real sandbox directories and link file leaves, pruning overlapping inputs and computing link prefixes once per directory. Preserve previously admitted dynamic inputs and support copying regular-file symlinks. Signed-off-by: Ali Caglayan <[email protected]>
Signed-off-by: Ali Caglayan <[email protected]>
|
This also seems off:
I suggest that we take the following steps:
|
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.
Alternative to #16587: create real sandbox directories and symlink individual files. Fixes #16547 (reproducer: #16546).