Remote extension host (both in local devcontainer and codespaces) crashes after ~10s of opening a markdown file
Appears to work fine and then closes the editor and restarts the remote extension host (crashed?) all of the sudden. It'll continue to crash the remote extension hosts which triggers an error notification telling the user how many times it has crashed in the last 5 min.
Unclear why it's crashing and why it can't recover. There's no discernible error message that indicates why this would be happening. Requires thorough debugging.
Some investigations have shown that extension initialises correctly but ones a markdown file is opened some memory leak creeps up and causes the extension host to crash. Experiments with VS Code on Docker as well as Gitpod where the problem was not reproducible (for me). I filed a ticket to the GitHub support team to see if they could provide some help. I'ld suggest to wait for their response as it would not be straight forward to debug this problem.
@sourishkrout Do we have any insights as to whether the GH ticket had a reply? Otherwise we might want to take another peek at this and see if it's worth exploring. Or if we completely changed how we handle this.
@sourishkrout Do we have any insights as to whether the GH ticket had a reply? Otherwise we might want to take another peek at this and see if it's worth exploring. Or if we completely changed how we handle this.
This is fixed by moving from a WASM to GRPC (aka "runme kernel") interface.