Skip to content

Webviews don't work in stock llcodeserver (openvscode-server) #24

Description

@qwertychouskie

Upstream openvscode-server uses Service Workers, which are not available in non-secure contexts.

When I first ran into the issue, I had Claude monkey-patch it in-place on the device to get the webviews generally functional (bugs may still exist, but I was able to use the project creator to create a new project, so the core functionality seems to be generally solid). Here's a diff of the changes Claude made that made the webviews work: 0001-modified-version.patch

(I'm not sure why product.json has a bunch of formatting changes; I suspect the only actual change here is the first changed line that removes webviewContentExternalBaseUrlTemplate)

That patch is patched against the state of /usr/local/bin/llcodeserver from https://github.com/LimelightVision/systemcore-os-public/releases/tag/limelightosr-beta-10-102.

The amount of changes being made here isn't that large, so it's probably reasonable to clean up and maintain the patch, vs majorly changing the WPILib extension to not require webviews.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions