Make sure linked and linked_conn can't get out of sync
In #21576 (moved), we encountered a situation where linked is true, but linked_conn is NULL.
This shouldn't happen, so we need to diagnose the error, and fix it.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information