For a long time the newcomer Homepage has had built-in long-lived analytics legacy instrumentation in both server and client. This instrumentation was used in several Homepage experiments, every time a new module was developed and AB tested. With the latest shifts both on the product and data collection areas to use TestKitchen and move Homepage modules to the PersonalDashboard extension, this instrumentation is more and more useless because we don't use its collected data, costly to maintain and in conflict with best data collection practices in terms of privacy risks. The Growth team consensus is to get rid of it. Homepage modules are well established and monitored through Growth Suggested Edits KPI dashboard. If we need to look into specific data from the homepage or its modules the new TK tooling allows us to build it quickly and adopting better practices.
Details
In the server through the eventlogging_HomepageVisit and in the client through eventlogging_HomepageModule. An intervention was made in T417876: Migrate existing instruments that add experiment information to use TestKitchen variant to move away from the legacy client to the new TestKitchen's configured clients, however the migration was incomplete in the sense that it did not create a TK named instrument but kept using custom configuration as follows:
... streamName = 'mediawiki.product_metrics.homepage_module_interaction', schemaId = '/analytics/product_metrics/web/base/2.0.0',
However the old stream and associated schema were not deleted. This task is to remove and cleanup whatever dependencies derive from the logger and logging in ext.growthExperiments.Homepage.Logging and ext.growthExperiments.Homepage.Logger. And remove the logging calls in any consumers.
Acceptance criteria
- Homepage module interactions are no longer instrumented in the client
- Related infrastructure is cleaned up
- Stream(s) to decomission: eventlogging_HomepageModule, mediawiki.product_metrics.homepage_module_interaction
- Schema(s) to delete: TBD
- Remove following GrowthExperiments RL modules/scripts
- modules/ext.growthExperiments.Homepage.Logging/index.js
- modules/ext.growthExperiments.Homepage.Logging/useInstrument.js (This one could be kept for future usages, moved to utils (?))
- modules/ext.growthExperiments.Homepage.Logger/index.js
- Remove logger calls in any homepage module
- Review and clean the filters in Growth's validation dashboard.

