Checklist
What happened?
In crates/rattler/src/install/installer/mod.rs, the PrefixRecord.link.link_type field recorded to
conda-meta is always Some(LinkType::HardLink), regardless of:
- Whether the target filesystem actually supports hard links (e.g. NFS, cross-device installations)
- The caller-supplied LinkOptions (which exposes allow_hard_links, allow_symbolic_links,
allow_ref_links)
A TODO comment acknowledged this: "compute the right value here based on the options and
can_hard_link".
Consequence: on network filesystems or cross-device setups, packages are installed via file copies
(correctly), but the conda-meta record falsely says HardLink. Tooling that reads conda-meta to
reason about installation state gets incorrect data.
Additional Context
No response
Checklist
What happened?
In crates/rattler/src/install/installer/mod.rs, the PrefixRecord.link.link_type field recorded to
conda-meta is always Some(LinkType::HardLink), regardless of:
allow_ref_links)
A TODO comment acknowledged this: "compute the right value here based on the options and
can_hard_link".
Consequence: on network filesystems or cross-device setups, packages are installed via file copies
(correctly), but the conda-meta record falsely says HardLink. Tooling that reads conda-meta to
reason about installation state gets incorrect data.
Additional Context
No response