Page MenuHomePhabricator

Proposal: drop avro dependency from mediawiki
Closed, ResolvedPublic

Description

MediaWiki core currently has a compose dependency on "wikimedia/avro". It's used in AvroFormatter for monolog, that AFAIK was used for analytics events logging for action API requests and for CirrusSearch requests. Both features has been successfully migrated to eventgate. Additionally, we have standardized on using JSON instead of Avro.

I propose to drop Avro monolog features and remove the dependency. It's only suggested and required as a dev dependency for testing. It is very highly unlikely anybody else was using these, and I'm not sure these will even require deprecation.

Event Timeline

Change 674917 had a related patch set uploaded (by Jforrester; author: Jforrester):
[mediawiki/core@master] Drop Avro format option for monolog without deprecation

https://gerrit.wikimedia.org/r/674917

Change 674918 had a related patch set uploaded (by Jforrester; author: Jforrester):
[mediawiki/vendor@master] Drop wikimedia/avro, unused

https://gerrit.wikimedia.org/r/674918

Change 674917 merged by jenkins-bot:
[mediawiki/core@master] Drop Avro format option for monolog without deprecation

https://gerrit.wikimedia.org/r/674917

Change 674918 merged by jenkins-bot:
[mediawiki/vendor@master] Drop wikimedia/avro, unused

https://gerrit.wikimedia.org/r/674918