Code silently sent to R terminal when opening a Quarto file
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux, r, typescript, vscode
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
The report concerns the VS Code Quarto extension sending R chunk code to an attached R terminal when a .qmd file is opened. Start by reproducing it with an empty profile and a .qmd containing one library() line, then look for the code path that sends chunk text to the terminal on file open rather than on explicit run. Done means no code reaches the terminal without a user action, and the R terminal history and sessionInfo() stay clean.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Bug description
Hello,
I’ve been experiencing some high CPU and RAM usage when opening .qmd files lately. Some R processes are working hard in the background, and they keep running even if I quit VS Code. I need to manually kill them for my system to return to normal.
While investigating the issue, I realised that some code seems to be sent to my R terminal even though I never run any. For example, if I open a file with just an R chunk contaninig library(tidyverse) and then I open an R terminal, it will display after a few seconds the tidyverse loading message ("Attaching core tidyverse packages…"). If I then run sessionInfo() in that same terminal, I see that the tidyverse package is loaded.
I also find variables listed when I run ls() some time after opening a Quarto file with more code.
The code that appears to be sent to the terminal is not stored in its history (when I use the arrow up key, I don’t see anything).
I managed to reproduce the bug in an empty VS Code profile containing just R and Quarto extensions.
Steps to reproduce
- Open VS Code
- Open an R Terminal and attach it to VS Code (either radian or normal R)
- Open a .qmd file containing at least one line of R code
Actual behavior
Runs some code (at least the first line, but I think it’s more with larger files).
Expected behavior
It should not do anything.
Your environment
- VS Codium (v. 1.135.06055)
- Linux Fedora 44
- Ngôn ngữ chính
- TypeScript
- Star
- 652
- Fork
- 64
- Merge trung bình
- 8 giờ 45 phút
- Pull request đã merge (30 ngày)
- 36
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quarto-dev/quarto
-
VS Code extension: `quarto preview` fails when the file path contains parentheses (path not shell-quoted)Có thể đã có người làm @Bondrewd-K đã nhận 2 ngày trước. Đang mởbug vscode
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
quarto-dev/quarto#1194 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
quarto-dev/quarto#1139 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
quarto-dev/quarto#1138 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
quarto-dev/quarto#1137 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add dependabot?Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
quarto-dev/quarto#1135 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của quarto-dev/quarto
Issue tương tự
-
Endpoint links in the tag operations list are below the 24px target sizeCó thể đã có người làm @AdzerKI đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
ai-driven-qa bug Minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
linagora/twake-tasks#435 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug domain: database priority: p1 Stellar Wave
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
StellarState/SS-backend#632 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
A2A audit timestamps end in +00:00Z (invalid ISO 8601)Có thể đã có người làm @O1sumitkumar đã nhận hôm nay. Đang mởbug good first issue help wanted python
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
`cf complete zsh >> .zshrc` fails on vanilla zshCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
cloudflare/cf#340 ·
Maintainer thường phản hồi trong vòng 1 ngày