This is no longer happening afaict and it seems like the main followup is on T168036: rebuildTermSqlIndex.php causing beta-update-databases-eqiad to timeout and abort.
Feel free to reopen, but it looks like @Reedy 's deletion of a lot of wikidata items on beta closes this particular task.
Yeah, beta is fixed, the actual source still needs addressing, as otherwise when it gets a load of items again... It's just gonna break
But I filed tasks about periodic cleanups etc so should address it from the other angle too