Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R: implement recommendedWorkspaceRuntime() #6208

Open
Tracked by #6202
sharon-wang opened this issue Jan 31, 2025 · 0 comments
Open
Tracked by #6202

R: implement recommendedWorkspaceRuntime() #6208

sharon-wang opened this issue Jan 31, 2025 · 0 comments
Labels
area: runtimes Issues related to Language Runtimes area: workbench Issues related to Workbench category. enhancement New feature or request lang: r theme: runtime startup

Comments

@sharon-wang
Copy link
Member

No description provided.

jmcphers added a commit that referenced this issue Feb 7, 2025
This change improves the startup experience in the Positron Console and
also contains performance improvements that significantly decrease
startup time (especially in dev builds)

Before the change, the console would say "Starting..." / "Starting
up..." for several seconds before a console opened.


https://github.com/user-attachments/assets/64c998c9-c855-4b9c-a58e-70823353aaa2

After it, in most Positron sessions no noticeable time will be spent in
either state; instead, Positron will show you the interpreter it's
working on starting.


https://github.com/user-attachments/assets/e68f12e1-4df0-41b4-bb66-15ca24c76e50

Still more we could do to make this better, such as improving the
styling and coordinating better with console startups, but want to
minimize overlap with multi-console work.

Addresses #3566.

### Release Notes


#### New Features

- Speed up console startup and show which interpreter will start (#3566)

#### Bug Fixes

- N/A


### QA Notes

You will see the new experience when Positron knows what runtime to
start, but mostly the old one when Positron has to discover all
interpreters (though even discovery will be a little faster now since it
starts earlier). Specifically, you should see it:

- when a runtime is affiliated with the workspace
- when R or Python recommend a runtime for the workspace (currently NYI
but will be implemented in those language packs in e.g.
#6208.
- when reloading a window

Test tags: `@:console`
@sharon-wang sharon-wang added this to the 2025.03 Pre-Release milestone Feb 10, 2025
@sharon-wang sharon-wang added enhancement New feature or request area: workbench Issues related to Workbench category. lang: r area: runtimes Issues related to Language Runtimes theme: runtime startup labels Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: runtimes Issues related to Language Runtimes area: workbench Issues related to Workbench category. enhancement New feature or request lang: r theme: runtime startup
Projects
None yet
Development

No branches or pull requests

1 participant