Currently failing on master, e.g.
https://integration.wikimedia.org/ci/job/quibble-vendor-mysql-php74-noselenium-docker/124625/console
ThreadItemStoreTest::testInsertThreadItems is a large integration test for the DiscussionTools permalinks feature (sorry about that), covering everything from creating page revisions to saving the metadata generated from these revisions, and it fails because some of the expected metadata is missing.