This is related to T113916 but for the short-term for the Eqiad/Codfw switch-over.
We need to make sure that when the module_deps table doesn't accept writes, we fail gracefully. Both in terms of the immediate request being handled, as well as the overall integrity of client-side cache and module version numbers (no wrong pollution happening).
The immediate request fails gracefully, presumably with a stale or less-functional version of a stylesheet. But I'm not sure how this affects the larger model of version hashes and how these requests end up populating Varnish caches for those urls.