Blocks the real change I656ee86671; tested with fake change Ie35e654d3c which adds a test that calls $this->db->getMasterPos() without doing anything else. Console output:
16:29:11 There was 1 error: 16:29:11 16:29:11 1) GetMasterPosTest::testGetMasterPos 16:29:11 Wikimedia\Rdbms\DBQueryError: Error 1227: Access denied; you need (at least one of) the SUPER, REPLICATION CLIENT privilege(s) for this operation (localhost:/workspace/db/quibble-mysql-ivdf35z3/socket) 16:29:11 Function: Wikimedia\Rdbms\DatabaseMysqlBase::getMasterPos 16:29:11 Query: SHOW MASTER STATUS
See also T144247, where a similar thing happened four years ago and ultimately seems to have solved itself.