Skip to content

Add support for "foxglove.sdk.v1" WebSocket subprotocols - #772

Closed
paulsohn wants to merge 1 commit into
lichtblick-suite:developfrom
paulsohn:patch-1
Closed

paulsohn wants to merge 1 commit into
lichtblick-suite:developfrom
paulsohn:patch-1

Conversation

@paulsohn

@paulsohn paulsohn commented Nov 13, 2025 •

Copy link
Copy Markdown
Contributor

User-Facing Changes

Description

Talking about #547 , #604 and #750 , why is the solution for Foxglove bridge incompatibility always 'downgrade to 0.8.5'? foxglove.sdk.v1 is, at least for now, completely identical protocol to foxglove.websocket.v1 except for the name (which is not guaranteed for the long term though; this is their official stance), so supporting the new bridge 3.2.1 is just as easy as adding a string into the array. Even Flora did that.

AFAIR, one of the many reasons why ws-protocol is deprecated in the Foxglove side is that the old bridge depends on websocketpp, a C++ websocket implementation which has been, de facto stopped maintaining since about 5 years ago. If the team is really working on drop-in replacement of ws-protocol, I would expect that would involve implementing websocket from scratch as well.

Checklist

  • The web version was tested and it is running ok
  • The desktop version was tested and it is running ok
  • This change is covered by unit tests
  • Files constants.ts, types.ts and *.style.ts have been checked and relevant code snippets have been relocated

Signed-off-by: Taeseung Sohn <paulsohnjp@gmail.com>
@ctw-joao-luis

Copy link
Copy Markdown
Contributor

Hey @paulsohn, first of all thanks for the PR!
We know Foxglove SDK integration is something important so in the coming weeks we'll take a closer look at this PR and address the issue accordingly.

Cheers,
JL

@rodrigo-p-rodrigues rodrigo-p-rodrigues left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes are ok.
Make sure to merge the develop branch, and fix the branch name so that the CI doesn't fail. We've also updated the action rules so that SonarCloud skips if the change comes from a fork.

NOTE: They depend on the version of @foxglove/ws-protocol (0.8.0.). We've since updated its version in the develop branch as well, so with both, it works.

@paulsohn paulsohn closed this Dec 6, 2025
@paulsohn
paulsohn deleted the patch-1 branch December 6, 2025 00:35
ctw-joao-luis pushed a commit that referenced this pull request Dec 9, 2025
… ) (#819)

## User-Facing Changes

Add support for `foxglove.sdk.v1` WebSocket subprotocols.
As stated in [the current Foxglove developer's
stance](https://github.com/orgs/foxglove/discussions/1131), currently
this subprotocol is identical to `foxglove.websocket.v1`, so supporting
subprotocol is just adding the new subprotocol name alongside the older
one, and the end user need not to distinghish the Foxglove bridge 3.2.1
and 0.8.x.

Resolving #547 #604 #750 . Duplicate of #772 (closed and reopened due to
branch name restriction)

## Description

<!-- link relevant GitHub issues -->
<!-- add `docs` label if this PR requires documentation updates -->
<!-- add relevant metric tracking for experimental / new features -->

## Checklist

- [x] The web version was tested and it is running ok
- [ ] The desktop version was tested and it is running ok
- [ ] This change is covered by unit tests
- [ ] Files constants.ts, types.ts and *.style.ts have been checked and
relevant code snippets have been relocated

Signed-off-by: Taeseung Sohn <paulsohnjp@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants