The Hook
According to RFC 3986 §3.1, URI schemes are case-insensitive ( HTTPS://gitlab.example.com is legally identical to https://gitlab.example.com )—yet a single case-sensitive string replacement when upgrading http to ws in an IDE plugin's GraphQL client will silently break real-time AI chat streaming for every engineer behind a corporate SSO configuration that emits uppercase schemes.
The Deep Dive
Real-time AI developer experiences inside the IDE—such as streaming responses from GitLab Duo Chat in JetBrains IDEs or surfacing inline security findings via the GitLab Language Server ( gitlab-lsp )—rely on persistent bidirectional transports. In the GitLab JetBrains Plugin ( gitlab-jetbrains-plugin ) , GraphQL subscriptions stream AI completions and chat events over WebSockets initialized by ApolloClientFactory.kt ( createSubscriptionUrl ).…