posit-dev / posit-dev/positron

Shiny apps do not communicate with console

Open
#3,988 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement lang: r support
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

Positron Version:

Positron Version: 2024.07.0 (Universal) build 21
Code - OSS Version: 1.90.0
Commit: 82b335e27545e804b7fd806db00477a6eb49951d
Date: 2024-07-09T04:32:26.804Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Darwin arm64 23.4.0

Steps to reproduce the issue:

  1. Run any shiny app that communicates with the console
  2. notice that nothing is being executed
  3. Cancel the shiny app
  4. notice that the console is still interrupting interrupt again
  5. notice everything that was printed was finally printed to the console

Screen Recording 2024-07-11 at 21 18 37

What did you expect to happen?

console messages show as they appear

Were there any error messages in the output or Developer Tools console?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a Shiny app that communicates with the console, following the listed interruption steps. Trace the console communication entry point and compare when messages are emitted with when they become visible; done means messages appear as they arrive and cancelling the app requires only the expected interruption.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.