This has occurred on-and-off fairly consistently (i.e. almost always the beta-mediawiki-config-update-eqiad job starting off the deadlock situation) — seeing that beta-code-update-eqiad (and thus beta-scap-sync-world) runs every 10 minutes, can we try not triggering a beta-scap-sync-world on beta-mediawiki-config-update-eqiad completion and instead wait for the timer? Having both running/queuing at least appears to contribute to the deadlock.
(you can always manually trigger beta-scap-sync-world if needed..)