Motoko VSCode extension: compilation errors not shown via SSH remote

I’m having an issue with the Motoko extension not displaying compilation errors when opening a workspace via SSH on a remote server. The extension is partially working though, syntax highlighting is fine, but diagnostics (error/warning squiggles) are completely absent.

I tested locally and everything works fine including error reporting. Remotely, via VSCode with the Microsoft Remote SSH extension and VSCodium with the Open Remote - SSH extension by jeanp413, compilation errors just don’t show up, even though the extension seems to be running.

Anyone have ideas on what could cause this or how to fix it?