{"version":"2.1.242","anchor":"plugin-sync-records-each-plugin-s-id-in-a-sidecar-file","canonical_anchor":"plugin-sync-records-each-plugin-s-id-in-a-sidecar-file","heading":"Plugin sync records each plugin's id in a sidecar file","tier":"internal","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/plugin-sync-records-each-plugin-s-id-in-a-sidecar-file","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### Plugin sync records each plugin's id in a sidecar file\n\nPlugin sync writes a small sidecar file recording each plugin's id.\n\n**What**\n\nSyncing plugins writes a small file next to the synced directory recording the plugin's id, skipping the write when it already matches. If something other than a file sits at that path, a directory there is moved to trash first.\n\n**Details**\n\n- New telemetry for an invalid id, a failed write and a failed trash move.\n- The synced-plugin record now also stores the plugin id, the installed version and the requested version.\n- Runs only after the existing guard verification passes.\n\n**Evidence**\n\n`plugins_sync_sidecar_write_failed`\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5"}