Queue-command check: a quoted ssh remote command with a pipe is read as the queue command
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 83/100
調査の方向性
arc/scheduler.pyから始めてunwrap_queue_commandを読み、既存のパイプと||のチェックが;で区切られたリストの最後のコマンドをどう扱うかを追ってください。説明にある2つのSSHコマンドで問題を再現してください。パイプを含む引用符付きのリモートコマンドでは警告が発生し、パイプを含まない引用符付きのsqueueコマンドでは警告が発生しなければ完了です。
索引モデルが issue の本文から書いたものです。
説明
unwrap_queue_command (arc/scheduler.py, from #1093) reads a ; list whose last command is ssh <host> <remote command>. When the remote command is one quoted word that holds a pipe, for example ssh login1 "squeue -u $USER | grep x", the word is split and read as a queue command, so the list passes the check. The pipe inside the quotes is never seen, and the exit status is grep's, not squeue's. This was also missed before #1093.
Fix: when ssh carries a single quoted remote word, lex that word again with the same rules, and apply the pipe and || checks to it. Test: module load slurm; ssh login1 "squeue -u $USER | grep x" gets the warning, and ssh login1 'squeue -u $USER' does not.
Raised in review of #1093 (2026-11-28).
- 主要言語
- Python
- スター
- 55
- フォーク
- 26
- 平均マージ
- 7日 8時間
- マージ済み PR(30日)
- 12
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ReactionMechanismGenerator/ARC のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ReactionMechanismGenerator/ARC#1148 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ReactionMechanismGenerator/ARC#1144 ·
メンテナーはふだん 3 日以内に返信
-
Gaussian troubleshooting drops int=(Acc2E=14) when the fine grid is off対応中かも @alongd が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
ReactionMechanismGenerator/ARC#1141 ·
メンテナーはふだん 3 日以内に返信
-
Gaussian troubleshooting logs opt=cartesian but the input loses it対応中かも @alongd が 5 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
ReactionMechanismGenerator/ARC#1140 ·
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
ReactionMechanismGenerator/ARC#1139 ·
メンテナーはふだん 3 日以内に返信
ReactionMechanismGenerator/ARC の issue をすべて見る
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信