pub fn migrate_from_sqlite_once(
shared_home: &Path,
registry: &Registry,
) -> Result<MigrateStats, RegistryError>Expand description
Scan every per-version data/db/objects.db and populate the
shared registry. Skipped if the marker file exists. Never
overwrites an existing registry record (idempotency + respect
for newer-written data). The SQLite files are opened read-only
— never modified.
On dedup conflicts (same instance_id in multiple versions), the
row with the latest started_at wins.