{"version":"2.1.265","anchor":"plugin-telemetry-events-now-do-an-async-marketplace-catalog","canonical_anchor":"plugin-telemetry-events-now-do-an-async-marketplace-catalog","heading":"Plugin telemetry now confirms marketplace listing asynchronously before logging","tier":"internal","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265\/e\/plugin-telemetry-events-now-do-an-async-marketplace-catalog","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.265","markdown":"### Plugin telemetry now confirms marketplace listing asynchronously before logging\n\nPlugin install\/uninstall\/update\/disable\/enable telemetry now looks up the marketplace catalog asynchronously before logging\n\n**What**\n\nTelemetry events for installing, uninstalling, updating, disabling, and enabling a plugin (`tengu_plugin_installed_cli`, `tengu_plugin_uninstalled_cli`, `tengu_plugin_updated_cli`, `tengu_plugin_disabled_cli`, `tengu_plugin_enabled_cli`) now call a new async helper, `hbe()`, that tries to confirm the plugin actually exists in the marketplace catalog before logging. If that lookup fails, the event falls back to logging the plugin as third-party and redacts its name. This replaces the old synchronous lookup, and the enable-failure handler now also receives directory context as an extra argument.\n\n**Why**\n\nConfirming a plugin against the real marketplace catalog before logging telemetry gives more accurate install\/usage data and avoids leaking or mislabeling names of plugins that aren't actually in the catalog.\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5"}