Smoke test isn't isolated from the real settings and the running app
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 88/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- electron, node.js, typescript
調査の方向性
scripts/smoke.mjs と、それが実装している npm run smoke スクリプトから始めます。設定とインスタンスロックを分離するように、一時的な --user-data-dir を Electron に渡し、SMOKE 行が出力されない場合に診断を追加します。完了とは、スモーク実行が実際の設定を読み込ま也不再、開いている開発インスタンスと競合しなくなることです。
索引モデルが issue の本文から書いたものです。
説明
npm run smoke gives Electron a temp VMM_DATA_ROOT, but the app still uses its normal userData folder:
- It reads the real
settings.json, so a QEMU path set in Settings on the dev machine is what the smoke test sees. Harmless today since nothing is written, but the run isn't what CI sees. - Since #87 the app takes a single instance lock. If the app (same name, so a dev build) is already open, the smoke run is the second instance, quits with code 0 and prints nothing. The script then fails with an empty line, which doesn't say why.
Passing --user-data-dir=<temp folder> to Electron from scripts/smoke.mjs should fix both: separate settings and a separate lock. The script could also say "no SMOKE line, is the app already running?" when the output is empty.
- 主要言語
- TypeScript
- スター
- 3
- フォーク
- 0
- 平均マージ
- 2分
- マージ済み PR(30日)
- 41
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
A21-devs/Virtual-Machine-Manager のほかの issue
-
ui
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
A21-devs/Virtual-Machine-Manager#92 ·
メンテナーはふだん 1 日以内に返信
-
accessibility ui
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
A21-devs/Virtual-Machine-Manager#83 ·
メンテナーはふだん 1 日以内に返信
-
ui
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
A21-devs/Virtual-Machine-Manager#82 ·
メンテナーはふだん 1 日以内に返信
-
backend enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
A21-devs/Virtual-Machine-Manager#80 ·
メンテナーはふだん 1 日以内に返信
-
backend bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
A21-devs/Virtual-Machine-Manager#79 ·
メンテナーはふだん 1 日以内に返信
A21-devs/Virtual-Machine-Manager の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MetaMask/eth-phishing-detect#317371 ·
メンテナーはふだん 1 日以内に返信
-
android:player ios:player
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 92/100
erkamyaman/rust-anything#963 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ZdruzenieSTROM/webstrom-frontend#934 ·
メンテナーはふだん 1 日以内に返信
-
bug(worker): detector run is marked failed and never retried when span download fails対応中かも @jagrutgarg が今日担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
traceroot-ai/traceroot#3434 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信