Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: REditorSupport/vscode-R
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: REditorSupport/vscode-R
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: improve-attach
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 9 commits
  • 19 files changed
  • 2 contributors

Commits on May 5, 2026

  1. feat(ipc): replace WebSocket/TCP transport with Unix socket / named pipe

    Replace the WebSocket-over-TCP IPC between vscode and R sessions with
    a Unix domain socket (Linux/Mac) or Windows named pipe transport.
    
    Changes:
    - session.ts: create net.Server pipe instead of WebSocket.Server;
      use NDJSON framing (\n-delimited JSON) for message boundaries;
      remove token-based authentication (filesystem permissions suffice)
    - rTerminal.ts: pass SESS_PIPE env var instead of SESS_PORT + SESS_TOKEN
    - sess/R/server.R: connect via processx::conn_connect_unix_socket();
      drive message dispatch through a later::later() polling loop
    - sess/R/dispatch.R: send via processx::conn_write() + NDJSON framing
    - sess/DESCRIPTION: swap websocket dep for processx (>= 3.5.0);
      add testthat to Suggests
    - sess/tests/testthat/test-ipc.R: unit tests for socket round-trip,
      dispatch_message routing, and ipc_write guard
    eitsupi committed May 5, 2026
    Configuration menu
    Copy the full SHA
    ce00189 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    878ee68 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b672439 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a50867e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b62c979 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    70692c2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    fdc193b View commit details
    Browse the repository at this point in the history

Commits on May 9, 2026

  1. Improve attach

    renkun-ken committed May 9, 2026
    Configuration menu
    Copy the full SHA
    9c1d75b View commit details
    Browse the repository at this point in the history
  2. Update install_sess

    renkun-ken committed May 9, 2026
    Configuration menu
    Copy the full SHA
    d1ddf51 View commit details
    Browse the repository at this point in the history
Loading