https://sonarly.com/issue/3085?type=bug
The WorkspaceEventEmitterResolver (containing addQueryToEventStream and removeQueryFromEventStream mutations) was decorated with @MetadataResolver() but its module was never imported into MetadataGraphQLApiModule, making these mutations invisible to both the metadata and core GraphQL schemas.
Fix: 1. Add WorkspaceEventEmitterModule to the imports of MetadataGraphQLApiModule. This makes the resolver discoverable by the metadata schema scan, and since it is decorated with @MetadataResolver() (scope 'metadata'), it will be included in the /metadata GraphQL schema where the frontend expects it.
2. In the frontend SSEQuerySubscribeEffect, replace the throw in the default error case with console.error and sync activeQueryListeners to requiredQueryListeners. This prevents an unhandled exception and infinite retry loop if an unexpected GraphQL error occurs on these mutations.