Validate local collection symlink targets - #3116
Conversation
|
Thank you for looking into this, and sorry for the slow reply. I have decided to close this one without merging. The gap you found is real. I reproduced it locally: with a lockfile whose Two reasons I would still rather not take it. First, nothing is going wrong in practice. A stale symlink only survives until the next Second, the new check also rejects a symlink whose target has simply gone away, for example when the directory a local source points at has been deleted or moved. One more thing worth writing down in case we come back to this area. Thanks again for the careful work, and sorry that this one does not land. |
Summary: require installed local collection symlinks to resolve to the configured source, rather than accepting any existing stale target.
Verification: focused baseline/fixed reproduction, combined RBS 4.2.0 consumer models, and RuboCop (738 files, zero offenses). No tests are added in this PR.
Compatibility: no public API removal or dependency/version change.