Code silently sent to R terminal when opening a Quarto file
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- linux, r, typescript, vscode
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- TypeScript
- スター
- 652
- フォーク
- 64
- 平均マージ
- 8時間 45分
- マージ済み PR(30日)
- 36
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
quarto-dev/quarto のほかの issue
-
VS Code extension: `quarto preview` fails when the file path contains parentheses (path not shell-quoted)対応中かも @Bondrewd-K が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
quarto-dev/quarto#1194 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
quarto-dev/quarto#1139 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
quarto-dev/quarto#1138 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
quarto-dev/quarto#1137 ·
メンテナーはふだん 1 日以内に返信
-
Add dependabot?再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
quarto-dev/quarto#1135 ·
メンテナーはふだん 1 日以内に返信
quarto-dev/quarto の issue をすべて見る
似ている issue
-
enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
OWASP/cve-lite-cli#1335 ·
メンテナーはふだん 1 日以内に返信
-
Windows: main-screen mouse tracking requires WT_SESSION, so it never enables inside herdr panesオープン
難易度 1/5 1時間未満 初心者へのやさしさ 66/100
code-yeongyu/senpi#3353 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
Channels status: needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
mastra-ai/mastra#27093 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement needs-triage ui
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 1 日以内に返信