"Files above 50MB cannot be synchronized" on small local files in multi-root workspace (not WSL)

Hey, thanks for the detailed report and for the link to the WSL thread. This is the same bug as `anysphere.remote-wsl` deterministically rejects `openTextDocument` for certain WSL files with "Files above 50MB cannot be synchronized with extensions" — files are <2 KB, plain VS Code with `ms-vscode-remote.remote-wsl` on the same workspace works fine. It’s the same code path in mainThreadDocuments.ts where shouldSynchronizeModel() drops the model because bufferTextLength is wrong. Your case is super helpful because it shows the issue isn’t in anysphere.remote-wsl, it’s in the shared file resolution layer for multi-root.

I’ve already reported this internally in the WSL thread, and I’ll update the scope based on your case too, macOS local without remote. I can’t share an ETA for a fix yet.

For a workaround, pre-opening via Cmd+P is the best option right now. If you find files that still fail to open reliably even after pre-open, send them here, it’ll help us reproduce on our side.